T09 · Insecure Skill Coding Practices
- Location
scripts/fitness_log.sh:30- Finding
Arbitrary Python Code Execution Through Unsafely Interpolated Command Arguments
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a straightforward local fitness logger, but its bundled script can turn workout or weight inputs into executable Python, so it needs review before installation.
Review or patch the script before installing. At minimum, pass values to Python through argv or environment variables instead of source interpolation, validate workout types, durations, counts, goals, formats, and weights, and set restrictive permissions on ~/.fitness and its files. Avoid using this skill with untrusted or automatically forwarded text until those issues are fixed.
scripts/fitness_log.sh:30Arbitrary Python Code Execution Through Unsafely Interpolated Command Arguments
scripts/fitness_log.sh:45Stored Python Code Injection Through Weight Records
scripts/fitness_log.sh:6Fitness and Weight Records May Be Created With Excessively Broad Permissions
The skill advertises local data storage and workout logging/export features, which reasonably imply file writes, but it does not declare any explicit tool scope such as permissions or allowed-tools. That mismatch weakens containment and reviewability, because an agent may invoke file-writing behavior without a clearly declared capability boundary for users or platform policy to inspect.
The description is overly broad, using phrases like 'personal daily-use tool' and 'organizing your life,' which could cause the skill to be selected in contexts far beyond fitness tracking. Over-broad routing increases the chance of unintended invocation, exposing local file-writing behavior or user data handling in situations where the user did not specifically ask for this skill.
No suspicious patterns detected.