T09 · Insecure Skill Coding Practices
- Location
todo.py:19- Finding
SQLite Foreign-Key Cascades Are Not Enabled
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a local SQLite todo-management skill with some safety and quality caveats, but its behavior is disclosed, scoped, and purpose-aligned.
Install only if you are comfortable with a Chinese-language local todo CLI. Treat delete-project and delete commands as irreversible, and be aware that a code bug may leave child todos behind in the database even after deletion messages. Avoid pasting untrusted text containing terminal escape/control characters into todo titles, notes, or project names.
todo.py:19SQLite Foreign-Key Cascades Are Not Enabled
todo.py:389Stored Terminal Control-Sequence Injection Through Todo Content
The skill documents project deletion as removing an entire project and all todos beneath it, but provides no warning, confirmation guidance, backup advice, or safer alternative. In an agent setting, destructive commands may be executed on behalf of a user from natural-language requests, so missing safety friction increases the risk of accidental irreversible data loss.
The todo deletion command states that deleting a todo also deletes its subtasks, but does not prominently warn about cascading deletion or recommend confirmation. Because parent/child task trees can represent substantial user data, this omission can lead to unintentional loss of multiple records from a single command.
This Python file contains many user-facing strings in Chinese, starting with the success message at L061 and continuing throughout the CLI help and status output. Because the skill forces a specific language for interaction without any opt-in, fallback, or documented region-specific justification, it violates the language/locale policy criteria.
The skill description and all usage instructions are written entirely in Chinese, with no indication that users may choose another language or locale. Under the policy, forcing a specific language without user opt-in can be a natural-language policy violation unless the locale restriction is explicitly justified.
No suspicious patterns detected.