Skip to content

arshadkazmi42/npmdc-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npmdc-poc

Template repository which contains dependency confusion poc for npm package

Usage

  1. Clone the repository
  2. Update package.json file with the vulnerable package details
  3. Update pre.sh without your RCE command
  4. Publish the package
  5. (Optional) backend.php (if you want to setup a php api which will email about the trigger)

Disclaimer

This is only for educational purpose. User will be responsible for any usage of this.