T09 · Insecure Skill Coding Practices
- Location
scripts/main.py:56- Finding
Unrestricted Output Path Allows Arbitrary File Overwrite
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill appears to do its advertised RCT randomization task, but it needs Review because it can overwrite arbitrary writable files and makes an unsupported clinical allocation-concealment claim.
Review carefully before installing. Run it only in a sandbox or controlled workspace, pass an output path that is inside the project, and avoid overwriting existing files. Do not rely on this draft script for regulated or high-stakes clinical allocation concealment without a validated randomization process and appropriate access controls.
scripts/main.py:56Unrestricted Output Path Allows Arbitrary File Overwrite
scripts/main.py:19Non-Cryptographic Random Generator Used for Concealed Clinical Allocation
The skill advertises file-writing behavior but does not declare an explicit tool scope such as permissions or allowed-tools. This creates an authorization ambiguity where an agent or reviewer cannot easily determine whether filesystem modification is intended, increasing the risk of unintended or overly broad writes if the skill is executed in a permissive environment.
The skill mentions creating output files but does not clearly warn users that running it will modify the filesystem or specify where files will be written. This can lead to unexpected file creation, overwrites, or confusion about artifact locations, especially in shared or automated workspaces.