T09 · Insecure Skill Coding Practices
- Location
main.py:23- Finding
S2-DID Validation Accepts Lowercase and Unicode Characters
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill does not steal data or persist, but it is too weak and under-scoped to be safely treated as a physical actuator compliance gate.
Install only if you treat this as an experimental helper, not an authoritative hardware safety gate. Do not wire it directly to actuator startup or shutdown decisions without independent schema validation, trusted hardware-state checks, complete address/identity verification, and a supervised safe-shutdown procedure.
main.py:23S2-DID Validation Accepts Lowercase and Unicode Characters
main.py:31Boolean and Numeric Type Confusion Bypasses the Lock Validation
main.py:40CD-U6A Address Validation Checks Only an Allowlisted Prefix
main.py:9Valid Non-Object JSON Causes an Unhandled Exception
The docstring and user-facing print strings are written only in Chinese, indicating the skill is designed to operate in a single language. Under the policy, language-specific behavior should either offer user choice or clearly justify the locale restriction, which is not present here.
The manifest description and input description use Chinese exclusively, which can impose a specific language on users without offering a language or locale choice. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is clearly documented and justified.
The skill presents itself as an official compliance scanning engine with strict validation behavior, but the file only contains descriptive Markdown and no executable verification logic. This can mislead operators into believing safety checks are being enforced when in reality no controls exist, creating a false sense of security around physical-agent deployment.
The documentation recommends immediate hardware-level actuator power cutoff on rejection, but provides no safety interlocks, operator warning, rollback guidance, or context on safe shutdown conditions. In embodied or automated systems, abrupt power removal can create unsafe physical states, equipment damage, or human safety hazards if consumers implement this guidance literally.
The skill documentation is written entirely in Chinese and presents fixed Chinese output text such as the final certification message, with no indication that users may choose another language. Under the stated policy, forcing a specific language without opt-in is a natural-language policy concern unless the locale restriction is clearly documented and justified.
No suspicious patterns detected.