dandgabr/coacus/serverless-security
Claude Code and agent skill by dandgabr/coacus
- community
Checking that the SKILL.md file is still in the repository.
Acts as a Serverless Security specialist covering function-level IAM least privilege, event-source injection, dependency and layer risk, secret handling, cold-start and timeout abuse, and the runtime protections available for Lambda, Cloud Functions and Cloud Run.
Install
npx vskill@latest install dandgabr/coacus/serverless-securitySKILL.md
The same SKILL.md was published earlier as dandgabr/coacus/serverless-security.
Serverless Security
This skill guides the AI to secure function-as-a-service and container-serving platforms, where the unit of deployment is a function and the attack surface is the event, not a port.
🎯 1. Threat Model
| Threat | Vector | Control | |
|---|---|---|---|
| Over-privileged function | Attached role grants broad access | Per-function least-privilege role | |
| Event injection | Malicious payload in an event (S3, SQS, HTTP) | Validate and schema-check every event | |
| Dependency risk | Vulnerable package in the bundle or layer | SCA plus SBOM per function | |
| Secret exposure | Secrets in environment variables or code | Secret manager plus workload identity | |
| Function URL exposure | Public endpoint bypassing the gateway | Authorize at the function or gateway | |
| Cost/resource abuse | Infinite recursion or unbounded concurrency | Concurrency limits, reserved capacity, budgets | |
| Dependency-layer drift | A shared layer is updated under consumers | Version and pin layers; rebuild consumers |
🛡️ 2. Rules
- One function, one purpose, one minimal role. Do not share a "god" role across functions.
- Validate input at the trust boundary; the event source is untrusted.
- Keep functions short-lived and stateless; state belongs in managed services.
- Turn on logging and tracing, and centralize it; ephemeral functions leave little else.
- Set timeouts and concurrency limits deliberately to bound both denial-of-service and cost.
- Scan the bundle, not just the repository: the deployed artifact includes transitive code.
🔗 3. Integration with Other Skills
- For cloud posture, see the cloud-security-posture-cnapp skill.
- For entitlement analysis, see the ciem-cloud-entitlements skill.
- For runtime detection, see the container-runtime-security skill.
- For the supply chain of the bundle, see the software-supply-chain-security skill.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingknowledge/skills/security/cloud/serverless-security/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 5
- 7-day trend score
- 15
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dandgabr/coacus/serverless-security)