T09 · Insecure Skill Coding Practices
- Location
scripts/sanitize.py:484- Finding
Raw PII Is Written to a Predictable Sidecar File Without Secure File Controls
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This local PII redaction skill is mostly coherent, but its JSON workflow can automatically persist raw sensitive data in a predictable sidecar file without strong file-safety controls.
Use this only on trusted local paths, and avoid the JSON + --output workflow unless you explicitly need the raw entity map. Treat any *.entity-map.json file as highly sensitive, delete it when no longer needed, and do not place outputs in shared, synced, indexed, or backed-up directories.
scripts/sanitize.py:484Raw PII Is Written to a Predictable Sidecar File Without Secure File Controls
The skill declares executable behavior that reads and writes files but does not specify any explicit tool scope or permission boundaries. In an agent environment, this can allow broader-than-intended file access, increasing the risk that the agent reads unsanitized sensitive inputs or writes sensitive sidecar outputs without policy enforcement.
No suspicious patterns detected.