T08 · Insecure Dependencies
- Location
SKILL.md:29- Finding
Mutable Third-Party Package Is Downloaded and Executed During Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a user-directed API tester, but it needs Review because it overstates shipped features and handles API credentials without enough safeguards or disclosure.
Review before installing. Use only test credentials, prefer HTTPS endpoints, avoid putting real secrets directly in command history, and do not rely on the advertised batch, GraphQL, or report features unless the package is updated to include and document them. Treat the npx @latest install command as a supply-chain risk unless you can pin and verify the installer version.
SKILL.md:29Mutable Third-Party Package Is Downloaded and Executed During Installation
test.js:35Authentication Secrets May Be Exposed Through Command-Line Arguments and Plaintext HTTP
The documentation describes a full API testing tool with live REST/GraphQL requests, auth handling, and report generation, but the observed behavior is reported as only generating local mock JSON data. This mismatch is dangerous because users may trust the skill with credentials, endpoints, or testing workflows it does not safely or transparently implement, masking unexpected behavior or hidden functionality.
The skill advertises sending authenticated HTTP requests, including Bearer, Basic, and API key usage, but does not warn that credentials and request data may be transmitted to third-party endpoints. In a developer tool context, users are likely to test real internal APIs, so missing disclosure increases the chance of accidental secret exposure.
The documentation promises automatic test report generation without warning that reports may persist sensitive response bodies, error messages, or internal endpoint details. This can lead to unintentional storage or sharing of secrets and confidential data in markdown reports or artifacts.
The install command uses npx clawhub@latest, which fetches and executes the latest package version at runtime rather than a reviewed, pinned version. This creates a supply-chain risk: a compromised or malicious upstream release could execute arbitrary code on the user's system during installation.
The manifest describes a tool for quickly testing REST/GraphQL APIs, generating test reports, and simulating requests. In contrast, this file implements a standalone mock data generator that produces hardcoded sample entities and prints JSON, with no API requests, GraphQL handling, or report generation logic.
The script's title, usage text, parameter descriptions, and result messages are all hard-coded in Chinese. This imposes a specific language on all users without any opt-in or alternative locale selection, which matches the language-policy violation criteria.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
--body 请求体 (JSON 字符串)
示例:
node test.js --url https://api.example.com/users
node test.js --url https://api.example.com/users --method POST --body '{"name":"Test"}'
node test.js --url https://api.example.com/users --auth bearer:YOUR_TOKEN
`);
This JavaScript file contains user-facing natural-language strings entirely in Chinese, including the header comment, usage instructions, schema descriptions, and error/help output. Under the policy for natural-language violations, forcing a specific language without user opt-in or a documented justification is a locale-policy issue.