cloud-security
Skill18 starsChanged 3 months agoMITView on GitHub
Review cloud and CORS misconfiguration in app code and IaC-adjacent configs — metadata URLs, public buckets, wildcard origins (CWE-918 / CWE-942 / A05:2021 / A10:2021).
11 other projects use a version of this.
Adopted by
Most recently taken up by
- hypnguyen1209/offensive-claudetheir own version, first seen Sep 21, 2026
- blamejs/exceptd-skillstheir own version, first seen Aug 16, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- Rootx202/appsec-skillstheir own version, first seen Jul 13, 2026
- mahiunfiltered/claude-code-skillstheir own version, first seen Jul 8, 2026
- Hussain-Elfalah/Agentic-Skillstheir own version, first seen Jun 4, 2026
Used with
Projects with it also use malware-analysis.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
tsaleSkillmalware-analysis
Professional malware analysis workflow for PE executables and suspicious files. Triggers on file uploads with requests like "analyze this malware", "analyze this sample", "what does this executable do", "check this file for malware", or any request to examine suspicious files. Performs static analysis, threat intelligence triage, behavioral inference, and produces analyst-grade reports with reasoned conclusions.
Also in 3 projects that use this
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- hypnguyen1209/offensive-claude★ 385same name
- hardw00t/ai-security-arsenal★ 104same name
- ShulkwiSEC/bb-huge★ 22same name
- Hassaan146/claude-skills★ 18same name
- Rootx202/appsec-skills★ 3same name
- csiddhant796-blip/claude-skills-collection★ 2same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- jessefmoore/offensive-claude-code★ 2same name
- mahiunfiltered/claude-code-skills★ 1same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-agent-securitySkill
- ai-application-securitySkill
- api-securitySkill
- attack-surface-mappingSkill
- authentication-analysisSkill
- authorization-analysisSkill
- axguard-auditSkill
- axguard-csoSkill
- axguard-knowledgeSkill
- axguard-preshipSkill
- axguard-remediateSkill
- axguard-reportSkill
- axguard-securitySkill
- axguard-triageSkill
- command-injectionSkill
- configuration-securitySkill
- deserialization-securitySkill
- file-upload-securitySkill
- graphql-securitySkill
- jwt-securitySkill
- mcp-securitySkill
- oauth-securitySkill
- path-traversalSkill
- prompt-injectionSkill
- prototype-pollutionSkill
- secrets-detectionSkill
- security-architecture-reviewSkill
- security-remediationSkill
- security-triageSkill
- session-securitySkill
- sql-injectionSkill
- ssrf-analysisSkill
- ssti-analysisSkill
- supply-chain-securitySkill
- threat-modelingSkill
- websocket-securitySkill
- xss-analysisSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
After axguard hits cloud.* (or ssrf.* near metadata).
- Distinctive: line 58
Read/write objects in misconfigured buckets or queues.
- Very specific: line 64
Run axguard scan / audit; collect cloud.* and related ssrf.* / secrets.*.
- Very specific: line 65
Search for metadata endpoints (169.254.169.254, metadata.google.internal) and confirm whether URLs are user-influenced.
- Very specific: line 68
Check cloud SDKs: hard-coded keys (hand off to secrets-detection), overly broad default credentials assumptions.
- Distinctive: line 69
Prefer IMDSv2 / provider SDK role assumption over any app-initiated metadata HTTP fetch.
- Distinctive: line 70
Do not exercise stolen credentials or scan third-party cloud tenants.
- Distinctive: line 84
Test fixtures that never deploy
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cloud Security
Purpose
Guide pre-ship review of cloud exposure and CORS/trust-boundary mistakes in application code and nearby config — especially SSRF-to-metadata paths, overly open origins, and public object storage hints.
When to Use
- Apps deployed on AWS/GCP/Azure or using object storage / serverless.
- After
axguardhitscloud.*(orssrf.*near metadata). - PR review of CORS middleware, bucket ACL/policy snippets, or metadata URL references.
When Not to Use
- Pure client-side SPA with no server egress and no cloud SDK/config in repo.
- Unauthorized probing of someone else’s cloud account or metadata service.
Security Concepts
Cloud risk in app repos often appears as egress to privileged link-local endpoints, permissive cross-origin policies, and world-readable storage. Instance metadata (e.g. 169.254.169.254) can yield temporary credentials if reachable via SSRF. Wildcard CORS (*) with credentials, or reflected origins without allowlists, widens browser-side data theft.
Threat Model
Attacker goals:
- Steal cloud credentials via metadata (often chained from SSRF).
- Read/write objects in misconfigured buckets or queues.
- Abuse permissive CORS to exfiltrate authenticated browser sessions.
- Expand blast radius via overly broad IAM roles assumed by the app.
Analysis Workflow
- Run
axguard scan/audit; collectcloud.*and relatedssrf.*/secrets.*. - Search for metadata endpoints (
169.254.169.254,metadata.google.internal) and confirm whether URLs are user-influenced. - Review CORS:
Access-Control-Allow-Origin,credentials, origin reflection vs allowlist. - Hunt public ACL / policy markers (
public-read,AllUsers, wildcard principals) in code or infra-as-code snippets present in the repo. - Check cloud SDKs: hard-coded keys (hand off to
secrets-detection), overly broad default credentials assumptions. - Prefer IMDSv2 / provider SDK role assumption over any app-initiated metadata HTTP fetch.
- Do not exercise stolen credentials or scan third-party cloud tenants.
Evidence Requirements
- File:line for metadata URL, CORS policy, or public ACL hint
- Whether the URL/origin is attacker-influenced
- Deployment context if known (IMDSv1 vs v2, public CDN vs private API)
- Confidence:
CONFIRMEDonly with clear shipped config + reachability story
False Positive Controls
- Docs/examples with placeholder bucket names and no ship path
- CORS
*on truly public, unauthenticated static assets without credentials - Metadata string in comments or vendor SDK constants never called with user input
- Test fixtures that never deploy
Remediation
- Block metadata and link-local destinations in SSRF defenses; use instance roles + IMDSv2.
- Allowlist CORS origins; never pair
*withAccess-Control-Allow-Credentials: true. - Make buckets private by default; use signed URLs / IAM for access.
- Least-privilege roles for the workload; no long-lived keys in source.
- Harden related misconfig via
configuration-security.
Verification
Re-run axguard audit / /axguard-cloud. Confirm metadata fetches and wildcard credentialed CORS are gone. Manually review remaining cloud policy snippets for public principals.
Related Skills
ssrf-analysis, secrets-detection, configuration-security, security-triage, security-remediation
Framework Mapping
- CWE-918 (SSRF / metadata adjacency)
- CWE-942 (permissive cross-domain policy)
- CWE-284 (improper access control — broad cloud exposure)
- OWASP A01:2021 Broken Access Control
- OWASP A05:2021 Security Misconfiguration
- OWASP A10:2021 SSRF
- OWASP API8:2023 Security Misconfiguration
References
- https://owasp.org/Top10/A05_2021-Security_Misconfiguration/
- https://owasp.org/Top10/A10_2021-Server-Side_Request_Forgery_%28SSRF%29/
- https://owasp.org/Top10/A01_2021-Broken_Access_Control/
- https://cwe.mitre.org/data/definitions/918.html
- https://cwe.mitre.org/data/definitions/942.html
- https://cwe.mitre.org/data/definitions/284.html
Research Provenance
Primary: OWASP Top 10:2021 A01/A05/A10; CWE-918/942/284; OWASP API Security Top 10:2023 API8 (2026-09-15).
Internal: AXGuard rules/cloud.json, /axguard-cloud.
Secondary: methodology concepts from OWASP CheatSheetSeries / WSTG (no verbatim dump).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

