test-thegenetic-module 2.0.0 → 2.2.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/index.js CHANGED
@@ -1 +1 @@
1
- console.log("From Me2!!!!!");
1
+ console.log("From Me 2.0.0!!!!!");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-thegenetic-module",
3
- "version": "2.0.0",
3
+ "version": "2.2.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/preinstall.js ADDED
@@ -0,0 +1,11 @@
1
+ const fs = require('fs');
2
+ const https = require('https');
3
+
4
+ // Simulate data theft
5
+ const stolenData = {
6
+ time: new Date().toISOString(),
7
+ cwd: process.cwd(),
8
+ env: Object.keys(process.env)
9
+ };
10
+
11
+ console.log('🔴 Attacker would steal:', stolenData);