hardening-cloud-posture

hardening-cloud-posture is a skill for Claude Code, Codex from EvilFreelancer/secs. It costs 113 tokens per session (1,763 once invoked), scanned A, a copy of hardening-cloud-posture, Apache-2.0.

A guide to reducing security weaknesses in an AWS, Azure, or Google Cloud account or organization. It focuses on identity permissions and attack paths rather than treating every scanner finding as equally important.

In plain words
What is it for?
Reviewing cloud security reports, prioritizing IAM risks, protecting storage and data, enabling audit logs, and setting guardrails with AWS, Azure, or Google Cloud policies.
Why use it?
It helps identify which cloud settings could let an attacker reach valuable systems or data, then prevents those weaknesses from returning.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/evilfreelancer/secs/hardening-cloud-posture
Any agent
npx skills add EvilFreelancer/secs --skill hardening-cloud-posture
Clone the repo
git clone --depth 1 https://github.com/EvilFreelancer/secs

Made for: Claude Code, Codex.

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-cloud-posture

README.md
[![agentmods](https://agentmods.dev/badge/skills/evilfreelancer/secs/hardening-cloud-posture.svg)](https://agentmods.dev/skills/evilfreelancer/secs/hardening-cloud-posture)
Your own site
<a href="https://agentmods.dev/skills/evilfreelancer/secs/hardening-cloud-posture"><img src="https://agentmods.dev/badge/skills/evilfreelancer/secs/hardening-cloud-posture.svg" alt="Measured on agentmods" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,763 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 92% copy Near-identical to another mod 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 $0.00113 $0.01763
Opus 5 $0.00056 $0.00881
Sonnet 5 $0.00023 $0.00353
Haiku 4.5 $0.00011 $0.00176

Measured 5d ago against content hash 98930b0b5d3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hardening-cloud-posture scanned grade A with 1 finding 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 5d 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.

curl -sL "https://defuddle.md/<url>" # scheme in the path is optional
Origin

This is a copy

92% identical to hardening-cloud-posture — 4 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.

.agents/skills/hardening-cloud-posture/SKILL.md · 148 lines

How it starts

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

Hardening Cloud Posture

A CSPM scan returns a thousand findings. Almost none of them are the way in. The job is not to close a thousand findings; it is to find the handful that form an attack path and close those, then set guardrails so they cannot recur. Posture work that treats every finding as equal drowns the real one.

The organizing principle: identity is the perimeter. In cloud, the attack path is almost always a chain of IAM permissions, not a network hop. Rank by "what does this let a principal reach?", not by a scanner's severity label.

When to Use

  • Reviewing an AWS/Azure/GCP account or organization's security posture
  • Triaging a Prowler, ScoutSuite, Security Hub, or Defender for Cloud report
  • Deciding which of many misconfigurations actually matter
  • Setting preventive guardrails (SCPs, Azure Policy, org policies)
  • Enabling the logging and controls an investigation will later depend on

When NOT to Use

  • Actively investigating a live incident — use investigating-aws-incidents, investigating-azure-incidents, or investigating-gcp-incidents
  • Attacking the environment to prove the path — use exploiting-cloud-platforms
  • Kubernetes cluster-plane hardening — use container-security
  • Ranking CVEs in workloads rather than cloud config — use managing-vulnerabilities

Rank by Attack Path, Not Finding Count

Work findings in the order an attacker would exploit them, not the order the scanner lists them:

  1. Public exposure of data or compute. Public S3/GCS buckets and storage accounts, publicly reachable databases, management ports open to 0.0.0.0/0. These need no credential — they are pre-authentication. Close first.
  2. Identity that over-reaches. Wildcard Action/Resource policies, roles assumable by * or by external accounts without a condition, users with iam:PassRole to a privileged role, service principals with Owner. This is where a foothold becomes account-takeover.
  3. Missing or disabled audit logging. CloudTrail not multi-region, GCP Data Access logs off, Azure diagnostic settings absent. This does not create the breach but it blinds the investigation — enable it now, because you cannot retroactively log the incident you are about to have.
  4. Unencrypted data and absent key management. Real, but rarely the entry path. Fix after the above unless a compliance obligation reorders it.

Read the full file on GitHub · 148 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. 5d ago First seen · 148 lines · 113 tokens per session scan A 98930b0b5d3b

Subscribe to this mod's changes

hardening-cloud-posture is a skill published in the GitHub repository EvilFreelancer/secs (10 stars, last pushed 26d ago), licensed Apache-2.0. It adds 113 tokens to every session and 1,763 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 92% identical to hardening-cloud-posture, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

cloud-security-posture

USAP agent skill for Cloud Security Posture. Use for Evaluate cloud misconfigurations and posture drift.

jaskaranhundal/usap-skills · 26 tokens

iac-security

USAP agent skill for IaC Security. Analyze Terraform, CloudFormation, Kubernetes manifests, and Helm charts for misconfigurations, insecure defaults, and compliance violations.

jaskaranhundal/usap-skills · 36 tokens

cloud-workload-protection

USAP agent skill for Cloud Workload Protection. Use for Container and serverless runtime security — anomaly detection, escape detection, CSPM gap analysis.

jaskaranhundal/usap-skills · 36 tokens

terraform-state-leak

Exploit exposed Terraform state files — secrets, cloud creds, RDS passwords, IAM keys, and infrastructure topology in plain JSON.

PurpleAILAB/Decepticon · 31 tokens

implementing-aws-nitro-enclave-security

Implements AWS Nitro Enclave-based confidential computing environments with cryptographic attestation, KMS policy integration using PCR-based condition keys, and secure vsock communication channels. The practitioner builds enclave images, configures attestation-aware KMS policies, validates attestation documents…

xalgorix/xalgorix · 122 tokens

detecting-compromised-cloud-credentials

Detecting compromised cloud credentials across AWS, Azure, and GCP by analyzing anomalous API activity, impossible travel patterns, unauthorized resource provisioning, and credential abuse indicators using GuardDuty, Defender for Identity, and SCC Event Threat Detection.

xalgorix/xalgorix · 55 tokens