Cloud Security & Container Hardening

Audit cloud environments and infrastructure as code for security misconfigurations.

4|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/GhostPWN/ghostpwn --skill cloud-security-container-hardening
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Cloud Security & Container Hardening
Source: https://github.com/GhostPWN/ghostpwn/tree/main/src/skills/10-cloud-security
Command: npx skills add https://github.com/GhostPWN/ghostpwn --skill cloud-security-container-hardening

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires boto3, pyyaml, and includes scripts (resource) components.

What problem does it solve?

This Skill helps you identify and prioritize cloud, container, and infrastructure-as-code security issues before they lead to exposure, privilege escalation, or compliance failures.

Core Features & Use Cases

  • Cloud Auditing: Review AWS, Azure, and GCP identity, storage, network, and logging controls for risky misconfigurations.
  • Container & Kubernetes Hardening: Check Dockerfiles, pod security settings, RBAC, network policies, and runtime exposure.
  • Infrastructure as Code Scanning: Analyze Terraform, CloudFormation, and Kubernetes manifests for insecure defaults and policy gaps.
  • Compliance Reporting: Map findings to frameworks such as CIS, SOC 2, PCI-DSS, and HIPAA for audit-ready summaries.

Quick Start

Ask the Skill to audit your cloud environment or scan your IaC files for security misconfigurations and remediation guidance.

Frequently Asked Questions about Cloud Security & Container Hardening

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan Terraform and CloudFormation files for security misconfigurations?

This Skill audits Terraform and CloudFormation files by parsing IaC manifests with CLI-based scanners to detect insecure defaults and policy gaps. It outputs severity-ranked findings with resource context and actionable remediation guidance.

What is the best way to audit Kubernetes pod security and Docker container hardening?

The best way to audit Kubernetes pod security and Docker container hardening is to analyze Dockerfiles, RBAC, network policies, and pod security settings. This Skill reviews container runtime exposure and produces severity-ranked findings with remediation guidance.

Does this cloud security auditing tool support AWS, Azure, and GCP environments?

Yes, this cloud security auditing tool supports AWS, Azure, and GCP environments. It reviews identity, storage, network, and logging controls to identify risky misconfigurations, public exposure, and privilege escalation risks.

Can I map cloud security audit findings to compliance frameworks like CIS, SOC 2, and PCI-DSS?

Yes, you can map cloud security audit findings to compliance frameworks like CIS, SOC 2, PCI-DSS, and HIPAA. This Skill generates audit-ready compliance summaries by aligning identified misconfigurations with relevant framework controls.

Do I need native cloud CLIs installed to check IAM and public exposure risks?

Yes, you need native cloud CLIs installed to check IAM and public exposure risks. This Skill requires native cloud CLIs, YAML parsing, and CLI-based scanners to audit your environments and produce severity-ranked findings.

Why does infrastructure as code scanning fail without proper YAML parsing dependencies?

Infrastructure as code scanning requires YAML parsing dependencies like pyyaml to correctly read and analyze Kubernetes manifests and CloudFormation templates. Without them, CLI-based scanners cannot extract configuration details to detect insecure defaults and policy gaps.