Skip to content

Security skills and playbooks, ready for your agent.

Share the skills that work for you. Read, rate and copy the ones that work for other hunters, straight into a local model or a coding agent.

 Open this item

The home of security work for agents

Every item is plain Markdown with a fixed address. A person can read it and an agent can load it.

Screened before it is listed

A skill is something an agent will act on, so each submission is checked for what would make it unsafe to run. Anything held waits for a person. How review works

  • Two independent readingsmust agree
  • Text addressed to the reviewerheld
  • Download-and-run commandsheld
  • Unreadable encoded blocksheld
  • Commands that send key files awayheld
  • A copy of an existing itemnot listed

One line to install

The library answers over MCP, and any item is a Markdown file you can fetch.

Every kind of security work

Four kinds of item, sorted by the work they are for.

Publish under your name

Each item carries its version, its reuse terms and who made it. An update says what changed.

Share a skill

Built on research you can check

Under the library sits a reference collection of disclosed cases, technique briefs and program scope records. Each one names its source.

Tools that run in your browser

The command generator fills a template and never runs it. The utilities decode, compare and score without sending what you paste.

Open the generatorUtilities
# a template, with its blanks still visible
subfinder -d {domain} -all -recursive -o {output}

Benchmarks, read honestly

Which public suites still separate one agent from another, and which are saturated.

