T09 · Insecure Skill Coding Practices
- Location
SKILL.md:43- Finding
Matomo Authentication Token Exposed in URL Query String and Process Arguments
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly coherent for Matomo analytics, but its documented API pattern can expose the Matomo token in command lines and logs.
Review before installing if your Matomo token has broad permissions. Use a dedicated least-privileged token, avoid pasting real tokens into chat or shell commands, prefer secure environment or keychain storage, and be aware that ~/matomo/ may store site names, IDs, priorities, templates, and cached analytics context.
SKILL.md:43Matomo Authentication Token Exposed in URL Query String and Process Arguments
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
## Connection
matomo_url: (URL when provided)
token_ref: (keychain/env reference, never actual token)
## Priorities
<!-- What metrics matter to them -->
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
## Connection
matomo_url: (URL when provided)
token_ref: (keychain/env reference, never actual token)
## Priorities
<!-- What metrics matter to them -->
This markdown file documents obtaining a personal token_auth and embedding it directly in API requests, which involves handling sensitive credentials. The file does not include any warning about keeping the token secret, avoiding shell history exposure, or not sharing commands containing the token.
The skill directs the agent to persist site names, idSite mappings, business-priority metrics, and a default site in a local file without instructing the user to consent to that storage or warning that this metadata may be sensitive. Even though it avoids storing the API token itself, this contextual business data can reveal internal analytics structure, tracked properties, and operational priorities, which increases privacy and reconnaissance risk if the local machine, home directory, backups, or logs are exposed.
This markdown file describes activation in general terms like 'query Matomo analytics, generate reports, track goals, or manage their self-hosted analytics' without specifying concrete trigger phrases, scope limits, or negative examples. That ambiguity could cause the skill to be invoked for generic analytics-related requests beyond the intended Matomo-specific context.
No suspicious patterns detected.