checksec.sh
3.2.0 open-sourceThe section your link pointed to isn't on checksec.sh's page any more, so we've brought you to the top.
Checks security properties of executables (PIE, RELRO, stack canaries, NX, FORTIFY_SOURCE) and kernel configurations on Linux systems.
checksec file ./target --exploit --fail-if=exploit.viable checksec file ./target --exploit -o json checksec file ./target --exploit --fail-if=exploit.technique=got-overwrite checksec file ./app -o llm --exploit checksec dir ./bins -o llm checksec file ./app -o llm --llm-no-preamble checksec --exploit -o llm --dir=./bins checksec --file=/usr/bin/target --no-warnings checksec dir ./build/bin --recursive --fail-if relro,canary,pie checksec file /usr/bin/myapp --output csv checksec dir /opt/app --recursive --no-warnings --color never --output json checksec --file=/usr/bin/sshd --disable-headers-banners checksec --file=/lib/modules/$(uname -r)/kernel/drivers/net/tun.ko checksec.sh --file=/path/to/binary
Summary
checksec.sh is an open-source command-line tool that inspects the security properties of ELFELFThe standard binary format for executables, shared libraries, and object files on Linux and most Unix-like systems, giving cyber tools a predictable structure to parse, instrument, or analyze compiled code. binaries, running processes, and the Linux kernel — RELRO, stack canaries, NX, PIE, RPATH/RUNPATH, FORTIFY_SOURCE, CFI, and related hardening flags — and is free to use. It ships as a single static Go binary, installable from a release download, a .deb/.rpm/.apk package, Docker image, or go install, and runs against a file, a directory recursively, a running process by PID, or the live kernel. It suits reverse engineers and security engineers who need to verify hardening on binaries or CI build artifacts, including a --fail-if flag for gating pipelines on missing protections. It is a modern rewrite of Tobias Klein's original 2011 bash script, extending it with checks like SafeStack, sanitizer detection, and W^X segment analysis. With 69 contributors, 99 commits and 11 releases in the past year, and a release only 65 days old, it is actively maintained.
Checks security properties of executables (PIE, RELRO, stack canaries, NX, FORTIFY_SOURCE) and kernel configurations on Linux systems.
How checksec.sh helps
Which of my binaries are missing stack protection or would let an attacker land a ROP chain?
scans a file or an entire directory tree and reports RELRO, stack canary, NX, PIE, and RPATH/RUNPATH status for each, flagging exactly which hardening flags are absent
Is a process that's already running actually protected, not just the binary on disk?
inspects a live process by its process ID and reports the same hardening properties as loaded in memory, catching cases where the running instance differs from the file
Is this kernel configured with the hardening I expect in production?
reads the running kernel's configuration directly and reports its hardening posture, the same way it reports a binary's
Should this build fail before it ships?
checks a comma-separated list of specific properties like RELRO, canary, or PIE against each artifact and exits non-zero the moment one of them isn't in a good state, so a pipeline can gate on it automatically
If this binary is exploited, which techniques would actually get through?
runs static analysis over imports, relocations, and segment permissions to report which memory-corruption techniques the binary's current mitigations fail to block, citing the specific evidence behind each verdict, without claiming to find the vulnerability itself
Languages
Command line
No command matches.
| option | found in | since | description |
|---|
Values are placeholders taken from each option’s declared default. Nothing is executed here — the output shown is a recording of a run that already happened.
Score card
-
Shipping velocity releases a month, last 12 months
-
Documentation quality release-notes rubric, 0–100
-
Breaking-change discipline how rarely a release breaks users, and notice given
-
Maintenance risk quiet time against its own cadence, maintainers
-
Innovation & surface new capabilities, API and MCP surface
- Community health
-
Contributor trend distinct committers, this year against last
-
Maintainer concentration bus factor now against a year ago
-
Issue backlog trend issues closed per issue opened, 12 months
-
Responsiveness median time to a maintainer’s first reply
Nine scores for checksec.sh, each built from the releases, notes and API history this site tracks — and, on Researcher and Business, where it stands among every measured tool in its category and how that has moved.
Score cards are part of every paid plan.
See plans → Already subscribed? Sign in →Trajectory
Blank means never measured; nothing here is a filled-in zero.
Peer standings are included with Researcher and Business. See how this tool ranks against its competitors, using data we don't publish anywhere else.
See plans →Each score is 0–100 on a published rubric, derived from data this site already shows. A dimension we cannot measure says so — it is never scored 0 and never enters a rank.
How this is scored
- Shipping velocity — releases a month over the last 12 months, on a log scale where 16 a month scores 100. Needs 3 releases in the window.
- Documentation quality — the release-notes rubric published on the analytics page, unchanged.
- Breaking-change discipline — the share of releases carrying a breaking change (none scores 100, half or more scores 0). Only projects that label breaking changes are measured: a clean record cannot be told from an unlabelled one.
- Maintenance risk — quiet time measured against the tool's own release cadence (quiet longer than 90 days and three typical gaps scores 0), plus the number of active maintainers and whether contributors are growing, where known. Higher is lower risk.
- Innovation & surface — new capabilities in the feature ledger this year, API and MCP operations added, and the share of commits that are features: the mean of whichever we hold.
- Community health (open-source tools only) — each is a direction, not a size: contributors this year against last, the bus factor now against a year ago, and issues closed per issue opened, where steady scores 50, doubled 100 and halved 0; plus the median time to a maintainer's first reply (an hour scores about 100, a month or more 0). A commercial card has no repository and carries none of the four.
- Documented delivery (commercial tools) — when a vendor's documented new capabilities have slowed against its own baseline, that counts against the overall standing as heavily as two low dimensions. Steady delivery, or too little history to judge, leaves the standing alone; it is never a sixth score.
- Open-source tools are scored on repository signals; commercial tools on their published changelog. Ranks compare tools within one category and one profile and need at least five measured peers; the overall standing needs three ranked dimensions. Best-in-breed or consolidator is a shape, not a quality, and is never scored.
Release-note detail over time
See how much detail checksec.sh puts in its release notes, quarter by quarter, and compare it with tracked tools in the same category. This history uses up to ten retained, reviewed notes per tool; sparse or blank older quarters may reflect that limit.
Checking release-note history…
Releases
10 entries
No entries match these filters.
- September 20264
- June 20262
- December 20251
- June 20241
- May 20201
- July 20191
Project health
Issue, contributor and maintainer activity in slimm609/checksec, 2023-10 – 2026-09, as of 2026-09-25. Twelve-month figures first; the trend lines run the whole window.
- Contributors 9 +4 vs prior 12 months
- Maintainers 2 +3 joined · −3 left, last 12 months
- Bus factor 1 committers behind half the commits
- Community-filed not measured of issues opened, last 12 months
- Median time to close not measured issues closed, last 12 months
- Open backlog not measured open issues today
- Issues opened / month not measured
- Open backlog not measured
- Contributors / month 1
- Commits / month 1
- Stars 2,384
Counts from the project's public repository and git history; no individuals are identified. Maintainers are the committers covering 80% of the last year's commits. how we measure this
Libraries its release ships
What its latest release locks, checked against known advisories.None of its release's images build from a lockfile we can read.
Add the badge to your README
Maintain this project? The badge links readers straight to this page, so they can follow every release here.