Back to skills
SKILL.md
Format String Bug
ASecurityFormat-string vulnerabilities: read/write primitives via %n/%s, GOT overwrite, modern compiler constraints.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added October 17, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add NetVar1337/agent-skill-canon --skill format-string-bug --agent claude-codeAre you the author of Format String Bug?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/netvar1337-format-string-bug)---
name: format-string-bug
description: "Format-string vulnerabilities: read/write primitives via %n/%s, GOT overwrite, modern compiler constraints."
version: 1.0.0
license: GPL-3.0-or-later
metadata:
package: unleash-skills
author: NetVar1337/unleash
category: exploit
triggers:
- "format string"
- "%n exploit"
- "printf bug"
---
# Format-string bugs
## Find
- `printf(user)` / `fprintf(log, user)` / logging wrappers
- Missing format in `sprintf` family
## Primitives
- Leak stack/code via `%p`/`%s`
- Write via `%n`/`%hn`/`%hhn` (if still reachable)
- Direct parameter access `%N$p`
## Modern reality
- Many compilers warn/forbid; still appears in custom loggers and embedded
- Prefer leak → ROP rather than heavy `%n` on hardened hosts
## Pair with
`stack-buffer-overflow`, `exploit-dev`.
Files in this skill
- SKILL.md
- agents/openai.yaml
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.