@testsmith/api-spector-agent@0.9.6
API Spector private runner: monitor internal/local APIs the cloud cannot reach, with no inbound connections.
AI Security Review
scanned 23h ago · by lpm-firewall-aiThe runner forwards authentication headers from monitored APIs in its routine result uploads to APP_URL. Although result posting is part of the advertised service, the source does not show redaction of these third-party credentials before submission.
Decision evidence
public snapshot- The manifest exposes dist/index.cjs as both the CLI and package main; the entry point starts polling when run.
- The bundled monitor engine puts monitor bearer tokens and API keys into outgoing request headers.
- The agent copies sent request headers into sent_headers and includes them in results posted to APP_URL.
- Polling and result submission run automatically at startup and repeat on a timer.
- The package is described as a private API monitor that runs checks inside the user's network.
- The README says results are posted to API Spector Cloud, and the user supplies APP_URL and an agent token.
Source & flagged code
8 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.6.
See all versions of @testsmith/api-spector-agent for other recorded verdicts.
- Avoid installing @testsmith/api-spector-agent@0.9.6. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.