T09 · Insecure Skill Coding Practices
- Location
scripts/audit.py:40- Finding
Auto-fix follows symbolic links and can modify files outside the audited directory
- Content
View full analysis
" if old_path in content: content = content.replace(old_path, new_path, 1) changes.append({"file": item["file"], "old": old_path, "new": new_path}) with open(fpath, 'w') as f: f.write(content) ``` The User-Agent auto-fix has the same unsafe write behavior: ```python for item in result["checks"]["user_agent"] ...[truncated 4355 chars]- Remediation
View remediation
