T09 · Insecure Skill Coding Practices
- Location
scripts/catcb.py- Finding
Imported treaty IDs permit writes outside treaty storage
- Content
View full analysis
Impact
The attacker can overwrite writable JSON files outside treaty storage with attacker-controlled JSON. For example, treaty_id '../../manifest' targets the project's manifest.json. Existing treaty IDs also overwrite prior records without a collision check. Writes require an existing parent directory and remain limited by the process's filesystem permissions and the appended .json suffix.
