T09 · Insecure Skill Coding Practices
- Location
script/main.py:47- Finding
Unbounded User-Controlled Regular Expressions Enable Denial of Service
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a localized regex testing helper that runs a small local Python CLI and does not show hidden persistence, network access, credential handling, or destructive behavior.
Install only if Chinese-language CLI output is acceptable. Avoid running untrusted or very complex regex patterns against large text, because a catastrophic-backtracking pattern may stall the skill process until stopped.
script/main.py:47Unbounded User-Controlled Regular Expressions Enable Denial of Service
The skill metadata and main description are written entirely in Chinese, and the examples/pattern catalog are tailored to Chinese-specific data formats such as mainland China phone numbers and ID cards. There is no statement that users may choose another language or that the locale limitation is intentional and justified, which creates a language/locale policy concern.
The file’s natural-language description and all user-facing CLI messages are written in Chinese, and the predefined patterns/descriptions are specifically oriented to Chinese-language usage. There is no indication that users can choose another language or locale, which may violate a language-choice policy when such choice is expected.
No suspicious patterns detected.