See where they stand

    Who publishes here

    Publishers’ own skills, listed with their license and a link to the source, beside originals from vulns.co and items from members.

    Open to agents

    Everything a person can read here, a program can fetch.

    Contribute

    Share a methodology that works.

    Submissions are reviewed for relevance and safety. Members can report a published item from its page.

    Review guidelines
    HomeCollections

    Collections

    Sets of items for one job, in the order to use them.

    CategoriesAttackers

    Attackers Offensive research

    Authorized red-team skills, recon prompts and engagement playbooks. Every item includes scope and rules-of-engagement notes.

    0 results
    DefendersSkill · v1Editorial

    Post-Patch Validation

    Trail of Bits' method for proving a security fix works: reproduce the issue on the unpatched build, show the same test fails to trigger it after the patch, and keep the evidence for both.

    Post-Patch Validation

    Validate a security patch against the reported bug and the surrounding code it affects. Give the
    patch author reproducible failures to fix and identify what still needs testing. Apply the same
    checks to human and agent patches. The diff, author, upstream implementation, and original proof
    of concept alone cannot establish correctness.

    When to Use

    • A security fix, remediation commit, patch file, or pull request already exists.
    • An AI-generated patch needs validation before human review or merge.
    • A fix may cover one exploit path while missing variants of the same root cause.
    • A security fix may alter legitimate behavior or introduce a new vulnerability.
    • A patch author needs concrete failures and coverage gaps before another revision.

    When NOT to Use

    • No patch exists yet; use vulnerability discovery or fix implementation first.
    • The task is to review an audit finding against a report without executing patch evidence.
    • The task is only to convert a finding into a permanent project test.
    • The target is remote or production. This skill executes local code and tests only.
    • The user has not authorized execution of the repository's code or test suite.

    Quick Start

    1. Pin the vulnerable base and patched input. Prefer immutable commits. For uncommitted work, create a binary patch file first; do not validate in the user's working tree.
    2. Scaffold a pinned plan:
      uv run {baseDir}/scripts/post_patch_validation.py scaffold \
        --repo . \
        --base-ref <vulnerable-ref> \
        --patched-ref <patched-ref> \
        --finding-id <stable-id> \
        --finding-summary "<root cause and impact>" \
        --evidence-level runtime \
        --output post-patch-validation/plan.json


      Use --patch-file <path> instead of --patched-ref for a patch artifact. Choose the highest honest evidence level: source for source/patch invariants only, build when target code is compiled or analyzed but the reported behavior is not executed, or runtime when the checks execute the reported behavior and its safety assertions.
    3. Inspect the finding, diff, callers, sibling paths, cleanup/error paths, and existing tests. Populate checks in the generated plan. Run print-schema for the structural schema:
      uv run {baseDir}/scripts/post_patch_validation.py print-schema
    4. Run validate-plan for the complete validation, including coverage, command restrictions, and pinned inputs, before executing code:
      uv run {baseDir}/scripts/post_patch_validation.py validate-plan \
        --plan post-patch-validation/plan.json
    5. Execute the evidence plan:
      uv run {baseDir}/scripts/post_patch_validation.py run \
        --plan post-patch-validation/plan.json \
        --output post-patch-validation/results
    6. Report result.json, report.md, the evidence level, and the complete assessment. Return each finding to the patch author with its check ID, assertion, and saved logs. Identify each validation gap separately, including gaps that coexist with supported findings. After the author revises the patch, pin the new inputs and save a fresh validation run. Preserve the prior evidence. Passing supplied checks still requires human review before acceptance.

    Evidence Contract

    The runner rejects incomplete plans. Supply at least one check of every kind:

    KindRequired observation
    controlBenign harness succeeds on both base and patch
    exploitOriginal safety assertion fails on base and succeeds on patch
    variantA distinct root-cause variant fails on base and succeeds on patch
    behaviorUnaffected behavior succeeds with byte-identical selected output
    regressionTargeted non-security regression check succeeds on both revisions
    securityAdjacent/new-vulnerability check succeeds on base and patch
    suiteExisting project suite, sanitizer, or deterministic fuzz campaign succeeds on patch

    Commands are argv arrays, never shell strings. Put complex setup in a checked-in or plan artifact
    script and invoke it with {plan_dir}. The runner fixes locale/timezone/hash-seed inputs, executes
    checks in lexical ID order, records raw stdout/stderr, and never edits the original worktree.
    Each check's timeout_seconds defaults to 300 and accepts integers from 1 through 3600.
    Exceeding the timeout leaves a validation gap. A timeout alone does not establish a regression.
    Every plan also contains a sorted submodules array ([] when none). Scaffolding infers affected
    Gitlinks from the changed-file inventory. The runner initializes those pinned commits from the
    source repository's existing Git module objects, never from .gitmodules network URLs; initialize
    or fetch them in the source repository before validation.

    Exploit and variant checks must prove they ran

    A nonzero exit does not mean the vulnerability reproduced. An import error, a failed build, a
    missing dependency, and a failed safety assertion all exit nonzero and are indistinguishable to the
    runner. Every exploit and variant check must print and flush PPV_REACHED immediately
    before it evaluates its assertion, on both revisions:

    "argv": ["python3", "-c", "import app; value = app.render('<'); print('PPV_REACHED', flush=True); assert value == '&lt;'"]

    The token is also in the environment as PPV_REACHED_MARKER. It must land on **stdout, as a line
    of its own**. Stderr is not scanned, because a Python SyntaxError traceback echoes the offending
    source and would otherwise satisfy the check for a harness that executed nothing. A run without it
    leaves a marker_missing gap. Independent findings from other checks remain in the result.
    Flush explicitly: a harness whose payload segfaults or calls _exit loses buffered output and forfeits its own evidence.

    These checks also run side-blind. {side} is not expanded for them, PPV_SIDE is absent from
    their environment, the checkout directory is randomly named, and the plan validator rejects any
    exploit or variant check whose argv or env mentions either. An assertion that can see which
    revision it is on can assert on that instead of on the code, which is the cheapest possible way
    to fake a reproduction followed by a fix.

    Environment

    Checks run under a fixed minimal environment: PATH, HOME, and a handful of temp/user keys,
    plus LANG/LC_ALL=C, TZ=UTC, PYTHONHASHSEED=0, NO_COLOR, TERM=dumb. Everything else in
    the caller's environment is dropped. Toolchains that need more get it explicitly:

    uv run {baseDir}/scripts/post_patch_validation.py run \
      --plan post-patch-validation/plan.json \
      --output post-patch-validation/results \
      --allow-env JAVA_HOME --allow-env CARGO_HOME

    Forwarded names and values are recorded in result.json. A requested variable that is unset is an
    error, not an empty string. Two classes are refused outright: names that read as credentials
    (*SECRET*, *TOKEN*, *API_KEY*, …), because the value would be written into the result; and
    names that change what executes (LD_PRELOAD, BASH_ENV, NODE_OPTIONS, GIT_SSH_COMMAND, …),
    because those variables can change which code executes.
    The runner's fixed variables and every PPV_* name are also reserved and cannot be forwarded.

    Placeholders expanded in argv and per-check env values: {checkout} (the revision under test),
    {plan_dir} (an isolated copy of the plan artifacts for that one invocation), {scratch} (a
    fresh opaque directory for that one check invocation), and
    {side} (base or patched, and not available to exploit/variant checks). The same values
    arrive as PPV_CHECKOUT, PPV_PLAN_DIR, PPV_SCRATCH, PPV_SIDE, and PPV_CASE_ID. Write only
    under {scratch}; the evidence directory path is not passed to checks. Base and patched invocations
    do not share runner-managed scratch, plan, or worktree roots. After each invocation exits, its
    scratch tree is archived under the deterministic results/scratch/<check-id-and-side> path, its
    private plan copy is discarded, and every readable argv element that resolves to a file is hashed
    in argv_files. Files inside the isolated plan or checkout roots are additionally retained under
    results/helpers/<sha256> up to 16 MiB; the record explains why any other file was not archived.
    Use a dedicated directory for plan.json: its sibling files and directories are copied into each
    invocation's {plan_dir}. Keep helper code under that directory's checks/ directory or checked
    into the target repository so its bytes are reviewable. The machine plan containing commit pins,
    the current output directory, and detected prior result trees are excluded; symlinks are rejected.
    The clean snapshot remains only in runner memory, and
    exploit/variant sides execute in random order while evidence filenames remain deterministic.
    Stdout/stderr use anonymous or randomly named capture descriptors and are copied to the named
    evidence files only after the child exits, so fd inspection cannot disclose the side label.

    This isolation is not a host sandbox: checks run with the caller's privileges and a malicious
    helper could use arbitrary external state or deliberately infer the revision from source or Git
    metadata. Inspect the content-addressed helper artifacts, and use an OS/container sandbox when the
    check code itself is untrusted.

    Active validation worktrees are Git-locked with random owner tokens backed by kernel file locks, so
    another concurrent validator cannot prune them and PID reuse cannot impersonate an owner. If the
    runner is forcibly killed, the next run unlocks stale validator-owned registrations. For manual
    recovery, inspect git worktree list, then use git worktree unlock <path> and
    git worktree remove --force <path> (or git worktree prune after the path is gone).

    Read references/evidence-model.md when designing coverage, selecting
    variants, or interpreting findings and validation gaps. Do not read it for routine CLI execution.

    Coverage Rules

    • Derive variants from the root cause, not cosmetic mutations of the original payload.
    • Enumerate sibling call sites, alternate callbacks/outputs, error paths, teardown, ownership, serialization, and boundary values touched by the fix.
    • Make each exploit or variant test assert the safe behavior. It must fail on the vulnerable base; a test that passes on both revisions proves nothing about remediation. Read the base-side stderr and confirm the failure is the assertion you wrote, not a harness that never got there.
    • Keep exploit and variant assertions limited to the security invariant. Test liveness, exact error types/messages, timing, and compatibility separately as behavior or regression checks; otherwise an unrelated contract change can masquerade as proof that the vulnerability remains.
    • Keep the control harness benign and make it exercise the changed component. It establishes that the harness works on both revisions. Failed controls leave gaps and prevent attributing other failures to the patch. The raw observations remain available for review.
    • Use behavior only for behavior that should remain unchanged. Exact output comparison is deliberate; move unstable values behind a deterministic test harness instead of normalizing them away in prose.
    • Make security checks pass on the vulnerable base before treating a patched failure as newly introduced. A failed baseline leaves attribution unresolved.
    • Do not edit the patch during validation. Return failures to the patch author and start a new, freshly pinned run.

    Reading the result

    result.json schema 2.0 contains an assessment with status, findings, gaps, and
    human_review_required. Status is complete when all required checks produced usable evidence,
    even if some checks found failures. Status is incomplete when any gap remains. Findings name the
    check ID, check kind, and failed expectation. Gaps name the check ID and missing evidence, with a
    null check ID for run-level problems such as cleanup failures.

    Suite checks run on the patched revision first. A completed failure triggers the same check on
    baseline. If baseline passes, report the failure after the patch. If both fail, preserve both logs
    and report that attribution is unresolved. Do not assume matching exit codes mean the same failure.

    The runner exits 0 for complete checks with no findings, 1 for complete checks with findings,
    10 for incomplete validation, and 64 for invalid inputs. Read the artifact even after exit 10:
    it can contain supported findings alongside gaps. Source or build evidence cannot establish
    runtime behavior. State the evidence level alongside any passing result.

    Claude Dynamic Workflow

    Claude Code exposes the bundled workflow as /post-patch-validation:validate-patch.
    To pass structured inputs through the Workflow tool, use the name without a leading slash:

    Workflow({
      name: 'post-patch-validation:validate-patch',
      args: {
        finding: '<finding text or local path>',
        baseRef: '<vulnerable-ref>',
        patchRef: '<patched-ref>',
        workdir: 'post-patch-validation',
      },
    })

    Use patchFile instead of patchRef when appropriate. The workflow uses fixed coverage
    lenses to propose checks and a fixed executor to run this skill. Agents may author test
    artifacts. The Python runner records findings and gaps, and reviewers report coverage or evidence
    concerns separately. NEEDS_REPAIR returns supported failures even when other checks left gaps.
    BLOCKED means evidence is incomplete without a supported failure. Passing checks advance to
    READY_FOR_HUMAN_REVIEW only after both evidence reviews approve, otherwise REVIEW_REQUIRED.
    The workflow cannot ask questions after launch, so pass every input up front.

    Rationalizations to Reject

    RationalizationRequired response
    "The original PoC no longer works"Test at least one independent root-cause variant
    "The exploit failed on base, so it reproduced"Confirm the marker and that the failure is the assertion, not a broken harness
    "The full suite passes"Prove baseline reproduction and targeted behavior explicitly
    "This matches the upstream/canonical patch"Treat provenance as context, not evidence
    "The diff is tiny"Exercise callers, failure paths, and teardown affected by the change
    "All supplied checks passed"Preserve artifacts and require human review
    "A flaky rerun passed"Keep the first pinned result; fix nondeterminism before retrying
    "There is no obvious variant"Inspect sibling sites and boundaries; otherwise report the missing coverage

    Members · Generator

    Generate a draft

    Describe the environment and the work you need to do. Each generation is saved privately in your library.

    … generations available this month
    Category
    Category-specific output
    Be specific about the environment, scope and expected output.
    Uses 1 generation
    No draft yet

    Your draft appears here once it is generated. It is saved privately to your library.

    My Library

    ·

    0Generations
    0Drafts
    0Saved items
    0Published

    Contribute

    Submit an item

    Share your own work, or credit the original author. You choose how others may reuse it. What publishing here means

    By submitting you agree to the responsible-use policy.

    @

    0Published
    0Followers
    0Following
    0Downloads

    Account

    Settings

    Manage your public profile, social links and sign-in settings.

    Public profile

    Shown on your profile page and next to everything you publish.

    JPG or PNG, up to 2 MB.

    vulns.co/@
    3–24 lowercase letters, numbers, - or _
    0/280
    A short intro: focus areas, certifications, what you publish. Avoid private contact details.
    0/200

    Social links

    Accounts shown on your public profile. Leave a field blank to hide it.

    Enter handles only.

    Sign-in

    How you access vulns.co.

    Email
    PasswordChange your account password
    Two-step sign-in
    Loading

    Active sessions

    Devices currently signed in to your account.

    Current session
    This device
    Other sessionsSession details load after sign-in

    Delete account

    Permanently removes your profile, private drafts and generations. Published items are credited to a deleted user.

    Administration

    Welcome back

    Sign in to save, rate and comment on items, and to share your own.

    New to vulns.co?

    Research feed

    Recent advisories and research from the original vulns.co feed.

    Research tool directory

    Defensive tools from the original directory, with links to their maintainers.

    Privacy

    Your account and profile

    Your email is used for sign-in, verification and recovery. If you sign in with Google or GitHub, the site receives your email address and display name from that service and its identifier for your account. It keeps none of that service’s access tokens and asks for no access to anything else in your account there. The site owner can see account emails. Your public profile shows the name, handle, image and links you choose to publish. Private drafts are visible to their author. Submissions, comments and reports are read by an automatic reviewer, a language model run for this site on Cloudflare, and are available to the site owner for moderation. They are not used to train models.

    Email choices

    Account emails respond to an account action. Followed-member publications and replies are separate opt-ins. Manage them in email preferences. Delivery receipts help the owner investigate failed or duplicate messages.

    Ratings and screenshots

    Your star ratings count toward an item’s average. The site does not show other members which rating is yours, and an average appears only after three members have rated. Screenshots you add to an item are re-encoded and stripped of embedded data, such as location and device details, before they are stored, and they become public when the item is approved. What a screenshot shows is your responsibility: remove tokens, customer names and internal hosts before you upload it.

    Usage and service data

    A short-lived cookie can connect an item visit to its first Markdown download for 30 minutes. This measurement uses a random identifier for that item. Do Not Track and Global Privacy Control turn it off. The service also uses operational logs and aggregate counts for reliability and abuse prevention. A search that finds nothing is counted by its words alone, with no account or address, so the library can add what people look for.

    Deletion

    Use Account settings to delete a member account. Cleanup removes private member data and anonymizes attribution on retained public records. Recovery copies expire under the hosting provider’s retention period.

    Questions

    vulns.co is operated by GK Data LLC. Questions about your data, or a request for a copy of it, go to support@vulns.co.

    Last updated 2 December 2026.

    Using library resources

    Publisher skills

    Each publisher listing credits the original author and links to a specific source revision and license. A complete upstream download includes the original skill, supporting files, license text, and a provenance manifest. Entries marked “Publisher reference” provide attribution and source information only.

    Original resources

    Items written by vulns.co may be used, copied and adapted, including at work. Keep the vulns.co credit with any copy you pass on. Each one downloads as a package with these terms and a list of its files.

    Community submissions

    Authors keep their rights. Each item shows the reuse terms its author chose under “Source and license”: a Creative Commons license, MIT, Apache 2.0, or “Use only”. Whatever the choice, you may always read an item, copy it into your own notes and give it to your own agents. Republishing or adapting it is allowed only as far as its terms say. An item published before authors could choose is “Use only”. The full rules are in the terms of use.

    Terms of use

    The rules for reading, using and publishing on vulns.co.

    Who runs this

    vulns.co is operated by GK Data LLC. Questions about these terms go to support@vulns.co. A security problem with the site itself goes to the address in Security of this site.

    Using the library

    The library is for security work you are authorized to do. Do not use anything here against a system unless its owner has given you permission. You are responsible for what you, or an agent acting for you, do with an item. Items are written by their authors and publishers, not by us, and are provided as they are: check them before you rely on them.

    Accounts

    An account is for one person. Keep your sign-in details to yourself and your email address current. We may suspend or close an account that breaks these terms, the review guidelines, or the law.

    Your content

    You keep ownership of what you publish. When you submit an item, comment or screenshot you confirm that you wrote it or have the right to publish it, and that it contains no credentials, personal data or customer information.

    By publishing you give vulns.co permission to host, display, format and distribute it as part of the service, including as a download and as plain text that agents can fetch. You also give every reader the permission described under “Use only” below, and any wider permission that comes with the reuse terms you choose for the item. You can remove your item at any time. Removing it does not withdraw permission from people who already took a copy under those terms.

    Use only

    “Use only” is the minimum every item carries. It lets anyone read the item, keep a copy, use it in their own work, paid or unpaid, and give it to their own agents. It does not allow republishing the item or a version of it. For that, use the license the author chose, or ask the author.

    Review and moderation

    Submissions, comments and reports are read by an automatic reviewer and, where it is unsure, by a person. We may decline, hide or remove content that breaks the guidelines. Authors can appeal a decision from My library.

    If something here copies your work without permission, report the item from its page, or write to support@vulns.co with: the work you own, the address of the item here, your name and contact details, a statement that you believe in good faith the use is not authorized, a statement that the notice is accurate and that you are the owner or act for the owner, and your signature, typed or written. We remove or disable access to material that infringes, tell the author, and restore it if the author sends a valid counter-notice. Accounts that infringe repeatedly are closed.

    Agents and automated access

    Agents and scripts may read the library through the MCP endpoint, the plain-text item addresses, llms.txt, the feed and the API, within the rate limits. Do not work around the limits, and do not republish items in bulk beyond what their terms allow.

    No warranty

    The service and everything in it are provided without warranty of any kind. To the extent the law allows, GK Data LLC is not liable for loss or damage that comes from using the service or an item from it.

    Changes

    We may change these terms. The date below changes when we do, and continued use after a change means you accept it.

    Last updated 2 December 2026.

    Community

    Review guidelines

    The standards for publishing and reporting content.

    What gets published

    The library publishes complete setups: something a reader can hand to an agent, or follow themselves, and end with a checked result. A good one says when to use it, works through the job in concrete steps, defines what it produces, says how the result is verified, and states its limits. Short notes, outlines, generated filler and items that only restate common advice are not published. Submit your own work: text that is the same as an item already here is refused, and text that largely matches one is held for a person to compare. If you find your work here reworded under someone else’s name, report the item and say which of yours it copies; those reports are always read by a person.

    Before a draft can be submitted it must clear a minimum: at least 500 words of instructions under four or more headings with eight or more concrete steps or checks (150 words for a prompt), and a skill must start with front matter that names it and says when to use it. For comparison, the main file of a skill published by a security team usually runs 1,000 to 1,400 words, with supporting files beside it. Clearing the minimum does not mean it will be published. Every submission is read by the automatic review for whether it is on topic and safe to hand to an agent. A person looks at anything it is unsure about, anything with screenshots, and anything that largely matches an item already here.

    Scope and authorization

    Write for systems the reader owns or is authorized to review. Describe the intended audience, permissions and limits. Remove credentials, personal information and identifying customer data.

    Evidence and accuracy

    Explain what the reader can observe, how to interpret it and where the guidance stops. Give sufficient context for a second practitioner to verify the conclusion.

    Safety checks

    Every item's text is read by nine automatic checks, and the result is shown on its page for the version you are reading: text addressed to an agent or a reviewer, commands that send files or secrets out, commands that download and run, commands that delete, overwrite or disable, keys or tokens written into the text, text that cannot be read as written, agent settings and hidden instructions, the outside addresses it names, and its file structure. Agent settings are judged by the rules of misconfig, a free, open-source checker for AI agent setups: permissions that stop asking, hooks that run code, MCP servers that should not be trusted, and instructions hidden from the reader. A submission that trips one of the serious ones is not published by the automatic review; it waits for a person. The checks read text and run nothing. A security library quotes dangerous things on purpose, so a finding means "read this part", and a clear result is not a guarantee.

    Publication and appeals

    Drafts stay private until you submit them. Submissions, comments, and proposed tags are reviewed against these guidelines. The first review is automatic; anything it is unsure about waits for a person. Content may be published, rejected, or quarantined. An item or comment reported by several members is hidden while it is looked at. Members can report published items and comments from the item page. Authors can see the decision and appeal a restriction in My Library.

    Security of this site

    If you find a security problem in vulns.co itself, write to the address in security.txt. Say what you found, where, and the steps that show it. Test with your own account and your own items. Do not read, change or delete another member's data, do not degrade the service for others, and do not send mail or messages to members. If you reach data that is not yours, stop there and tell us. Good-faith reports that follow these rules are welcome. There is no paid reward at present.

    vulns.co

    Service status

    Current availability from the marketplace gateway.

    Public catalog

    Checking the public catalog…

    Sign out of vulns.co?

    Unsaved generator output on this device will be cleared.

    Page not found

    That address does not match anything here. It may have moved when the library was rebuilt.