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.
npx agentmods add skills/evilfreelancer/secs/hardening-cloud-posturenpx skills add EvilFreelancer/secs --skill hardening-cloud-posturegit clone --depth 1 https://github.com/EvilFreelancer/secsWrote 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.
[](https://agentmods.dev/skills/evilfreelancer/secs/hardening-cloud-posture)<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>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.
| Model | Per session | Once 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 |
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 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.
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, orinvestigating-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:
- 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. - Identity that over-reaches. Wildcard
Action/Resourcepolicies, roles assumable by*or by external accounts without a condition, users withiam:PassRoleto a privileged role, service principals withOwner. This is where a foothold becomes account-takeover. - 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.
- Unencrypted data and absent key management. Real, but rarely the entry path. Fix after the above unless a compliance obligation reorders it.
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.
- 5d ago First seen · 148 lines · 113 tokens per session scan A 98930b0b5d3b
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.
Other skills, from other repositories
cloud-security-posture
USAP agent skill for Cloud Security Posture. Use for Evaluate cloud misconfigurations and posture drift.
iac-security
USAP agent skill for IaC Security. Analyze Terraform, CloudFormation, Kubernetes manifests, and Helm charts for misconfigurations, insecure defaults, and compliance violations.
cloud-workload-protection
USAP agent skill for Cloud Workload Protection. Use for Container and serverless runtime security — anomaly detection, escape detection, CSPM gap analysis.
terraform-state-leak
Exploit exposed Terraform state files — secrets, cloud creds, RDS passwords, IAM keys, and infrastructure topology in plain JSON.
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…
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.