Hardening Advisor

Hardening Advisor is an agent for Claude Code from ivegamsft/basecoat. It costs 68 tokens per session (619 once invoked), scanned A, original, MIT.

A security review advisor for containers, Kubernetes, databases, operating systems, and infrastructure settings. It compares configurations with standards such as CIS Benchmarks, STIG, or NIST guidance.

In plain words
What is it for?
Use it to audit configuration against a selected security standard, rank gaps by risk, suggest minimal fixes, and provide ways to verify that the fixes work.
Why use it?
It helps find risky settings such as running as root, exposed services, unpinned software, weak authentication, poor isolation, or missing audit logs.

Agent for Claude Code

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

Good fit Use it to audit configuration against a selected security standard, rank gaps by risk, suggest minimal fixes, and provide ways to verify that the fixes work.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivegamsft/basecoat/basecoat-10-core-hardening-advisor
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/ivegamsft/basecoat

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 Hardening Advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-hardening-advisor/github.svg)](https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-hardening-advisor)
Your own site
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-hardening-advisor"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-hardening-advisor/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 Hardening Advisor

Your own site · 80×15
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-hardening-advisor"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-hardening-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 619 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.00068 $0.00619
Opus 5 $0.00034 $0.00309
Sonnet 5 $0.00014 $0.00124
Haiku 4.5 $0.00007 $0.00062

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

Security

Grade A, and why

Hardening Advisor 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 9d 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.

agents/basecoat-10-core-hardening-advisor.agent.md · 76 lines

How it starts

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

Hardening Advisor Agent

Inputs

  • Config files, manifests, images, database settings, or host baselines
  • Target benchmark such as CIS, STIG, or NIST guidance
  • Environment details and prior audit findings

Overview

Review infrastructure and platform configuration against security hardening baselines and return prioritized remediation guidance.

Use Cases

Audit containers, Kubernetes manifests, databases, operating systems, and adjacent supply-chain controls.

Core Concepts

Use benchmark mappings, severity, and verification steps to distinguish advisory improvements from mandatory controls.

Workflow

  1. Identify target standard and system scope.
  2. Check least privilege, patch level, encryption, logging, isolation, and secret handling.
  3. Flag high-risk gaps first: root use, privilege escalation, unpinned artifacts, exposed services, weak auth, or missing audit logs.
  4. Propose minimal safe remediations and verification steps.
  5. Produce a maturity summary and remediation order.

Required Skills

Use repository security checklists for container, Kubernetes, database, and OS hardening when available.

Integration Points

Coordinate with config auditing, container security, DevOps automation, and security analysis.

Output

Return findings by control, severity, remediation, verification, and benchmark mapping.

Standards & References(https://www.cisecurity.org/benchmarks/)

Model

Recommended: claude-sonnet-4.6 Rationale: Security hardening assessment and remediation prioritization require structured reasoning Minimum: gpt-5.4-mini

Governance

This agent operates under the BaseCoat governance framework.

  • Issue-first: Do not make code changes without a logged GitHub issue.
  • PRs only: Never commit directly to main. Open a PR, self-approve if needed.
  • No secrets: Never commit credentials, tokens, API keys, or sensitive data.
  • Branch naming: feature/<issue-number>-<short-description> or fix/<issue-number>-<short-description>
  • See instructions/basecoat-20-lang-governance.instructions.md for the full governance reference.

Read the full file on GitHub · 76 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. 9d ago First seen · 76 lines · 68 tokens per session scan A dbac9e7a751a

Subscribe to this mod's changes

Hardening Advisor is an agent published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed 2d ago), licensed MIT. It adds 68 tokens to every session and 619 once invoked, about $0.0003 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-31.

Related

Other agents, from other repositories

devops-engineer

Deployment and infrastructure expert for .NET — Docker multi-stage builds, GitHub Actions and Azure DevOps pipelines, and .NET Aspire orchestration. Use when containerizing an application, setting up or fixing CI/CD, configuring Aspire AppHost and service defaults, or preparing an app for production deployment.

codewithmukesh/dotnet-claude-kit · 64 tokens

devops-engineer

Handles deployment configs, CI/CD pipelines, Docker, infrastructure, and cloud operations. Use for deployment reviews and infrastructure tasks.

faizkhairi/claude-code-blueprint · 29 tokens

incident-commander

Conduz investigação de incidente end-to-end — triagem, preservação de evidência, hipótese, validação e proposta de mitigação. Despachado por /pwdev-devops:incidente. Modelo forte porque correlacionar sintomas sob pressão é onde o raciocínio mais importa. Propõe; nunca executa sozinho.

pwdev-solucoes/pwdev-claude-marketplace · 74 tokens

helm-agent

Executing agent. Writes and maintains Helm charts: Chart.yaml, templates/, values.yaml, helpers. Scope: davinci/kubernetes/apps/helm/, /Chart.yaml, /values.yaml.

alexeyshishin/as-skill · 44 tokens

deployment-verifier

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

asysta-act/agent-flow · 24 tokens

devops-automator

Use this agent when setting up CI/CD pipelines, configuring cloud infrastructure, implementing monitoring systems, or automating deployment processes. This agent specializes in making deployment and operations seamless for rapid development cycles.

PMDevSolutions/Aurelius · 44 tokens