vuln-audit
Skill715 starsChanged 7 days agoMITView on GitHub
Security audit — buffer overflows, format strings, integer issues, memory safety
4 other projects use a version of this.
Adopted by
Most recently taken up by
- Cristallin2006/DSH-CTF-Modetheir own version, first seen Nov 29, 2026
- Cristallin2006/ghidra-skill-for-dshtheir own version, first seen Sep 25, 2026
- AL-JANEF/janef-forgetheir own version, first seen Sep 19, 2026
- AL-JANEF/janefskillstheir own version, first seen Sep 19, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- Cristallin2006/ghidra-skill-for-dsh★ 11same name
- Cristallin2006/DSH-CTF-Mode★ 4same name
- AL-JANEF/janef-forge★ 1same name
- AL-JANEF/janefskills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- webpage/llms.txtllms.txt
- binja-scriptingSkill
- ctfSkill
- deobfuscationSkill
- driver-analysisSkill
- generic-reSkill
- ida-scriptingSkill
- linux-malwareSkill
- malware-analysisSkill
- modifySkill
- smart-patch-binjaSkill
- smart-patch-idaSkill
The file
Files
Task: Security Vulnerability Audit. You are auditing a binary for exploitable vulnerabilities.
Approach
Systematic, evidence-based. Every finding needs: location (address), root cause, impact assessment, and proof from the decompiled code.
Phase 1: Attack Surface Mapping
list_imports— identify dangerous APIs:- Memory: memcpy, memmove, strcpy, strncpy, sprintf, vsprintf, gets
- Format strings: printf, fprintf, syslog, snprintf with user-controlled format
- Heap: malloc, free, realloc (use-after-free, double-free)
- File I/O: fopen, CreateFile, read, write (path traversal)
- Network: recv, recvfrom, WSARecv (remote input)
- Command: system, popen, execve, ShellExecute (command injection)
list_exports— identify entry points accessible to attackerssearch_strings— look for format strings, SQL patterns, command templates
Phase 2: Input Tracing
For each dangerous API found:
xrefs_toon the import — find all call sitesdecompile_functionon each caller- Trace backwards: where does the buffer/size/format argument come from?
- Is it user-controlled? (network input, file input, IPC, environment)
- Are there bounds checks between input and dangerous API?
Phase 3: Vulnerability Classes
Buffer Overflow (Stack)
- Fixed-size stack buffer + unbounded copy (strcpy, sprintf, gets)
- Size parameter larger than destination buffer
- Off-by-one in loop bounds writing to stack buffer
Buffer Overflow (Heap)
- malloc(user_size) without upper bound check
- memcpy into heap buffer with unchecked length
- Integer overflow in size calculation → small allocation, large copy
Format String
- printf(user_input) without format specifier
- syslog, fprintf with attacker-controlled first argument
Integer Overflow/Underflow
- Arithmetic on user-controlled sizes before allocation
- Signed/unsigned comparison mismatches in bounds checks
- Multiplication overflow in array index calculations
Use-After-Free
- free() followed by continued use of the pointer
- Dangling pointers in linked structures after partial cleanup
- Race conditions in multi-threaded free/use paths
Command Injection
- system() / popen() with string concatenation from user input
- ShellExecute with user-controlled arguments
Type Confusion
- Cast between incompatible struct types
- Virtual function table corruption paths
- Union member access after wrong variant initialization
Phase 4: Report
For each finding:
[SEVERITY] Vulnerability Type at 0xADDRESS
Function: function_name
Root cause: <description>
Input path: <how attacker-controlled data reaches the vulnerable point>
Impact: <what an attacker can achieve>
Evidence: <relevant decompiled code snippet>Severity levels: CRITICAL (remote code execution), HIGH (local code execution, info leak), MEDIUM (DoS, limited info leak), LOW (theoretical, requires unlikely conditions).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

