@testsmith/api-spector-agent@0.9.9
API Spector private runner: monitor internal/local APIs the cloud cannot reach, with no inbound connections.
AI Security Review
scanned 7h ago · by lpm-firewall-aiThe bundled entry polls only the user-configured API Spector service and returns results for its assigned checks. Its script execution and network activity match the package's stated monitoring purpose, and the scanner's redirect and payload-loader leads were not supported by the reviewed application code.
Decision evidence
public snapshot- The manifest exposes dist/index.cjs as both the CLI and the package main, with no lifecycle scripts present.
- The README says APP_URL and AGENT_TOKEN are required and describes the agent as polling API Spector Cloud for due checks and returning results.
- Runtime requests use the configured APP_URL and environment-provided AGENT_TOKEN or RUNTIME_TOKEN.
- The runner polls the configured service's due-feed endpoint and posts monitor results to that same service.
- The runner executes check scripts in a sandbox with a timeout; the README describes pre/post scripts as part of the API-check engine.
Source & flagged code
10 flaggedManifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/index.cjsView on unpkgSource combines command execution, command-output handling, and outbound requests; review data flow before blocking.
Findings
Affected versions and remediation
This report applies to @testsmith/api-spector-agent@0.9.9.
See all versions of @testsmith/api-spector-agent for other recorded verdicts.
- Review the evidence and your use of @testsmith/api-spector-agent@0.9.9 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.