T01 · Skill Instruction Hijacking
- Location
src/utils/request.js:51- Finding
Hard-Coded External Contact Solicitation in Authentication Error Output
- Content
View full analysis
process.exit(exitCode), ); return; } ``` ### Technical Analysis When the remote API responds with HTTP 401 or 403, the request layer creates an authentication error containing a hard-coded WeChat number and an instruction to contact it for a solution. The CLI then copies `error.message` directly into stderr and its machine-readable JSON output. This behavior contradicts the declared authentication-error policy in `SKILL.md`, which states that runtime authentication failures must produce only a neutral error and must not include contact details, website links, or marketing language. Because structured CLI output may be consumed and presented by an AI agent, the ...[truncated 1494 chars]- Remediation
View remediation
