T09 · Insecure Skill Coding Practices
- Location
SKILL.md:103- Finding
Unsafe Collection and Plaintext Persistence of Meta Access Tokens
- Content
View full analysis
`) e `~/.hermes/config.yaml` em `mcp_servers.meta-ads.env.META_ACCESS_TOKEN`. - **Recarregar Processo MCP:** Executar `pkill -f mcp-meta-ads` para encerrar workers antigos e permitir que o Hermes instancie processos com o novo token. ``` ### Technical Analysis The Skill explicitly invites users to submit a privileged Meta access token through the chat and states that the token will be saved. It also directs the agent to persist the same secret in plaintext `.env` and YAML configuration files. A Meta token carrying `ads_management`, `ads_read`, and page-related permissions is a high-value credential. Chat transcripts may be retained in conversation history, telemetry, debug output, or provider-side logs. Plaintext configuration files may also be readable through backups, support bundles, accidental repository commits, overly broad filesystem permissions, or other processes running under the same user. Storing the token in multiple files increases the number of copies that must be secured and revoked. The behavior also weakens the README's broad claim that access tokens remain exclusively local under a “Zero-Storage” model: although the referenced architecture prohibits server-side st ...[truncated 1285 chars]- Remediation
View remediation
