Checksec

From yv1ing/Z3r0 · View interactive version

Checksec is an AI agent skill from the GitHub repository yv1ing/Z3r0. Use the pwntools-provided checksec CLI for authorized ELF hardening review, mitigation checks, and binary triage evidence.

How to use this skill

Skill file

checksec

Use the checksec CLI provided by the bundled pwntools installation to inspect ELF hardening and mitigation settings for provided or task-scoped binaries. This skill documents a pwntools-provided entrypoint, not a separately installed package.

Help first

Before constructing commands, run the installed help output and use it as the source of truth:

checksec --help
pwn checksec --help

Usage rules

Common workflows

Inspect one ELF binary:

file ./binary
checksec --file=./binary
readelf -h ./binary

Save batch results for multiple binaries:

for bin in ./build/*; do
  test -f "$bin" || continue
  checksec --file="$bin" >> checksec.txt
done

Use readelf -lW ./binary when PIE, RELRO, GNU_STACK, or loader details need independent confirmation.

Output

Report binary path, command used, architecture when known, protection status, risk-relevant observations, and output path.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.