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.
npx skills add canonical/charm-tech --skill ct-security-reviewgit clone --depth 1 https://github.com/canonical/charm-techWrote 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.
[](https://agentmods.dev/skills/canonical/charm-tech/ct-security-review)<a href="https://agentmods.dev/skills/canonical/charm-tech/ct-security-review"><img src="https://agentmods.dev/badge/skills/canonical/charm-tech/ct-security-review.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00062 | $0.02857 |
| Opus 5 | $0.00031 | $0.01429 |
| Sonnet 5 | $0.00012 | $0.00571 |
| Haiku 4.5 | $0.00006 | $0.00286 |
Grade A, and why
ct-security-review scanned grade A with 2 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 7d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
response = requests.get(f"{settings.SEER_AUTOFIX_URL}{path}") Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
child_process.exec(user) # Node.js This is a copy
98% identical to security-review — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 315 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Review Skill
Identify exploitable security vulnerabilities in code. Report only HIGH CONFIDENCE findings—clear vulnerable patterns with attacker-controlled input.
Scope: Research vs. Reporting
CRITICAL DISTINCTION:
- Report on: Only the specific file, diff, or code provided by the user
- Research: The ENTIRE codebase to build confidence before reporting
Before flagging any issue, you MUST research the codebase to understand:
- Where does this input actually come from? (Trace data flow)
- Is there validation/sanitization elsewhere?
- How is this configured? (Check settings, config files, middleware)
- What framework protections exist?
Do NOT report issues based solely on pattern matching. Investigate first, then report only what you're confident is exploitable.
Confidence Levels
| Level | Criteria | Action |
|---|---|---|
| HIGH | Vulnerable pattern + attacker-controlled input confirmed | Report with severity |
| MEDIUM | Vulnerable pattern, input source unclear | Note as "Needs verification" |
| LOW | Theoretical, best practice, defense-in-depth | Do not report |
Do Not Flag
General Rules
- Test files (unless explicitly reviewing test security)
- Dead code, commented code, documentation strings
- Patterns using constants or server-controlled configuration
- Code paths that require prior authentication to reach (note the auth requirement instead)
Server-Controlled Values (NOT Attacker-Controlled)
These are configured by operators, not controlled by attackers:
| Source | Example | Why It's Safe |
|---|---|---|
| Django settings | settings.API_URL, settings.ALLOWED_HOSTS |
Set via config/env at deployment |
| Environment variables | os.environ.get('DATABASE_URL') |
Deployment configuration |
| Config files | config.yaml, app.config['KEY'] |
Server-side files |
| Framework constants | django.conf.settings.* |
Not user-modifiable |
| Hardcoded values | BASE_URL = "https://api.internal" |
Compile-time constants |
What ships with it
21 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- infrastructure/docker.md 9.2 KB
- languages/javascript.md 9.9 KB
- languages/python.md 9.3 KB
- LICENSE 884 B
- references/api-security.md 12 KB
- references/authentication.md 8.9 KB
- references/authorization.md 9.8 KB
- references/business-logic.md 12 KB
- references/cryptography.md 8.5 KB
- references/csrf.md 9.7 KB
- references/data-protection.md 9.3 KB
- references/deserialization.md 10.0 KB
- references/error-handling.md 11 KB
- references/file-security.md 12 KB
- references/injection.md 6.7 KB
- references/logging.md 12 KB
- references/misconfiguration.md 10 KB
- references/modern-threats.md 13 KB
- references/ssrf.md 11 KB
- references/supply-chain.md 9.0 KB
- references/xss.md 7.4 KB
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.
- 7d ago First seen · 315 lines · 62 tokens per session scan A d6197891a5c9
ct-security-review is a skill published in the GitHub repository canonical/charm-tech (2 stars, last pushed 22d ago), licensed Apache-2.0. It adds 62 tokens to every session and 2,857 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). It is 98% identical to security-review, differing in 8 lines, and is treated as a copy.
Other skills, from other repositories
autoreview
Pre-commit/ship code review: Codex default; optional Claude or Pi.
rework-rate
Measure and interpret PR rework rate — the emerging 5th DORA metric.
omh-code-review
This is a Hermes-native code-review workflow skill.
revdiff-plan
Review the last Codex assistant message (plan, analysis, or proposal) with inline annotations in a TUI overlay. Extracts the most recent response from Codex rollout files and opens it in revdiff for review and annotation. Activates on "revdiff-plan", "review plan with revdiff", "annotate plan", "review last response"…
code-reviewer
Code review specialist focused on patterns, bugs, security, and performance.
agent-teams-simplify-and-harden
Implementation + audit loop using parallel agent teams with structured simplify, harden, and document passes. Spawns implementation agents to do the work, then audit agents to find complexity, security gaps, and spec deviations, then loops until code compiles cleanly, all tests pass, and auditors find zero issues or…