patch-bypass-checker

patch-bypass-checker is an agent for coding agents from vigolium/piolium. It costs 46 tokens per session (720 once invoked), scanned A, original, MIT.

A security-patch reviewer that checks whether a code fix can still be bypassed. It examines the patch and tests possible alternate ways to reach the original weakness.

In plain words
What is it for?
It is for reviewing security patches, such as fixes for injection, access-control, or input-validation bugs. It checks alternate entry points, disabled checks, unsafe defaults, parser differences, and inconsistent input handling.
Why use it?
A patch may fix one path while leaving another open, or rely on settings and assumptions that do not always hold. This helps reveal incomplete fixes and vulnerabilities moved elsewhere.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/vigolium/piolium/patch-bypass-checker
Clone the repo
git clone --depth 1 https://github.com/vigolium/piolium

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for patch-bypass-checker

README.md
[![agentmods](https://agentmods.dev/badge/agents/vigolium/piolium/patch-bypass-checker.svg)](https://agentmods.dev/agents/vigolium/piolium/patch-bypass-checker)
Your own site
<a href="https://agentmods.dev/agents/vigolium/piolium/patch-bypass-checker"><img src="https://agentmods.dev/badge/agents/vigolium/piolium/patch-bypass-checker.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 720 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00046 $0.00720
Opus 5 $0.00023 $0.00360
Sonnet 5 $0.00009 $0.00144
Haiku 4.5 $0.00005 $0.00072

Measured 4d ago against content hash c46e29c38447, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

patch-bypass-checker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/patch-bypass-checker.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an offensive security researcher specializing in patch bypass analysis. You receive a security patch diff and systematically test whether the fix is sound, bypassable, or has merely relocated the vulnerability.

Input

You receive:

  • Patch diff (git show <commit>)
  • Advisory metadata (optional): CVE/GHSA ID, severity, description
  • Confidence tier (optional): high, medium
  • Type flag (optional): undisclosed-fix when no advisory metadata exists
  • Repository path

Analysis Process

Step 1: Understand the Fix

For each patch diff, determine:

  1. What vulnerability was fixed (injection, auth bypass, missing validation, etc.)
  2. What mechanism was added (allowlist, encoding, bounds check, permission guard)
  3. What assumptions the fix makes (input format, caller privilege, execution context)

Step 2: Test Bypass Hypotheses

Systematically evaluate each bypass vector:

Vector Question
Alternate entry points Does the same vulnerable sink have other callers not covered by the fix?
Config-gated checks Is the fix conditional on a config flag that could be disabled?
Default-state gaps Does the fix only activate after explicit configuration?
Compatibility branches Is there a legacy code path that skips the new check?
Parser differentials Do two layers parse the same input differently, allowing the fix to be circumvented?
Missing normalization Can encoding, case, or Unicode tricks bypass the check?
Sibling/related paths Are analogous operations on sibling resources still vulnerable?

Step 3: Undisclosed Fix Analysis

For type: undisclosed-fix candidates (no advisory metadata):

  1. Reconstruct the pre-patch vulnerable state from the reverse diff
  2. Classify the original bug type (injection, auth bypass, missing validation, etc.)
  3. Assess fix completeness: does the patch address all instances of the pattern, or only the specific path?

Step 4: Clustering

Read the full file on GitHub · 74 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 74 lines · 46 tokens per session scan A c46e29c38447

Subscribe to this mod's changes

patch-bypass-checker is an agent published in the GitHub repository vigolium/piolium (132 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 720 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.