@testsmith/api-spector-agent@0.5.0
API Spector private runner: monitor internal/local APIs the cloud cannot reach, with no inbound connections.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThis is not concrete install-time malware, but it is a high-impact dual-use remote runner whose configured control server can direct internal API activity and receive captured data. Downgrade to warn rather than block because the source contains no lifecycle hook, stealth, or hard-coded attacker endpoint.
Decision evidence
public snapshot- It runs monitor-provided JavaScript in a Node VM context.
- It polls a user-configured server for monitor definitions and executes each returned job.
- It returns request headers and bodies, plus response data, to that server; the agent passes no PII masking patterns.
- package.json has no preinstall, install, postinstall, or other lifecycle script.
- The network destination is supplied by APP_URL at runtime, not hard-coded.
- The VM context exposes a limited test-oriented API and has a five-second timeout; no child-process or native payload execution was found.
Source & flagged code
6 flaggedSource contains an obfuscated payload loader that reconstructs and executes hidden code.
dist/index.cjsView on unpkg · L247A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/index.cjsView on unpkgFindings
Affected versions and remediation
This report applies to @testsmith/api-spector-agent@0.5.0.
See all versions of @testsmith/api-spector-agent for other recorded verdicts.
- Review the evidence and your use of @testsmith/api-spector-agent@0.5.0 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.