Adjudicating Taint Paths logo

Adjudicating Taint Paths

Organization
UnboundCompute
adjudicating-taint-paths

Decide whether a whitebox lead is a real bug by tracing taint from an untrusted source to a dangerous sink and confirming every hop against live source. Use after a scanner, a candidate list, or your own reading surfaces a "this looks dangerous" sink (SQL exec, system/exec, file open, deserialize, template render, redirect target, memcpy) and you must decide whether attacker- controlled input actually reaches it - or kill the lead with evidence. Covers forward and reverse taint, witness paths, sanitizer analysis, and the evidence rules that separate a finding from a false positive.

Overview

PublisherUnboundCompute
Repositorysecurity-agent-skills
Skill nameadjudicating-taint-paths
Stars
27
Forks
8
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by UnboundCompute on GitHub. Read the source before you install it.

Installation

Install the Adjudicating Taint Paths AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/adjudicating-taint-paths
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/adjudicating-taint-paths .claude/skills/adjudicating-taint-paths
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Adjudicating Taint Paths in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Adjudicating Taint Paths on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Adjudicating Taint Paths is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Adjudicating taint paths: lead → decided finding

A lead is a fact about structure - "an input-shaped value can reach a dangerous sink." It is never a verdict. Adjudication is the disciplined work of deciding whether that structural possibility is a real, reachable bug on the current source, and recording the decision so it isn't re-litigated next pass.

When to use

  • A scanner or candidate list flagged a sink and you must confirm or kill it.
  • You spotted a sink by hand and want to know if attacker input reaches it.
  • You need to kill a plausible-looking lead with evidence, not vibes.

Scope check

Authorized source only (your own, OSS, CTF, in-scope engagement). If you can't name the authorization, stop.

The loop

  1. Name source and sink precisely. Which exact argument of which sink is dangerous, and what is the actual untrusted entry - a request param, header, filename, env var, deserialized field? Vague framing ("user input reaches it somewhere") is how false positives survive.

  2. Trace the reverse cone into the sink. What values can flow into this sink argument? This enumerates every origin. If none trace back to an untrusted source, the lead is dead - kill it, record why.

  3. Trace the forward cone from the source. Where does the untrusted value go? If it never touches the sink, the lead is dead. Forward and reverse must agree; if they don't, you mis-specified an endpoint - fix it and redo.

  4. Get a witness path. The strongest evidence is a concrete source → … → sink path. Good tooling returns either a witness or an honest negative ("no path"). A witness is a hypothesis to verify, not a proof.

  5. Confirm every hop against live source. Read the actual body of each function on the path at the commit you're adjudicating. Verify the value is genuinely carried hop-to-hop and is not: reassigned to a constant/trusted value; validated, sanitized, or encoded by a guard on the path; narrowed to a safe type or bounded before the sink; or never actually passed by any caller.

  6. Decide and record - in the schema. Survivor → confirmed: source, path, sink, evidence, impact. Killed → record the exact hop where taint breaks. Both go in the finding schema; killed findings are kept.

Evidence rules

  • Confidence is not truth. A high-confidence edge is strong support; a conservative/over-approximated edge is included to avoid missing a path and is frequently spurious - a witness leaning on one demands extra source confirmation.
  • An absent edge is not proof of safety. The tool may not model that path. Dynamic dispatch (attribute/vtable), function pointers, and getattr/eval/reflection are standard blind spots - "no path" through one of those is inconclusive, not clean. Confirm by reading source.
  • A sanitizer only helps if it covers the payload class. An HTML encoder does nothing for a SQL context; a realpath check does nothing for a symlink race. Match the guard to the sink's context, not to its name.

Worked example (a kill and a confirm)

Kill. Lead: GET /search?q= → cursor.execute(sql). Reverse cone shows q reaches execute, but reading the hop shows execute(sql, (q,)) - q is a bound parameter, never concatenated into sql. Killed, kill_reason = "bound param at the sink; q never enters the SQL string."

Confirm. Lead: body.filename → open(path, 'w'). Forward cone reaches the sink; reading each hop shows name = body['filename'] (unchecked) → path = base / name → open. /etc/x-style input escapes base. Confirmed, high, impact = arbitrary file write → RCE via config/cron drop.

Rationalizations to reject

  • "The witness path is enough." → Not without reading source on every hop.
  • "There's a sanitizer, it's fine." → Only if it covers this sink's context. Check what it actually enforces.
  • "No path found, so it's safe." → Not if the path would run through a blind spot (reflection, function pointers, dynamic dispatch). Confirm by hand.
  • "I'll skip writing down why I killed it." → Then you re-open it next pass. Record the kill reason.

Executing this in practice

Run the loop with whatever answers three questions from a real parse: what reaches a sink argument (reverse cone), where a source value flows (forward cone), and the exact current source of any function on the path. A code property graph answers all three; a taint-tracking analyzer covers most; on a small target you trace by hand. Step 5 (source confirmation) is never optional - the tool proposes, you confirm.

Related

  • hunting-bugs-with-a-code-graph - the master loop that surfaces leads.
  • auditing-guard-gaps - when the "sanitizer" is present on one path but missing on a sibling.
  • FINDING-SCHEMA.md - the shape every decision takes.

Frequently asked questions

What does the Adjudicating Taint Paths AI skill do?

Decide whether a whitebox lead is a real bug by tracing taint from an untrusted source to a dangerous sink and confirming every hop against live source. Use after a scanner, a candidate list, or your own reading surfaces a "this looks dangerous" sink (SQL exec, system/exec, file open, deserialize, template render, redirect target, memcpy) and you must decide whether attacker- controlled input actually reaches it - or kill the lead with evidence. Covers forward and reverse taint, witness paths, sanitizer analysis, and the evidence rules that separate a finding from a false positive.

Why use Adjudicating Taint Paths on TypingMind?

Because you install it once and use it with any model. Adjudicating Taint Paths is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Adjudicating Taint Paths in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/adjudicating-taint-paths. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Adjudicating Taint Paths?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Adjudicating Taint Paths?

As many as you like. As long as a model supports skills, you can use Adjudicating Taint Paths with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Adjudicating Taint Paths AI skill free?

Yes. It is published on GitHub by UnboundCompute under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