Skip to content

SRM-Test-DEV/test-3t

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Vulnerable Node.js Repository

This is a sample Node.js repository created for testing purposes. It includes dependencies with known security vulnerabilities and some code that may trigger CodeQL alerts.

Dependencies with Known Vulnerabilities

  • express: 4.16.0 (has known CVEs)
  • lodash: 4.17.4 (has CVE-2019-10744)
  • minimist: 1.2.0 (has CVE-2020-7598)

Code Vulnerabilities

  • Command injection in /exec route
  • Code injection via eval in /eval route

Usage

  1. Install dependencies: npm install
  2. Start the server: npm start
  3. Visit http://localhost:3000/exec?cmd=ls (dangerous!)
  4. Visit http://localhost:3000/eval?code=1+1

Warning: This code is intentionally vulnerable. Do not use in production.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors