T09 · Insecure Skill Coding Practices
Warning
- Location
tool.py:21- Finding
Unsanitized Log Content Allows Terminal Escape-Sequence Injection
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a small log-colorizing CLI whose behavior matches its stated purpose, with a terminal-display safety caveat for untrusted logs.
Reasonable to use for local log review, especially with trusted or already-sanitized logs. Be cautious with attacker-controlled logs because embedded terminal control sequences may make terminal output misleading; a safer version should escape or strip control characters before printing.
tool.py:21Unsanitized Log Content Allows Terminal Escape-Sequence Injection