T09 · Insecure Skill Coding Practices
- Location
skill.yaml:15- Finding
Stateful Global Regular Expression Causes Error-Detection Bypass
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a small log-analysis skill with no evidence of hidden access or persistence, but its sample implementation has reliability gaps users should not treat as a full security monitor.
Installing this skill should not expose your system by itself, but treat it as a simple helper rather than a dependable security control. Review or fix the timestamp function and missing warning/performance/security checks before relying on its output for alerting or incident response.
skill.yaml:15Stateful Global Regular Expression Causes Error-Detection Bypass
skill.yaml:29Undefined Timestamp Function Causes Log-Analysis Denial of Service
skill.yaml:12Declared Security Indicators Are Never Evaluated
The skill description is written as a Chinese-only instruction set, which can impose a specific language/locale on users without any stated opt-in or alternative. The policy explicitly calls out language or locale constraints as findings when the skill does not offer user choice or justify the restriction.
The trigger patterns are broad and include generic phrases like '分析日志', '日志异常', 'log analysis', and 'error detection', which can match ordinary user requests rather than a narrowly scoped invocation. This creates an over-broad activation surface where the skill may intercept unrelated conversations about logs, causing unintended behavior, context leakage, or misuse of the skill in situations the user did not explicitly intend.
The file presents user-facing trigger and description text in both Chinese and English, but the implementation description and recommendation text are effectively Chinese-oriented and do not indicate any user language preference or opt-in. This can create a locale-policy issue if the skill defaults responses or interaction style to a specific language without documenting that choice.
No suspicious patterns detected.