T09 · Insecure Skill Coding Practices
- Location
SKILL.md:22- Finding
Excessive Collection and Environment Exposure of Wallet Credentials
- Content
View full analysis
/env?teamId=" \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"type":"encrypted","key":"SPARK_MNEMONIC","value":"your mnemonic here","target":["production","preview","development"]}' ``` ### Technical Analysis The Skill tells the agent to request a BIP39 recovery mnemonic and infrastructure credentials directly from the user. A wallet mnemonic is a root secret that provides control over all wallet keys and funds. The agent does not need to receive or process this secret to explain or coordinate deployment; the user can enter it directly into Vercel's protected secret-management interface. The documented Vercel API request legitimately sends the mnemonic to Vercel for deployment and does not constitute evidence of covert exfiltration. However, it assigns the secret to `production`, `preview`, and `development`. Only production access is necessary for the declared production deployment workflow. Preview and development environments may involve less-reviewed code, additional collaborators, temporary deployments, or weaker operational controls. Requesting these credentials in an agent conversation also creates unnecessary exposure through chat history, telemetry, debugging records, copied transcripts, or other components involved in processing the session. ### Attack Path ...[truncated 1353 chars]- Remediation
View remediation
