T09 · Insecure Skill Coding Practices
- Location
scripts/build_experiment_plan.py:53- Finding
CSV Formula Injection Through Untrusted Experiment Fields
- Content
View full analysis
- Remediation
View remediation
str: text = str(value) probe = text.lstrip(" \t\r\n") if probe.startswith(("=", "+", "-", "@")): return "'" + text return text ``` All dynamic cells should pass through this function before being supplied to `writer.writerow()`. Because spreadsheet behavior differs among products, the implementation should also be validated against every spreadsheet application the project supports. ]]>
