Repository navigation
Rules Catalog
The binary embeds the core pack tripcord/core@2026.11
(rules/pack.yaml). Each rule is one
rules/<ID>.yaml file: a CEL when expression over the items the
adapters normalize, a catalog severity, the
harnesses it covers, and a fix. The per-rule pages below give file
lists, examples, and limits. The pack's own index, with a longer
"Detects" summary per rule, is
rules/README.md.
Catalog severity is the severity field of each rule file and the floor
a policy lock uses. TC-CFG-004,
TC-CFG-005, TC-CFG-006,
TC-CFG-007, TC-CFG-016, and
TC-CFG-023 also set severity_when, which is tried in
order once when is true: the first true clause is the severity of that
match, and an item no clause accepts is not a match. A match of
TC-CFG-004 through TC-CFG-007 can be medium, and a match of TC-CFG-023
critical; every TC-CFG-016 clause is high except the embed written by
another Tripcord version (outdated or unverified), which is low. A policy severity override
replaces the per-match result (Policy).
Any rule's match on an item in a dotfiles home/ mirror (a top-level
home/ whose direct children are all dot-entries, holding a harness
config directory such as home/.claude/) is reported at low, with the same
title and fingerprint. So is one in a container image's home/, a nested
home/ of the same shape whose parent directory holds a Dockerfile or
Containerfile. See
TC-CFG-006.
On the wiki, the tables below are generated from rules/*.yaml and
rules/ADVISORIES.json by cmd/wikigen, so they always match the pack
on main.
Generated from rules/*.yaml. Severity is the catalog severity; a rule with severity_when lists the other severities a match can have.
| ID | Title | Severity | Harness | Fix |
|---|---|---|---|---|
| TC-CFG-001 | SessionStart or Setup hook in shared config downloads or runs code from the network | high (or low per match) |
claude, codex, copilot, cursor, gemini
|
Do not fetch code in a SessionStart or Setup hook. Commit the script to the repository, pin what it installs by version and hash, and run it explicitly. |
| TC-CFG-002 | VS Code task that runs when the folder opens (also Cursor and Windsurf) | high | vscode |
Remove runOn: folderOpen or move the task to an explicit script. Cursor and Windsurf open this same .vscode/tasks.json. |
| TC-CFG-003 | MCP server launched through a shell, a pipe to sh, or an inline interpreter | high (or low per match) |
claude, codex, copilot, cursor, gemini, opencode, windsurf, vscode
|
Point command at the server binary and pass its arguments in args, without a shell, an inline interpreter, or a downloaded script. |
| TC-CFG-004 | permissions.allow with a broad rule in shared config | high (or medium, low per match) | claude |
Replace the broad allow with the specific commands or paths the project needs, for example Bash(go test ./...). |
| TC-CFG-005 | Shared config turns off approvals | high (or medium, low per match) |
claude, codex, gemini
|
Remove the mode from the shared file. Claude Code: delete permissions.defaultMode bypassPermissions and skipDangerousModePermissionPrompt, or use acceptEdits with a narrow allow list. Codex: use sandbox_mode workspace-write and an approval_policy other than never, in profiles too. Gemini CLI: remove the yolo approval mode and autoAccept. Anyone who needs the mode can pass it on their own command line. |
| TC-CFG-006 | Hook runs a script outside the repository or at a remote URL | high (or medium, low per match) |
claude, codex, copilot, cursor, gemini, windsurf, generic
|
Commit the script to the repository and reference it by a project-relative path, such as "$CLAUDE_PROJECT_DIR"/.claude/hooks/check.sh, so that review covers what the hook runs. Replace an HTTP hook to a remote host with a committed command hook. |
| TC-CFG-007 | Skill registers hooks from its frontmatter | high (or medium per match) |
claude, generic
|
Move the hook out of the skill's frontmatter into the project's hook configuration (.claude/settings.json), where it is reviewed with the other hooks and runs only in a trusted workspace. If the skill needs a check, have its instructions call a committed script instead. |
| TC-CFG-008 | Cursor, Copilot, or Windsurf hook reaches the network or always allows | high |
copilot, cursor, windsurf
|
Keep shared hooks local: do not send hook input to another host or fetch code from one, and commit what the hook runs. A permission hook should decide from its input; remove a hook that only prints an allow decision, and use the harness's own allow list for commands that are always safe. |
| TC-CFG-009 | Environment setup runs code fetched from an unpinned source | high |
copilot, cursor, devcontainer, devin
|
Commit the setup script to the repository and run it from there, or pin what it downloads: fetch an https URL that names a commit, or download to a file and check its SHA-256 (sha256sum -c) before running it, with && so a mismatch stops setup. |
| TC-CFG-010 | Repository ships an agent plugin, which runs arbitrary code | medium (or low per match) |
claude, opencode
|
Review the plugin's code and what it registers (hooks, MCP servers, commands) before you keep it. Prefer a plugin pinned to a reviewed version or commit, and remove plugins the project does not need. |
| TC-CFG-011 | Hidden Unicode in an agent instructions file | high (or low per match) |
claude, copilot, cursor, gemini, windsurf, generic, devin
|
Remove the hidden code points (the finding names each one's line and column), then review the instructions as they read without them. If a non-Latin script needs a direction mark, use U+200E or U+200F. |
| TC-CFG-012 | Agent instructions ask to read secrets or send them out | low |
claude, copilot, cursor, gemini, windsurf, generic, devin
|
Delete the instruction that reads the environment, a dotenv file, or credentials, or that sends them to an outbound sink. Keep notes that only name .env.example or tell the agent not to reveal secrets. To accept a reviewed file, add a policy exception for this rule and file. |
| TC-CFG-015 | Network or WebFetch allowlist includes a host with a public read-back channel | high | claude |
Remove the host from permissions.allow or sandbox.network.allowedDomains, or scope the fetch further than those allowlists can express (a wrapper script that only reads one fixed, pinned file). If the project genuinely needs to fetch Hugging Face card text or a package index page, treat the result as untrusted input, the way a browsed web page is treated, rather than pre-approving the fetch. |
| TC-CFG-016 | Shared config turns off every hook | high (or low per match) |
claude, copilot, cursor, gemini, generic
|
Remove disableAllHooks (Claude Code, Copilot) or hooksConfig.enabled: false (Gemini CLI) from the shared file. Disabling every hook also disables any hook-based guard the harness would otherwise run, including Tripcord's own; to pause a single hook, remove that hook's own entry or use the harness's managed-hooks allow list instead of a blanket switch. |
| TC-CFG-023 | MCP server pins a package version with a known vulnerability | high (or critical per match) |
claude, codex, copilot, cursor, gemini, opencode, windsurf, vscode
|
Pin the MCP server package to the fixed version named in the finding, or remove the server when no fixed version exists. |
Generated from rules/ADVISORIES.json, the offline list TC-CFG-023 matches. Withdrawn advisories are left out.
| ID | Aliases | Severity | Affected | Summary | Refs |
|---|---|---|---|---|---|
| TCA-2026-0001 | CVE-2026-120338, GHSA-3g72-rrqc-f76c | critical | pypi prefab-ui >= 0.14.0, < 0.21.0 |
prefab-ui before 0.21.0 lets a Generative UI sandbox escape read and write host files through its Pyodide JavaScript bridge | osv.dev, github.com, nvd.nist.gov, github.com |
| TCA-2026-0002 | CVE-2026-117569 | high | git https://github.com/alishahid74/kali-gpt at a608c74module kali_gpt.tools.mcp_server, …/kali_gpt/tools/mcp_server.py
|
kali-gpt through commit a608c74e99910232dd208fee99de860458672b82 passes MCP scanner tool parameters to a shell | nvd.nist.gov, osv.dev, github.com, github.com |
| TCA-2026-0003 | CVE-2025-53967, CVE-2025-15061, GHSA-gxw4-4fc5-9gr5 | high | npm figma-developer-mcp < 0.6.3 |
figma-developer-mcp before 0.6.3 has a command injection | osv.dev, github.com, nvd.nist.gov, nvd.nist.gov |
| TCA-2026-0004 | CVE-2025-6514, GHSA-6xpm-ggf7-wc3p | critical | npm mcp-remote >= 0.0.5, < 0.1.16 |
mcp-remote from 0.0.5 before 0.1.16 has an OS command injection | osv.dev, github.com, nvd.nist.gov |
| TCA-2026-0005 | CVE-2025-68143, GHSA-5cgr-j3jf-jw3v | moderate | pypi mcp-server-git < 2025.9.25 |
mcp-server-git before 2025.9.25 is affected by CVE-2025-68143 | osv.dev, github.com, nvd.nist.gov |
| TCA-2026-0006 | CVE-2025-68144, GHSA-9xwc-hfwc-8w59 | moderate | pypi mcp-server-git < 2025.12.18 |
mcp-server-git before 2025.12.18 is affected by CVE-2025-68144 | osv.dev, github.com, nvd.nist.gov |
| TCA-2026-0007 | CVE-2025-68145, GHSA-j22h-9j4x-23w5 | moderate | pypi mcp-server-git < 2025.12.18 |
mcp-server-git before 2025.12.18 is affected by CVE-2025-68145 | osv.dev, github.com, nvd.nist.gov |
| TCA-2026-0008 | CVE-2026-27735, GHSA-vjqx-cfc4-9h6v | moderate | pypi mcp-server-git < 2026.1.14 |
mcp-server-git before 2026.1.14 is affected by CVE-2026-27735 | osv.dev, github.com, nvd.nist.gov |
| TCA-2026-0009 | CVE-2026-116635, GHSA-r6mm-377j-qg8m | moderate | pypi awslabs.aws-serverless-mcp-server < 0.2.1 |
awslabs.aws-serverless-mcp-server before 0.2.1 lets deployment status project names traverse directories to read or overwrite JSON files | github.com, aws.amazon.com, nvd.nist.gov, pypi.org |
| TCA-2026-0010 | CVE-2026-120323, GHSA-c48q-fjwh-j7gg | moderate | npm @samanhappy/mcphub >= 0.9.10, < 1.1.8 |
@samanhappy/mcphub from 0.9.10 through 1.1.7 discloses information through passthroughHeaders | osv.dev, github.com, nvd.nist.gov, github.com, github.com |
| TCA-2026-0011 | CVE-2026-76894, GHSA-vqff-r82h-9crc | low | npm @aborruso/ckan-mcp-server < 0.4.112 |
@aborruso/ckan-mcp-server before 0.4.112 accepts postMessage events from any origin in its DataStore UI | osv.dev, github.com, nvd.nist.gov |
| TCA-2026-0012 | CVE-2026-61789, GHSA-j656-3hf2-fvjc | moderate | npm @bytebase/dbhub < 0.22.6 |
@bytebase/dbhub before 0.22.6 lets a MySQL comment bypass its read-only SQL check | osv.dev, github.com, nvd.nist.gov |
| TCA-2026-0013 | CVE-2026-76892, GHSA-4p8p-pjpq-2w7h | high | npm @tsparticles/mcp-server < 4.3.1 |
@tsparticles/mcp-server before 4.3.1 parses an HTTP request body outside the error handler, so malformed JSON exits the process | nvd.nist.gov, github.com, github.com, github.com |
| TCA-2026-0014 | CVE-2026-63655, GHSA-447x-qqwf-m7xq | high | npm @tsparticles/mcp-server < 4.3.1 |
@tsparticles/mcp-server before 4.3.1 buffers an HTTP POST body with no size limit | nvd.nist.gov, github.com, github.com, github.com |
| TCA-2026-0015 | CVE-2026-76893, GHSA-h7c4-q426-7jh9 | moderate | npm @tsparticles/mcp-server < 4.3.2 |
@tsparticles/mcp-server before 4.3.2 reuses one HTTP transport, so the first client initialize blocks later clients | nvd.nist.gov, github.com, github.com, github.com |
| TCA-2026-0016 | CVE-2026-119025, GHSA-q978-78c7-phqw | high | npm open >= 7.2.0, < 11.0.0npm @modelcontextprotocol/inspector >= 2.0.0, < 2.12.0npm opencode-ai >= 1.0.137, < 1.18.33 |
open from 7.2.0 before 11.0.0 passes URLs into PowerShell -EncodedCommand without escaping on Windows/WSL, so crafted URLs, including an OAuth authorization_endpoint from a remote MCP server as described for Inspector, can execute PowerShell subexpressions | osv.dev, nvd.nist.gov, github.com |
| TCA-2026-0017 | CVE-2026-102610, GHSA-9vhv-g5hf-m7m7 | moderate | pypi fast-agent-mcp < 0.7.21 |
fast-agent-mcp before 0.7.21 runs fast-agent serve over HTTP on 0.0.0.0:8000 with no authentication, so with --shell any client that reaches /mcp can run OS commands | osv.dev, github.com, nvd.nist.gov, github.com, pypi.org |
| TCA-2026-0018 | CVE-2026-77604, GHSA-vvr2-h2jp-838m | high | pypi code-graph-rag < 0.0.345 |
code-graph-rag before 0.0.345 lets a paginated MCP read_file call traverse paths and read arbitrary files | github.com, nvd.nist.gov |
| TCA-2026-0019 | CVE-2026-87008, GHSA-85gg-2gfq-q95m | high | pypi code-graph-rag < 0.0.587 |
code-graph-rag through 0.0.586 lets its structural tools follow symlinks that point outside the repository root | github.com, nvd.nist.gov |
| TCA-2026-0020 | CVE-2026-123811, GHSA-p7w7-4929-vpj5 | high | npm @dynatrace-oss/dynatrace-mcp-server < 2.0.0 |
@dynatrace-oss/dynatrace-mcp-server through 1.8.7 serves tools/call over HTTP with no authentication and no Host or Origin check | github.com, nvd.nist.gov |
| TCA-2026-0021 | CVE-2026-123809, GHSA-xrmj-5g4g-8987 | moderate | npm @dynatrace-oss/dynatrace-mcp-server < 2.0.0 |
@dynatrace-oss/dynatrace-mcp-server before 2.0.0 has a Jinja2 template injection in create_workflow_for_notification | github.com, nvd.nist.gov |
| TCA-2026-0022 | CVE-2026-123810, GHSA-pqh8-p93p-2rx7 | moderate | npm @dynatrace-oss/dynatrace-mcp-server < 2.1.1 |
@dynatrace-oss/dynatrace-mcp-server before 2.1.1 has a parameter-based DQL injection | github.com, nvd.nist.gov |
| TCA-2026-0023 | CVE-2026-123812, GHSA-pc2w-4mq8-32qw | low | npm @dynatrace-oss/dynatrace-mcp-server < 1.8.7 |
@dynatrace-oss/dynatrace-mcp-server before 1.8.7 lets create_dynatrace_notebook write a notebook without human approval | github.com, nvd.nist.gov |
| TCA-2026-0024 | CVE-2026-124503, GHSA-qh7q-jmc7-rc7j | high | pypi mcp-atlassian < 0.24.1 |
mcp-atlassian before 0.24.1 has a path traversal in validate_safe_path (src/mcp_atlassian/utils/io.py) that lets the upload guard read files outside the intended directory | osv.dev, nvd.nist.gov, github.com |
| TCA-2026-0025 | CVE-2026-125271, GHSA-4wq9-grf3-qg2p | high | pypi awslabs.aws-api-mcp-server >= 0.2.13, < 1.5.1 |
awslabs.aws-api-mcp-server from 0.2.13 before 1.5.1 does not enforce denyList and elicitList for AWS API operation names that contain consecutive capital letters | github.com, aws.amazon.com, nvd.nist.gov, pypi.org |
| TCA-2026-0026 | CVE-2026-65957, GHSA-2c3r-q7gv-hp2m | moderate | npm @gethelio/proxy < 0.8.0 |
@gethelio/proxy before 0.8.0 matches dashboard CORS origins by a hostname prefix, so a public DNS name such as 192.168.attacker.com is allowed | osv.dev, nvd.nist.gov, github.com |
Two documented ids have no rules/<ID>.yaml:
-
TC-CFG-013, an AI coding-agent workflow triggered by
an event a non-collaborator can produce, is a known gap: it is
documentation-only in v0. Coverage is meant to come from zizmor's
agentic-actionsaudit once it is released (#41). -
TC-CFG-014, an agent-config change in an
agent-authored pull request with no human approval, is not a CEL rule.
tripcord pr-contextevaluates it.
Ids TC-CFG-017 through TC-CFG-022 are not allocated. Every allocated id
is in rules/REGISTRY, which is append-only.
The rule format, the id registry, and fixtures are described in CONTRIBUTING. Run one rule's fixtures with:
make test-rule ID=TC-CFG-001This wiki is generated from docs/ on main by cmd/wikigen. Do not edit it here: change docs/ and open a pull request. Apache-2.0.
Start
Commands
CI and hooks
Configuration
Adapters
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- OpenCode
- Windsurf
- Devin
- Dev Container
- Shared Files
Project