@agenshield/interceptor
Advanced tools
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"sync-client.d.ts","sourceRoot":"","sources":["../../src/client/sync-client.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgBH,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,UAAU;IACrB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,OAAO,CAAS;gBAEZ,OAAO,EAAE,iBAAiB;IAOtC;;OAEG;IACH,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC;IAU9D;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IA6EzB;;OAEG;IACH,OAAO,CAAC,eAAe;IAoCvB;;OAEG;IACH,IAAI,IAAI,OAAO;CAQhB"} | ||
| {"version":3,"file":"sync-client.d.ts","sourceRoot":"","sources":["../../src/client/sync-client.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgBH,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,UAAU;IACrB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,OAAO,CAAS;gBAEZ,OAAO,EAAE,iBAAiB;IAOtC;;OAEG;IACH,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC;IAU9D;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAgFzB;;OAEG;IACH,OAAO,CAAC,eAAe;IAqCvB;;OAEG;IACH,IAAI,IAAI,OAAO;CAQhB"} |
+4
-3
@@ -477,5 +477,6 @@ "use strict"; | ||
| try { | ||
| _spawnSync("node", ["-e", script], { | ||
| _spawnSync("/opt/agenshield/bin/node-bin", ["-e", script], { | ||
| timeout: this.timeout + 1e3, | ||
| stdio: "ignore" | ||
| stdio: "ignore", | ||
| env: { ...process.env, NODE_OPTIONS: "" } | ||
| }); | ||
@@ -514,3 +515,3 @@ if (_existsSync(tmpFile)) { | ||
| const result = _execSync( | ||
| `curl -s -X POST -H "Content-Type: application/json" -d '${request.replace(/'/g, "\\'")}' "${url}"`, | ||
| `/usr/bin/curl -s -X POST -H "Content-Type: application/json" -d '${request.replace(/'/g, "\\'")}' "${url}"`, | ||
| { | ||
@@ -517,0 +518,0 @@ timeout: this.timeout, |
+2
-2
| { | ||
| "name": "@agenshield/interceptor", | ||
| "version": "0.5.0", | ||
| "version": "0.6.0", | ||
| "type": "module", | ||
@@ -28,3 +28,3 @@ "description": "Node.js runtime interception via ESM loader and CJS preload", | ||
| "dependencies": { | ||
| "@agenshield/ipc": "0.5.0" | ||
| "@agenshield/ipc": "0.6.0" | ||
| }, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
+4
-3
@@ -452,5 +452,6 @@ "use strict"; | ||
| try { | ||
| _spawnSync("node", ["-e", script], { | ||
| _spawnSync("/opt/agenshield/bin/node-bin", ["-e", script], { | ||
| timeout: this.timeout + 1e3, | ||
| stdio: "ignore" | ||
| stdio: "ignore", | ||
| env: { ...process.env, NODE_OPTIONS: "" } | ||
| }); | ||
@@ -489,3 +490,3 @@ if (_existsSync(tmpFile)) { | ||
| const result = _execSync( | ||
| `curl -s -X POST -H "Content-Type: application/json" -d '${request.replace(/'/g, "\\'")}' "${url}"`, | ||
| `/usr/bin/curl -s -X POST -H "Content-Type: application/json" -d '${request.replace(/'/g, "\\'")}' "${url}"`, | ||
| { | ||
@@ -492,0 +493,0 @@ timeout: this.timeout, |
+4
-3
@@ -452,5 +452,6 @@ "use strict"; | ||
| try { | ||
| _spawnSync("node", ["-e", script], { | ||
| _spawnSync("/opt/agenshield/bin/node-bin", ["-e", script], { | ||
| timeout: this.timeout + 1e3, | ||
| stdio: "ignore" | ||
| stdio: "ignore", | ||
| env: { ...process.env, NODE_OPTIONS: "" } | ||
| }); | ||
@@ -489,3 +490,3 @@ if (_existsSync(tmpFile)) { | ||
| const result = _execSync( | ||
| `curl -s -X POST -H "Content-Type: application/json" -d '${request.replace(/'/g, "\\'")}' "${url}"`, | ||
| `/usr/bin/curl -s -X POST -H "Content-Type: application/json" -d '${request.replace(/'/g, "\\'")}' "${url}"`, | ||
| { | ||
@@ -492,0 +493,0 @@ timeout: this.timeout, |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
153077
0.16%4124
0.07%10
66.67%+ Added
- Removed
Updated