security-reviewer

security-reviewer is an agent for Claude Code from infraspecdev/tesseract. It costs 54 tokens per session (1,819 once invoked), scanned A, original, MIT.

A security review agent for Terraform code that creates or configures AWS resources. It checks permissions, encryption, network exposure, credentials, and security-scanner rules.

In plain words
What is it for?
Use it when editing IAM policies, security groups, network ACLs, or resources with access policies, including checks for wildcard permissions, exposed networks, hardcoded secrets, and missing protections.
Why use it?
Infrastructure code can accidentally grant too much access, expose services, omit encryption, or contain credentials. This review identifies those risks and checks whether exceptions to automated security rules are justified.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the infra-review plugin — 7 skills, 7 commands, 5 agents, 2 hooks shipped together

Good fit Use it when editing IAM policies, security groups, network ACLs, or resources with access policies, including checks for wildcard permissions, exposed networks, hardcoded secrets, and missing protections.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/infraspecdev/tesseract/security-reviewer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/infraspecdev/tesseract

Made for: Claude Code.

Or install infra-review, the plugin that ships this one along with the rest of its 7 skills, 7 commands, 5 agents, 2 hooks.

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/infraspecdev/tesseract/security-reviewer/github.svg)](https://agentmods.dev/agents/infraspecdev/tesseract/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/infraspecdev/tesseract/security-reviewer"><img src="https://agentmods.dev/badge/agents/infraspecdev/tesseract/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/infraspecdev/tesseract/security-reviewer"><img src="https://agentmods.dev/badge/agents/infraspecdev/tesseract/security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,819 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.00054 $0.01819
Opus 5.5 $0.00022 $0.00728
Sonnet 5.5 $0.00011 $0.00364
Haiku 4.5 $0.00005 $0.00182

Measured 1mo ago against content hash de431e518135, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

infra-review/agents/security-reviewer.md · 146 lines

How it starts

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

Security Reviewer

Persona

You are a Senior Cloud Security Engineer with deep expertise in AWS security, CIS AWS Foundations Benchmark, and infrastructure-as-code security scanning. You think like an attacker reviewing defensive code.

Review Process

  1. Read all .tf files in the component
  2. Run through the security checklist below
  3. Note any Checkov skip annotations and evaluate their justification
  4. Produce findings report

Security Checklist

IAM (S1-S5)

# Check What to Look For Severity
S1 No wildcard actions Action = ["*"] or Action = ["s3:*"] in IAM policies Critical
S2 No wildcard resources Resource = ["*"] — should be scoped to specific ARNs or ARN patterns Critical
S3 Scoped assume role sts:AssumeRole policies have condition keys (e.g., aws:PrincipalOrgID, aws:SourceAccount) Important
S4 No inline credentials No access_key, secret_key, or hardcoded tokens in any .tf file Critical
S5 Condition keys on sensitive actions IAM policies for sensitive operations (KMS, S3 delete, IAM) include conditions Important

Network (S6-S10)

# Check What to Look For Severity
S6 No 0.0.0.0/0 on sensitive ports Security group ingress rules don't allow 0.0.0.0/0 or ::/0 on ports 22, 3389, 3306, 5432, 27017 Critical
S7 Private subnets have no IGW route Subnets marked as private don't have a route to an Internet Gateway Important
S8 NACLs not allow-all Network ACLs have explicit allow/deny rules, not just rule 100 allow all Important
S9 VPC flow logs enabled Flow logs are configured for the VPC or key subnets Important
S10 Egress-only IGW for IPv6 If dual-stack, private subnets use egress-only internet gateway for IPv6 (not full IGW) Important

Encryption (S11-S14)

# Check What to Look For Severity
S11 S3 buckets encrypted server_side_encryption_configuration block present, preferably with CMK Important
S12 RDS encrypted storage_encrypted = true and kms_key_id specified Important
S13 EBS volumes encrypted Default encryption enabled or per-volume encrypted = true Important
S14 CloudWatch log groups encrypted kms_key_id set on aws_cloudwatch_log_group resources Warning

Read the full file on GitHub · 146 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. 1mo ago First seen · 146 lines · 54 tokens per session scan A de431e518135

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository infraspecdev/tesseract (5 stars, last pushed 3mo ago), licensed MIT. It adds 54 tokens to every session and 1,819 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

Other agents, from other repositories

cloud-agent

Own the cloud lane — AWS/Azure/GCP posture + active exploitation, IaC scanning, container/K8s escape, and SSRF→metadata credential pivots. Returns cloud findings with the misconfig→impact chain, not raw scanner dumps.

TyrusRC/praetor · 53 tokens

database-migration

Database migration and modernization specialist. USE FOR: planning database migrations, designing migration strategies, validating data integrity. DO NOT USE FOR: operational database management, routine backups.

ivegamsft/basecoat · 37 tokens

azure-architect

Designs Azure cloud architecture, optimizes costs, and implements security best practices. Use when designing Azure infrastructure, selecting Azure services, or optimizing Azure deployments.

armanzeroeight/fastagent-plugins · 35 tokens

deployment-verifier

Verifies local deployment health — checks ports, starts app, polls health endpoint, inspects Docker containers.

asysta-act/agent-flow · 24 tokens

tunnel-doctor

Diagnoses tunnel client/relay problems. Use when a tunnel fails to connect, requests through the public URL hit connection refused or 502, the daemon doesn't reach connected, name conflicts occur, or the user wants the setup audited before exposing a port. Runs tunnel doctor, inspects daemon state, and checks relay…

anivaryam/anivaryam-plugins · 77 tokens

grumpy-budget-hawk

Cloud cost reviewer. Analyses infrastructure and code changes for cost impact, over-provisioning, and unbounded resource consumption.

JackScammell/Parliament-Of-Chaos · 31 tokens