跳到正文
cccskills
免费在 GitHub 公开

cloud-security

Assess cloud infrastructure for IAM privilege escalation, public storage exposure, open security groups, and IaC security gaps across AWS, Azure, and GCP with MITRE ATT&CK mapping.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane星标 3(GitHub 3 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(3)

  • SKILL.md4.4 KB
  • references/cspm-checks.md8.7 KB
  • scripts/cloud_posture_check.py42.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Cloud Security

Cloud security posture assessment for IAM privilege escalation, public storage exposure, network misconfiguration, and IaC security gaps. This is NOT incident response for active cloud compromise (see incident-response) or application scanning (see security-pen-testing).


Workflow

Step 1: Run Posture Checks

# IAM privilege escalation analysis
python3 scripts/cloud_posture_check.py policy.json --check iam --json

# S3 public access assessment
python3 scripts/cloud_posture_check.py bucket_config.json --check s3 --json

# Security group open port analysis
python3 scripts/cloud_posture_check.py sg.json --check sg --json

# All checks with severity modifier
python3 scripts/cloud_posture_check.py config.json --check all \
  --provider aws --severity-modifier internet-facing --json

Exit codes: 0 = no high/critical, 1 = high (remediate in 24h), 2 = critical (remediate immediately).

Severity modifiers: Use --severity-modifier internet-facing for public resources, --severity-modifier regulated-data for PCI/HIPAA/GDPR workloads. Both bump severity by one level.

Step 2: Analyze IAM Policies

Critical privilege escalation patterns:

PatternKey Action Combination
Lambda PassRole escalationiam:PassRole + lambda:CreateFunction
EC2 instance profile abuseiam:PassRole + ec2:RunInstances
Self-attach policy escalationiam:AttachUserPolicy + sts:GetCallerIdentity
Policy version backdooriam:CreatePolicyVersion + iam:ListPolicies
Credential harvestingiam:CreateAccessKey + iam:ListUsers

Full escalation combos, severity guide, and least privilege recommendations: references/cspm-checks.md

Step 3: Assess Storage Exposure

CheckCritical Condition
Public access blockAny of four flags missing/false
Bucket ACLpublic-read-write
Bucket policyPrincipal: "*" with Allow
Default encryptionNo encryption configuration

Step 4: Check Network Exposure

PortServiceSeverity (0.0.0.0/0)
22SSHCritical
3389RDPCritical
3306/5432/27017DatabasesHigh
6379/9200Redis/ElasticsearchHigh
0-65535All trafficCritical

Step 5: Review IaC

Catch misconfigurations at definition time in Terraform, CloudFormation, Kubernetes manifests, and Helm charts. Integrate into CI/CD as a pre-apply gate.

Step 6: Verdict

Verdict: FAIL if any finding is Critical or High; CONCERNS if only Medium or Low findings remain; PASS if nothing actionable turned up. Apply the severity modifier first: an internet-facing or regulated-data resource raises the finding's severity before the verdict is taken.


Cloud Provider Coverage

Check TypeAWSAzureGCP
IAM privilege escalationFullPartialPartial
Storage public accessFullPartialPartial
Network exposureFullPartialPartial
IaC scanningFullPartialPartial

Anti-Patterns

  1. Running IAM analysis without checking escalation combos -- individual actions may look safe; danger is in combinations
  2. Only bucket-level public access block -- account-level and bucket-level both required
  3. Skipping internet-facing modifier for public resources -- high findings on public infra should be treated as critical
  4. Checking only administrator policies -- escalation paths often originate from innocuous-looking policies
  5. Remediating without root cause analysis -- document why permissions were granted before removing
  6. Not applying regulated-data modifier -- same finding on a PHI bucket is much more severe

Cross-References

SkillRelationship
incident-responseCritical findings may trigger incident classification
threat-detectionOver-permissioned roles are lateral movement hunting targets
red-teamCloud misconfigurations become attack path targets
security-pen-testingCloud findings feed into infrastructure security assessments

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

查看 SebastianLuser 的全部技能

报告此技能的问题