@testsmith/api-spector-agent@0.4.8
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 source implements unrestricted forwarding of environment-backed credentials from remotely supplied monitor definitions to remotely supplied URLs. This is a concrete dangerous capability, but activation requires explicit operator configuration and the inspected package has no install-time trigger.
Decision evidence
public snapshot- The package exposes its bundled agent as both its command and main entrypoint, with no lifecycle hook declared.
- The running agent polls a caller-configured service for monitor definitions.
- A monitor-supplied secret reference can resolve an arbitrary process environment variable.
- Resolved authentication headers are attached to a request sent to the monitor’s final URL.
- The package has no automatic install lifecycle hook.
- The controlling service URL and agent credentials must be supplied by the operator.
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.4.8.
See all versions of @testsmith/api-spector-agent for other recorded verdicts.
- Review the evidence and your use of @testsmith/api-spector-agent@0.4.8 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.