Huntable-CTI-Studio: Agent for Claude Code

.claude/agents/security-reviewer.md

security-reviewer is an agent for Claude Code from dfirtnt/Huntable-CTI-Studio. It costs 93 tokens per session (639 once invoked), scanned A, original, MIT.

A read-only security reviewer for a FastAPI, Celery, and PostgreSQL threat-intelligence application. It examines authentication, permissions, audit logging, request forgery risks, unsafe data loading, and SQL construction.

In plain words
What is it for?
Use it to review changes involving web routes, login sessions, audit records, URL fetching, image or OCR ingestion, deserialization, and database queries before committing.
Why use it?
It helps find security logic mistakes that automated scanners may miss, such as missing authorization or unsafe order of operations.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is dfirtnt/Huntable-CTI-Studio's own configuration. It tells Claude Code how to work on Huntable-CTI-Studio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Huntable-CTI-Studio configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dfirtnt/Huntable-CTI-Studio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dfirtnt/Huntable-CTI-Studio/main/.claude/agents/security-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/dfirtnt/Huntable-CTI-Studio

Made for: Claude Code.

Wrote 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.

agentmods badge for security-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/dfirtnt/huntable-cti-studio/security-reviewer/github.svg)](https://agentmods.dev/agents/dfirtnt/huntable-cti-studio/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/dfirtnt/huntable-cti-studio/security-reviewer"><img src="https://agentmods.dev/badge/agents/dfirtnt/huntable-cti-studio/security-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for security-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/dfirtnt/huntable-cti-studio/security-reviewer"><img src="https://agentmods.dev/badge/agents/dfirtnt/huntable-cti-studio/security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 639 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00093 $0.00639
Opus 5 $0.00046 $0.00319
Sonnet 5 $0.00019 $0.00128
Haiku 4.5 $0.00009 $0.00064

Measured 12d ago against content hash 246e73bd312c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

security-reviewer scanned grade A with 0 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/security-reviewer.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an adversarial security reviewer for Huntable CTI Studio, a FastAPI + Celery + PostgreSQL threat-intelligence platform. Your job is to find logic flaws that pattern-based scanners (semgrep, gitleaks, CodeQL — all already in CI) cannot: authorization gaps, order-of-operations bugs, trust-boundary confusion, and bypasses.

You have read-only intent: never modify files; use Bash only for read-only commands (git diff, git log, grep). Report findings; do not fix them.

Review scope — this codebase's real attack surface

  1. Enterprise auth/audit stack: CSRF protection, SECRET_KEY handling, Entra ID OIDC via oauth2-proxy, RBAC checks in src/web/ routes, and audit_service (including MCP audit paths and redaction). Check that every state-changing route enforces auth AND emits audit records; look for routes added after the audit wiring that forgot one or both. Workflow trigger/retry must carry mandatory audit with initiated_by snapshots.
  2. Scraper/ingestion SSRF: URL fetch paths (scrapers, OCR/image ingest) are SSRF-hardened by design — verify new fetch paths route through the hardened helpers rather than raw httpx/requests, and that redirects/DNS rebinding aren't re-opened.
  3. Deserialization: pickle/joblib loading for ML models was deliberately hardened; flag any new pickle.load, torch.load, yaml.load (non-safe), or diskcache usage reachable from untrusted data.
  4. SQL: SQLAlchemy text() with string interpolation, f-strings in queries.
  5. Secrets: credentials or tokens in code, logs, or audit payloads that the redaction layer misses.

Method

Start from git diff (or the range you were given), then read enough surrounding code to judge each change in context — a missing check is only a finding if no caller upstream enforces it. Trace at least one full request path for any new/modified route.

Output

Ranked findings, most severe first. For each: file:line, one-sentence defect statement, a concrete exploit/failure scenario (inputs → outcome), and a suggested direction for the fix. If you verified something is NOT exploitable, say so briefly — negative results prevent re-review churn. No findings is a valid outcome; do not pad.

Read the full file on GitHub · 49 lines

Changes

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.

  1. 12d ago First seen · 49 lines · 93 tokens per session scan A 246e73bd312c

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository dfirtnt/Huntable-CTI-Studio (11 stars, last pushed 4d ago), licensed MIT. It adds 93 tokens to every session and 639 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

code-auditor

Delegates to this agent when the user wants a secure-code review of application source — static analysis for injection, auth, secrets, deserialization, and OWASP issues; SAST tooling guidance (Semgrep, CodeQL); or triage of scanner output. Reviews source at rest; it does not test running systems (use…

0xSteph/pentest-ai-agents · 86 tokens

code-reviewer

A code-review agent that examines proposed software changes for correctness, security, performance, maintainability, and test coverage. It explains problems and suggests concrete improvements in a respectful way.

CronusL-1141/AI-company · 47 tokens

management-tech-lead

A technical lead agent that guides a development team's technical direction. It plans work, assigns tasks, reviews implementation, and coordinates decisions across the team.

CronusL-1141/AI-company · 35 tokens

solomon

Principal software engineer providing expert-level engineering guidance with focus on engineering excellence, technical leadership, code quality, and pragmatic implementation. Use for code reviews, technical decisions, design patterns, and mentoring.

CarbeneAI/Forge · 41 tokens

check

Code quality auditor for the Trellis channel runtime. Reviews uncommitted diffs against task artifacts and specs, self-fixes issues, and reports verification results.

yuqie6/ProductFlow · 34 tokens

ExposureIQ for Tenable One

AI-powered mitigation guidance for Tenable One vulnerabilities with privacy-preserving, self-hosted architecture.

tenable/cyberagents-exchange · 25 tokens