@testsmith/api-spector-agent@0.6.2
API Spector private runner: monitor internal/local APIs the cloud cannot reach, with no inbound connections.
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThe published entry is a CLI with no install hook, and network use is gated on an operator-provided APP_URL and token. Bundled engine helpers that could download Electron or run request scripts are not an independent attack chain in this entrypoint.
Decision evidence
public snapshot- package.json publishes a CLI bin and main of dist/index.cjs and declares no install lifecycle scripts or dependencies.
- The process exits unless the operator sets APP_URL and AGENT_TOKEN or RUNTIME_TOKEN.
- Due checks are fetched from, and results posted only to, that operator APP_URL under the supplied auth headers.
- A bundled Electron downloader and a vm script sandbox exist in the engine, but the agent entry does not call the Electron path and globals persistence stays disabled because the working directory is never set.
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.6.2.
See all versions of @testsmith/api-spector-agent for other recorded verdicts.
- Review the evidence and your use of @testsmith/api-spector-agent@0.6.2 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.