Charles950311

Taintlens Code Audit — Security skill for Claude Code

Security community

Free MIT security-audit skill for coding agents (Claude Code, dsh, Codex, Cursor): taint analysis, 0-10 severity rubric, PoC-grade output contract.

How to install Taintlens Code Audit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Charles950311/taintlens-code-audit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Taintlens Code Audit does

Free MIT security-audit skill for coding agents (Claude Code, dsh, Codex, Cursor): taint analysis, 0-10 severity rubric, PoC-grade output contract. Entry points -> sources -> sinks, only walkable paths reported.

Alternatives in Security

  • Cve MCP Server — Production-grade MCP server giving Claude 27 security intelligence tools across 21 APIs — CVE lookup, EPSS sco 1.2k ★
  • /chain — Build an A→B→C exploit chain for higher severity and payout 927 ★
  • Maestro Odyssey — Long-running iterative cycle — one entry, seven modes (debug improve planex review security defensive ui) 530 ★

README

taintlens-code-audit

**A free, MIT-licensed security-audit skill for coding agents** — Claude Code, DeepSeek Harness (dsh), Codex-style CLIs, Cursor, anything that reads the [SKILL.md](https://agentskills.io/specification) format.

It audits code the way an attacker reads it: map the entry points, follow attacker-controlled data, land on a sink — and only report a finding when the path is walkable, with the minimal request that proves it.

[SEV-High 8] SQLi — orders/api.py:57
Entry point : GET /orders/
Taint path  : request.view_args["id"] -> f-string -> cursor.execute()
Sanitizer   : none (string interpolation, not parameter binding)
Authz       : session user checked, but row ownership not (IDOR also open)
PoC         : GET /orders/1%20OR%201=1 with session cookie of user B
Fix         : cursor.execute("... WHERE id=%s AND owner=%s", (id, session.user))

No walkable path means a **Hardening** appendix entry — never an inflated "vulnerability". That honesty rule is the whole point: an audit you cannot act on is noise.

What the skill contains

  • A 7-pass method: entry points → sources → sinks → taint walk → per-object authz → secrets → dependencies
  • A 0–10 severity rubric with explicit adjust rules, so two runs produce comparable bands
  • Sink cheat-sheets for Python, JS/TS, Java, Go, PHP
  • A strict output contract: file:line, taint path, sanitizer verdict, authz verdict, minimal PoC, smallest fix

Install

Copy this folder into whatever your agent treats as a skills directory:

  • Claude Code: ~/.claude/skills/taintlens-code-audit/
  • DeepSeek Harness: copy (or junction) into %USERPROFILE%\.dsh\skills\
  • Anything else: point your agent at the folder and let it read SKILL.md

No dependencies, no scripts to run, nothing leaves your machine — it is a method written down, not a program. Python 3.14 wrote the example; the skill itself is just instructions.

Try it in two minutes

  1. Install the skill (above).
  2. Point