CSO Security Audit
garrytan/gstack
Runs an evidence-first security audit of a codebase through gstack's trusted launcher, with static findings by default and isolated reproduction when enabled.
Builds a code graph of functions, classes and calls across languages, then queries it for call paths, taint, blast radius, entry points and complexity hotspots.
$ npx skills add trailofbits/skills --skill trailmark -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install trailofbits/skills trailmark --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/trailmark/skills/trailmark .claude/skills/trailmark && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "trailmark" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark into .claude/skills/trailmark/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmarkType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add trailofbits/skills --skill trailmark -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install trailofbits/skills trailmark --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/trailmark/skills/trailmark .agents/skills/trailmark && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "trailmark" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark into .agents/skills/trailmark/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trailofbits/skills --skill trailmark -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install trailofbits/skills trailmark --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/trailmark/skills/trailmark .cursor/skills/trailmark && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "trailmark" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark into .cursor/skills/trailmark/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/trailofbits/skills.git --path plugins/trailmark/skills/trailmark--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add trailofbits/skills --skill trailmark -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install trailofbits/skills trailmark --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/trailmark/skills/trailmark .gemini/skills/trailmark && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "trailmark" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark into .gemini/skills/trailmark/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install trailofbits/skills trailmarkInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add trailofbits/skills --skill trailmark -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/trailmark/skills/trailmark .github/skills/trailmark && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "trailmark" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark into .github/skills/trailmark/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trailofbits/skills --skill trailmark -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install trailofbits/skills trailmark --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trailofbits/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/trailmark/skills/trailmark .opencode/skills/trailmark && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "trailmark" agent skill from https://github.com/trailofbits/skills/tree/main/plugins/trailmark/skills/trailmark into .opencode/skills/trailmark/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trailmark", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
trailmarkBuilds a code graph of functions, classes and calls across languages, then queries it for call paths, taint, blast radius, entry points and complexity hotspots.
The agent parses source code, and optionally imported binary-analysis graphs, into a directed graph of functions, classes and calls with semantic metadata. Pre-analysis passes add blast radius, taint propagation, privilege boundaries, entry point enumeration and tracking of proxy or unresolved calls. Queries cover transitive slices, entry point paths, type references, subgraph edges, graph diffs and SQL schema graphs.
It is meant for audit preparation on polyglot projects, so it supports links declared in .trailmark/links.toml for cross-language, FFI and external calls, and recommends language auto-detection when the target is unknown. It insists on running pre-analysis before handing results to other skills, building the whole graph rather than sampling, counting uncertain edges in security claims and checking the installed Trailmark version before using newer APIs. The analysis is static, not runtime.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 82fe822. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
uvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Trailmark Code Graphs loads about 4.3k tokens when it runs, and up to ~8k if it reads all its reference files. Until then it costs about 226 tokens; SKILL.md has 1,436 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from trailofbits/skills at commit 82fe822, republished under its CC-BY-SA-4.0 licence (© trailofbits). 1,436 words, ~4,345 tokens.
.claude/skills/trailmark/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Parses source code into a directed graph of functions, classes, calls, and semantic metadata for security analysis.
diagramming-code skill or draw by hand)| Rationalization | Why It's Wrong | Required Action |
|---|---|---|
| "I'll just read the source files manually" | Manual reading misses call paths, blast radius, and taint data | Install trailmark and use the API |
| "Pre-analysis isn't needed for a quick query" | Blast radius, taint, and privilege data are only available after preanalysis() | Always run engine.preanalysis() before handing off to other skills |
| "The graph is too large, I'll sample" | Sampling misses cross-module attack paths | Build the full graph; use subgraph queries to focus |
| "Uncertain edges don't matter" | Dynamic dispatch is where type confusion bugs hide | Account for uncertain edges in security claims |
| "Single-language analysis is enough" | Polyglot repos have FFI boundaries where bugs cluster | Use the correct --language flag per component |
| "Complexity hotspots are the only thing worth checking" | Low-complexity functions on tainted paths are high-value targets | Combine complexity with taint and blast radius data |
| "The docs mention a version-gated method, so I can call it anywhere" | Many environments still have Trailmark 0.2.x installed | Check the installed version or probe feature availability before using v0.4+/v0.5+ features |
MANDATORY: If trailmark is not found, install the CLI before doing anything else:
uv tool install trailmarkA tool install provides the CLI only — it does not make import trailmark resolvable.
Run the Python snippets in this skill with uv run --with trailmark python -; that, not
installation, is the fix for an import error or ModuleNotFoundError in a snippet.
DO NOT fall back to "manual verification", "manual analysis", or reading source files by hand as a substitute for running trailmark. The tool must be installed and used programmatically. If installation fails, report the error to the user instead of silently switching to manual code reading.
Trailmark 0.4.0 expands the graph model and query surface, and 0.5.0 adds a SQL parser, repository-link configuration, and richer entrypoint metadata. Before using a feature listed as v0.4+ or v0.5+, check the installed version:
trailmark --version 2>/dev/null || uv run trailmark --version 2>/dev/nullCompare the reported version numerically (not lexically). 0.4.0 or newer
means the full v0.4 surface is available. The version command itself was added
in 0.2.2, so a failure means either a pre-0.2.2 install or trailmark missing
entirely — distinguish with trailmark analyze --help. When working
programmatically, probe with hasattr() and fall back instead of assuming a
v0.4-only method exists:
if hasattr(engine, "subgraph_edges"):
edges = engine.subgraph_edges("tainted")
else:
# v0.2 fallback: filter engine.to_json() edges whose endpoints
# are both in engine.subgraph("tainted")
edges = []v0.2-safe baseline: CLI analyze, diff, entrypoints, augment, and
--language auto; QueryEngine.from_directory(), callers_of(),
callees_of(), paths_between(), ancestors_of(), reachable_from(),
entrypoint_paths_to(), complexity_hotspots(), attack_surface(),
summary(), to_json(), preanalysis(), annotate(), annotations_of(),
nodes_with_annotation(), clear_annotations(), findings(), subgraph(),
subgraph_names(), diff_against(), augment_sarif(), and
augment_weaudit().
Added in 0.2.2: CLI --version flag and version subcommand.
Added in 0.3.x: the trailmark.parse module with module-level
detect_languages() and supported_languages(). detect_languages() itself
is v0.2-safe via from trailmark.query.api import detect_languages (kept as a
deprecated alias in 0.3+); supported_languages() has no 0.2.x equivalent.
v0.4+ features: native diagram subcommand; expanded parser coverage;
proxy nodes for unresolved calls; node origins; binary graph augmentation via
augment_binary(); connect_subgraphs(); subgraph_edges();
generic_parameters(); and type_references().
v0.5+ features: sql parser (PostgreSQL-oriented schemas, tables, views,
functions, procedures, dependencies); node kinds schema, table, view,
procedure; .trailmark/links.toml repository-link configuration (see
Repository Links below), including proxy.external:<symbol> nodes for
declared external endpoints; repository links, unresolved-call proxies, and
type_uses edges now materialize for single-language directory parses (0.4
emitted them only for polyglot parses); Solidity entrypoints detected from
parser metadata (interfaces excluded; solidity_visibility,
solidity_mutability, solidity_override, solidity_container_kind, and
solidity_overridden_by node attributes); attack_surface() entries carry an
attributes key when the node has attributes; TypeScript resolves receivers
assigned with new ConcreteClass(); C# file-scoped namespaces.
v0.5.0 adds no new QueryEngine methods, so hasattr(engine, ...) cannot
detect it. Gate v0.5 features on the reported version, or probe structurally:
from trailmark.models.nodes import NodeKind
has_v05 = "SCHEMA" in NodeKind.__members__ # sql kinds are 0.5+# Auto-detect and merge every supported language under the tree
uv run trailmark analyze --language auto --summary {targetDir}
# Explicit languages (single language or comma-separated list)
uv run trailmark analyze --language rust {targetDir}
uv run trailmark analyze --language python,rust {targetDir}
# Complexity hotspots
uv run trailmark analyze --language auto --complexity 10 {targetDir}
# Entrypoint inventory and structural diff (v0.2-safe)
uv run trailmark entrypoints --language auto {targetDir}
uv run trailmark diff --language auto --repo {repoDir} main HEAD --json
# Version report (0.2.2+)
uv run trailmark --version
# v0.4+: native diagram command
uv run trailmark diagram -t {targetDir} -T call-graph -f main --depth 2# trailmark.parse is a 0.3+ module; on 0.2.x import detect_languages from
# trailmark.query.api instead (supported_languages has no 0.2.x equivalent)
from trailmark.parse import detect_languages, supported_languages
from trailmark.query.api import QueryEngine
# Ask the installed Trailmark build what it supports
supported_languages()
detect_languages("{targetDir}")
# Prefer auto for unknown or polyglot trees; use explicit lists when needed
engine = QueryEngine.from_directory("{targetDir}", language="auto")
engine = QueryEngine.from_directory("{targetDir}", language="python,rust")
engine.callers_of("function_name")
engine.callees_of("function_name")
engine.paths_between("entry_func", "db_query")
engine.complexity_hotspots(threshold=10)
engine.attack_surface()
engine.summary()
engine.to_json()
# Transitive slices and entrypoint path queries (v0.2-safe)
engine.ancestors_of("sensitive_sink")
engine.reachable_from("entry_func")
engine.entrypoint_paths_to("sensitive_sink")
# v0.4+: connect named subgraphs
if hasattr(engine, "connect_subgraphs"):
engine.connect_subgraphs("tainted", "privilege_boundary")
# Run pre-analysis (blast radius, entrypoints, privilege
# boundaries, taint propagation)
result = engine.preanalysis()
# Query subgraphs created by pre-analysis
engine.subgraph_names()
engine.subgraph("tainted")
engine.subgraph("high_blast_radius")
engine.subgraph("privilege_boundary")
engine.subgraph("entrypoint_reachable")
if hasattr(engine, "subgraph_edges"):
engine.subgraph_edges("tainted")
# Add LLM-inferred annotations
from trailmark.models import AnnotationKind
engine.annotate("function_name", AnnotationKind.ASSUMPTION,
"input is URL-encoded", source="llm")
# Query annotations (including pre-analysis results)
engine.annotations_of("function_name")
engine.annotations_of("function_name",
kind=AnnotationKind.BLAST_RADIUS)
engine.annotations_of("function_name",
kind=AnnotationKind.TAINT_PROPAGATION)
engine.nodes_with_annotation(AnnotationKind.FINDING)
engine.clear_annotations("function_name", kind=AnnotationKind.ASSUMPTION)
# v0.4+: generic/type-reference and binary augmentation APIs
if hasattr(engine, "generic_parameters"):
engine.generic_parameters("GenericTypeOrFunction")
if hasattr(engine, "type_references"):
engine.type_references("function_name")
if hasattr(engine, "augment_binary"):
engine.augment_binary("binary_graph.json")Always run engine.preanalysis() before handing off to genotoxic or
diagramming-code skills. Pre-analysis enriches the graph with four passes:
Results are stored as annotations and named subgraphs on the graph.
For detailed documentation, see references/preanalysis-passes.md.
Do not hardcode a stale language table in downstream workflows. Ask the installed Trailmark build what it supports:
from trailmark.parse import detect_languages, supported_languages
supported_languages()
detect_languages("{targetDir}")CLI patterns:
# Auto-detect and merge
uv run trailmark analyze --language auto {targetDir}
# Explicit list for a known polyglot target
uv run trailmark analyze --language python,rust {targetDir}As of Trailmark 0.5.0, parser names include: python, javascript,
typescript, php, ruby, c, cpp, c_sharp, java, go, rust,
solidity, cairo, circom, haskell, erlang, masm, swift, objc,
kotlin, dart, move, tact, func, sway, rego, proto, thrift,
graphql, and sql (added in 0.5.0; PostgreSQL-oriented, .sql files).
Treat this list as documentation, not a source of truth; call
supported_languages() on the installed build before relying on a parser.
Parsers cannot see cross-language calls (FFI, RPC, IPC, contract invocation)
or edges into external systems. Declare them in .trailmark/links.toml at the
analysis root and Trailmark materializes the edges on every parse — this is a
stable public configuration interface:
[[link]]
source = "backend:submit"
target = "contract:Verifier.verify"
kind = "calls" # any EdgeKind; defaults to calls
confidence = "certain" # certain | inferred | uncertain; defaults to inferred
description = "JSON-RPC eth_call"
[[link]]
source = "backend:notify"
target = "payments-webhook"
target_external = true # required because target is unresolvedEndpoint references may be exact node IDs or unique names/suffixes. Validation
fails closed: ambiguous references, unknown internal endpoints, invalid enum
values, and malformed TOML raise ValueError rather than silently weakening
the graph. source_external = true / target_external = true permit an
unresolved endpoint by creating a proxy.external:<symbol> node. Configured
edges carry a configured_by = .trailmark/links.toml attribute so they are
distinguishable from parser-derived edges.
Use this when the audit spans an FFI/RPC boundary the rationalization table warns about: declare the boundary edges first, then path and taint queries cross them like any other call edge.
Node kinds: function, method, class, module, struct,
interface, trait, enum, namespace, contract, library,
template; v0.4+ also materializes unresolved references as proxy
nodes; v0.5+ adds schema, table, view, and procedure for SQL
graphs.
Node origins: v0.4+ nodes may carry origin source, proxy,
binary, or synthetic. v0.2 exports may omit origin.
Edge kinds: calls, inherits, implements, contains, imports;
v0.4+ adds resolves_to, type_uses, specializes, and
corresponds_to.
Edge confidence: certain (direct call, self.method()), inferred
(attribute access on non-self object), uncertain (dynamic dispatch)
assumption, precondition, postcondition, invariant,
blast_radius, privilege_boundary, taint_propagation, finding,
audit_note (last two set by augment_sarif / augment_weaudit)Declared contract vs. effective input domain: Trailmark separates what a function declares it accepts from what can actually reach it via call paths. Mismatches are where vulnerabilities hide:
Edge confidence: Dynamic dispatch produces uncertain edges. Account for
confidence when making security claims.
Proxy nodes (v0.4+): Unresolved calls are preserved as nodes such as
proxy.unresolved:<symbol>. Do not treat these as source code functions; use
them to identify resolution gaps, dynamic dispatch, external APIs, or binary
linkage candidates. v0.5+ also emits proxy.external:<symbol> nodes for
endpoints declared external in .trailmark/links.toml.
Reachability is not taint: entrypoint_paths_to() and the taint subgraph
answer different questions. Path queries report call-graph reachability;
preanalysis taint marks nodes reachable from untrusted entrypoints as a coarse
signal. Trailmark does not perform interprocedural taint analysis — do not
present either as proof that attacker-controlled data reaches a sink.
Binary augmentation (v0.4+): engine.augment_binary() imports an external
binary-analysis graph JSON file. Trailmark connects it to source nodes when
possible; it does not disassemble binaries itself.
Subgraphs: Named collections of node IDs produced by pre-analysis.
Query with engine.subgraph("name"). Available after engine.preanalysis().
See references/query-patterns.md for common security analysis patterns.
See references/preanalysis-passes.md for pre-analysis pass documentation.
Use trailmark-finding-triage when the user has one concrete candidate
finding, SARIF result, weAudit annotation, suspicious function, or report
excerpt and needs a handoff-ready reachability and blast-radius evidence packet.
Use trailmark-variant-neighborhood after one seed issue is known and the user
needs graph-derived variant candidates for variant-analysis, Semgrep, CodeQL,
or manual review.
© trailofbits, CC-BY-SA-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references, assets) in plugins/trailmark/skills/trailmark of trailofbits/skills.
Open the folder on GitHubat commit 82fe822
We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in trailofbits/skills, which our catalogue first saw on October 7, 2026.
Trailmark Code Graphs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Trailmark Code Graphs this skilltrailofbits/skills | 7.4k | 1 repos | ~4.3k | Automated safety check: Pass | CC-BY-SA-4.0 | |
| CSO Security Auditgarrytan/gstack | 136k | — | ~4.5k | Automated safety check: Pass | MIT | |
| Security ReviewerAratKruglik/claude-laravel | 155 | 1 repos | ~1.1k | Automated safety check: Notes | None | |
| Security Auditstaruhub/ClaudeSkills | 727 | — | ~1.3k | Automated safety check: Notes | MIT | |
| Golang Securityunxed/f4 | 241 | 2 repos | ~3.6k | Automated safety check: Pass | MIT | |
| Audit Integritygithub/awesome-copilot | 40k | — | ~1k | Automated safety check: Pass | MIT |
garrytan/gstack
Runs an evidence-first security audit of a codebase through gstack's trusted launcher, with static findings by default and isolated reproduction when enabled.
AratKruglik/claude-laravel
A skill your agent uses when conducting security audits, reviewing code for vulnerabilities, or analyzing infrastructure security.
staruhub/ClaudeSkills
全面的代码安全检查和服务器安全审计skill。适用于:(1) 代码漏洞扫描 - 检测SQL注入、XSS、SSRF等OWASP Top 10漏洞,(2) 依赖安全检查 - 识别过时或有漏洞的第三方库,结合实时搜索确认最新CVE,(3) 服务器配置审计 - 检查SSH、防火墙、权限等安全配置,(4) 敏感信息泄露检测 - API密钥、密码、令牌等硬编码检测,(5) 容器安全扫描 -…
unxed/f4
Security best practices and vulnerability prevention for Golang — injection (SQL, command, XSS), cryptography, path traversal, SSRF and HTTP security headers, cookies, secrets management, memory…
github/awesome-copilot
Enforce output quality, evidence verification, and quality gates across security audits.
LeoYeAI/openclaw-master-skills
Comprehensive code security audit with AI-powered vulnerability detection.
trailofbits/skills
Generates Mermaid diagrams from Trailmark code graphs, including call graphs, class hierarchies, module dependency maps, complexity heatmaps and attack surface data flows.
trailofbits/skills
Scans a codebase for vulnerabilities with CodeQL's data flow and taint tracking in run-all or important-only modes, including data extensions for project-specific sources and sinks.
trailofbits/skills
Compares Trailmark code graphs at two snapshots, such as commits, tags or directories, to surface attack paths, blast radius and taint changes that text diffs miss.
trailofbits/skills
Draws a 12 Houses tarot spread to break ties when a request is vague or casually delegated, then reads the cards to pick the next step.
trailofbits/skills
Searches and extracts data from Burp Suite project files on the command line: regex searches over responses, audit findings, proxy history and site map data.
trailofbits/skills
Detects languages, proposes rulesets for approval, then runs the approved Semgrep scan across a codebase and merges the output into one SARIF file.
Works with
Categories
Builds a code graph of functions, classes and calls across languages, then queries it for call paths, taint, blast radius, entry points and complexity hotspots. The agent parses source code, and optionally imported binary-analysis graphs, into a directed graph of functions, classes and calls with semantic metadata. Pre-analysis passes add blast radius, taint propagation, privilege boundaries, entry point enumeration and tracking of proxy or unresolved calls.
Trailmark Code Graphs fits situations like: mapping call paths from user input to sensitive functions; finding complexity hotspots to prioritize an audit; enumerating entry points and attack surface in a polyglot repository; measuring blast radius and tracing taint for a suspicious function.
Run `npx skills add trailofbits/skills --skill trailmark -a claude-code`. Or copy the skill folder (plugins/trailmark/skills/trailmark in trailofbits/skills) into .claude/skills/trailmark in your project. Claude Code loads it when a task matches its description.
Run `npx skills add trailofbits/skills --skill trailmark -a codex`. Or copy the skill folder (plugins/trailmark/skills/trailmark in trailofbits/skills) into .agents/skills/trailmark in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add trailofbits/skills --skill trailmark -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/trailmark, .gemini/skills/trailmark, .github/skills/trailmark and .opencode/skills/trailmark in your project.
Going by SKILL.md and its folder, Trailmark Code Graphs needs the command-line tools its instructions call (uv). Our summary lists: The Trailmark package.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Trailmark Code Graphs is published under the CC-BY-SA-4.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.3k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Trailmark Code Graphs: CSO Security Audit (garrytan/gstack, 136k stars), Security Reviewer (AratKruglik/claude-laravel, 155 stars), Security Audit (staruhub/ClaudeSkills, 727 stars) and Golang Security (unxed/f4, 241 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
trailofbits (a GitHub organization, an official publisher) maintains it in trailofbits/skills, which has 7,420 GitHub stars. The repository holds 79 skills in this directory. The repository was last updated on October 7, 2026.
Source: trailofbits/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.