T09 · Insecure Skill Coding Practices
- Location
scripts/imagegen.py:231- Finding
Unvalidated Server-Controlled Upload and Download Destinations
- Content
View full analysis
0: pct = int(downloaded * 100 / total) bar = "█" * (pct // 5) + "░" * (20 - pct // 5) print( f"\r {bar} {pct}% ({downloaded // 1024}KB)", end="", flush=True, ) print() size_mb = downloaded / (1024 * 1024) print(f"[ok] {out_path} ({size_mb:.1f} MB)") excep ...[truncated 3177 chars]- Remediation
View remediation
