T09 · Insecure Skill Coding Practices
- Location
scripts/main.py:57- Finding
Solid-component quantities are inflated by a factor of 1,000
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is not deceptive or exfiltrating data, but it is a safety-relevant lab calculator with serious calculation errors and broader local tool access than its documentation admits.
Review this skill before installing. Do not rely on its buffer recipes for real lab preparation unless the calculation code is corrected and independently validated. If used at all, run it in a restricted workspace, avoid granting Write/Edit or broad shell access, and treat all quantities as draft calculations that must be checked against trusted protocols.
scripts/main.py:57Solid-component quantities are inflated by a factor of 1,000
scripts/main.py:25Percentage-based components are calculated without defining stock concentration or percentage basis
scripts/main.py:43Volume and concentration inputs accept negative and non-finite values
SKILL.md:4Skill declares filesystem modification and unrestricted shell tools beyond its functional requirements
Suspicious Unicode normalization or mixed-script content
Granting Bash to a buffer-calculation skill expands the execution surface beyond its stated purpose and enables arbitrary shell command execution if the skill or surrounding agent workflow is abused. Even absent overtly malicious content, unnecessary command execution privileges increase the potential for filesystem tampering, data access, and environment reconnaissance.
The manifest allows Read, Write, Bash, and Edit, but the skill's risk assessment says there is no file access. That inconsistency can conceal the real attack surface from users and reviewers, making it easier for the skill to read or alter local files under the guise of a low-risk calculator.
The documentation claims no file system access even though the manifest grants Read/Write/Edit and the skill explicitly describes generating output files. This misrepresents the skill's capabilities, which can cause users or downstream policy systems to trust the skill more than warranted and allow unintended local file modification or data exposure.
The 'Related Skills' section uses the labels '上游' and '下游' alongside English, which introduces a specific language choice into the skill's natural-language interface. Because the document does not state that multilingual labels are optional or user-selected, this may conflict with a language/locale policy requiring user opt-in.