T09 · Insecure Skill Coding Practices
Warning
- Location
scripts/edmonton_data.py:151- Finding
Unsafe CSV Export Permits Spreadsheet Formula Injection
- Content
View full analysis
permits.csv ``` CSV quoting alone prevents structural corruption but does not prevent spreadsheet applications from interpreting a quoted cell as a formula. Formula-prefixed cells therefore require separate neutralization when the export is intended for spreadsheet use. ### Attack Path 1. An attacker places a formula-prefixed value in a source represented by an Edmonton open dataset, or dataset content is otherwise compromised. 2. A user exports that dataset using `fetch --csv`. 3. The script writes the attacker-controlled value to the CSV output without formula neutralization. 4. The user opens the exported file in spreadsheet software that evaluates ...[truncated 1080 chars]- Remediation
View remediation
