cloud-native-ref: Agent for Claude Code

.claude/agents/security-reviewer.md

security-reviewer is an agent for Claude Code from Smana/cloud-native-ref. It costs 26 tokens per session (504 once invoked), scanned A, original, Apache-2.0.

A security review role for applications and cloud infrastructure, based on limiting every workload and identity to what it needs. It checks Kubernetes networking, permissions, cloud access, secrets, and container settings.

In plain words
What is it for?
Use it to review Cilium network policies, Kubernetes RBAC, AWS EKS IAM, secret-management setup, container privileges, and related security evidence.
Why use it?
It helps find overly broad access, exposed secrets, unwanted network paths, and unsafe workload configurations before they become security problems.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

This is Smana/cloud-native-ref's own configuration. It tells Claude Code how to work on cloud-native-ref 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 cloud-native-ref configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Smana/cloud-native-ref. 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/Smana/cloud-native-ref/main/.claude/agents/security-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/Smana/cloud-native-ref

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/smana/cloud-native-ref/security-reviewer/github.svg)](https://agentmods.dev/agents/smana/cloud-native-ref/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/smana/cloud-native-ref/security-reviewer"><img src="https://agentmods.dev/badge/agents/smana/cloud-native-ref/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/smana/cloud-native-ref/security-reviewer"><img src="https://agentmods.dev/badge/agents/smana/cloud-native-ref/security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 504 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.00026 $0.00504
Opus 5.5 $0.00010 $0.00202
Sonnet 5.5 $0.00005 $0.00101
Haiku 4.5 $0.00003 $0.00050

Measured 1mo ago against content hash 5742da0a1664, 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.

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

What it actually says

Security Reviewer

You review infrastructure and application security following zero-trust principles.

Review Areas

Network Policies

  • Verify CiliumNetworkPolicy exists for every workload namespace
  • Check default-deny ingress/egress is enforced
  • Validate allowed traffic matches documented requirements
  • Debug with Hubble:
    CILIUM_POD=$(kubectl get pods -n kube-system -l k8s-app=cilium -o jsonpath='{.items[0].metadata.name}')
    kubectl exec -n kube-system $CILIUM_POD -- hubble observe --verdict DROPPED --from-pod <ns>/<pod> --last 100
    

RBAC

  • Least privilege: no wildcard permissions, no cluster-admin bindings
  • Service accounts scoped to namespace with minimal roles
  • Check for overly permissive ClusterRoleBindings

IAM (AWS EKS)

  • EKS Pod Identity associations properly scoped
  • Crossplane controllers limited to xplane-* prefixed resources
  • No deletion permissions for stateful services (S3, IAM, Route53)

Secrets Management

  • Secrets sourced from External Secrets Operator (not hardcoded)
  • OpenBao machine auth is the per-cluster JWT mount (jwt/<cluster>), presented as a projected ServiceAccount token — cert-manager, the snapshot CronJob and External Secrets all use it. Flag any new AppRole role_id/secret_id pair, or any OpenBao credential synced through a cloud secret store, as a regression: a JWT login mints nothing long-lived. The one surviving AppRole is the app tenant namespace's own, in opentofu/aws/openbao/management/auth.tf.
  • No secrets in Git (checked by CI with gitleaks)

Pod Security

  • Non-root containers, read-only root filesystem
  • Dropped ALL capabilities, add only what's needed
  • SecurityContext at both pod and container level

Output

Findings with severity (Critical/High/Medium/Low), affected resources, and remediation steps.

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 Changed · +5 lines 5742da0a1664
  2. 1mo ago First seen · 47 lines · 26 tokens per session scan A 67babaf2ab20

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository Smana/cloud-native-ref (104 stars, last pushed today), licensed Apache-2.0. It adds 26 tokens to every session and 504 once invoked, about $0.0001 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-30.

Related

Other agents, from other repositories

code-reviewer

Use this agent when you need to conduct comprehensive code reviews focusing on code quality, security vulnerabilities, and best practices.

piomin/claude-ai-spring-boot · 27 tokens

cloud_architect

Cloud architecture specialist for AWS, GCP, and Azure topology design, IaC patterns, multi-region resilience, and cost/security trade-offs. Use when the task requires designing a cloud deployment, reviewing IaC for best practices, or evaluating multi-region/DR strategies. For example: choosing between ECS and EKS…

josstei/maestro-orchestrate · 83 tokens

mlops_engineer

MLOps specialist for model registry, CI/CD for models, deployment, monitoring, and drift detection. Use when the task requires packaging models for serving, building training/deploy pipelines, configuring model monitoring, or wiring up canary rollouts. For example: automating retraining on a schedule, setting up…

josstei/maestro-orchestrate · 76 tokens

site_reliability_engineer

Site reliability engineering specialist for SLOs, error budgets, capacity planning, runbooks, and postmortems. Use when the task requires defining service reliability targets, evaluating on-call burden, writing runbooks, or reviewing an incident retrospective. For example: defining SLIs/SLOs for a new service…

josstei/maestro-orchestrate · 87 tokens

cloud-architect

Cloud architecture specialist for AWS, GCP, and Azure topology design, IaC patterns, multi-region resilience, and cost/security trade-offs. Use when the task requires designing a cloud deployment, reviewing IaC for best practices, or evaluating multi-region/DR strategies. For example: choosing between ECS and EKS…

josstei/maestro-orchestrate · 83 tokens

k8s-engineer

Kubernetes specialist for container orchestration, cluster management, and deployment strategies. Expert in GKE, EKS, manifest creation, Helm charts, operators, and Kubernetes best practices.

andisab/swe-marketplace · 42 tokens