@testsmith/api-spector-agent@0.5.2
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 a user-invoked remote monitoring agent with real internal-network and response-data access. Its behavior is package-aligned and requires explicit endpoint and token configuration, so it warrants a warning rather than a block.
Decision evidence
public snapshot- The invoked runner polls a configured cloud endpoint for monitor objects and executes each one.
- Monitor-supplied pre-request scripts run in a VM context.
- The runner returns request and response headers and bodies, capped at 16 KB each, to the configured cloud endpoint.
- package.json has no preinstall, install, postinstall, or other lifecycle script.
- The network base URL and authentication token must be explicitly supplied through environment variables.
- The bundle exposes a user-invoked CLI runner; no import-time installation or persistence behavior was found.
Source & flagged code
9 flaggedSource mutates builtin networking, serialization, module-loading, or filesystem APIs while forwarding data to an external endpoint.
dist/index.cjsView on unpkg · L29561Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.
dist/index.cjsView on unpkg · L247Findings
Affected versions and remediation
This report applies to @testsmith/api-spector-agent@0.5.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.5.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.