T09 · Insecure Skill Coding Practices
- Location
scripts/pattern_learner.py:58- Finding
Unredacted Collection and Persistent Storage of Potentially Sensitive Workspace Content
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill’s purpose is coherent, but it broadly learns from local memory and log files and stores raw examples in persistent plaintext without enough disclosure or redaction.
Review this skill before installing. It should only be used in workspaces where memory, logs, and metrics are safe to scan, or after adding redaction, narrower input allowlists, explicit opt-in, restrictive file permissions, retention limits, and a way to delete learned data.
scripts/pattern_learner.py:58Unredacted Collection and Persistent Storage of Potentially Sensitive Workspace Content
The skill is designed to learn from operations, error logs, resource usage, and memory/task data, but it provides no warnings or safeguards about sensitive-data exposure, data minimization, or integrity risks. In this context, pattern-learning features can aggregate secrets, internal paths, operational behaviors, or confidential task content into derived templates and suggestions, increasing the chance of unintended disclosure or harmful automation.