@ikarem/telemetry 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.
Files changed (2) hide show
  1. package/index.js +15 -0
  2. package/package.json +14 -0
package/index.js ADDED
@@ -0,0 +1,15 @@
1
+ // index.js
2
+ // Safe research-only postinstall hook. Does NOT exfiltrate data.
3
+ // It only prints a message to stdout so it appears in CI logs.
4
+
5
+ const crypto = require("crypto");
6
+
7
+ const installId = crypto.randomBytes(8).toString("hex");
8
+
9
+ console.log("==============================================");
10
+ console.log("[Research] Dependency resolution test package");
11
+ console.log("[Research] Package: @ikarem-test/telemetry");
12
+ console.log(`[Research] Install ID: ${installId}`);
13
+ console.log("[Research] If you see this in CI logs, a public scoped package was installed.");
14
+ console.log("==============================================");
15
+
package/package.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "@ikarem/telemetry",
3
+ "version": "99.99.99",
4
+ "description": "Research-only dependency confusion canary package",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "postinstall": "node index.js"
8
+ },
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "license": "MIT"
13
+ }
14
+