Individual skill
serverless-security
What a function-as-a-service platform changes: an execution environment reused between invocations so /tmp and module globals outlive a request, an event envelope that is attacker-influenced whichever trigger delivered it, encrypted-at-rest configuration that the control-plane API still returns in cleartext, and concurrency as the boundary between an incident and a bill. Use when generating Lambda, Cloud Functions, or Azure Functions code, serverless.yml or SAM templates, or wiring API Gateway, EventBridge, SQS, or S3 triggers.
skills/serverless-security/SKILL.md
Source commit eaba88102d91df65a9aa6397e8507c315c018f5e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
Standard SKILL.md format has not been attested at this commit. No installation command is available; inspect the source.
Repository context
- Repository stars (not skill ratings)
- 23
- Repository last updated
- Aug 14, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- claude-skills Repository topic
- llm Repository topic
- security Repository topic
- skills Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 9,132 bytesSKILL.mdcore · 9,132 byteschecklists/event_validation.yamlasset · 1,286 byteschecklists/lambda_hardening.yamlasset · 2,420 bytesreferences/platform-settings.mddoc · 7,479 bytesreferences/verifying-findings.mddoc · 3,854 bytestests/corpus.jsonasset · 4,608 bytes
Read excerpt
# Serverless Security
## Rules (for AI agents)
### ALWAYS
- Treat the **execution environment as reused**. The platform freezes it when the
handler returns and thaws it for the next invocation, which may serve a different
tenant. So a module-level global holding per-request state — a decrypted payload, an
authorization decision, a tenant id, a connection bound to one caller's credentials
— is visible to the next request. Cache only what is safe to share, and reset or
scope everything else inside the handler.
- Treat **`/tmp` as shared, persistent, and finite**. It is the only writable path, it
survives across invocations in the same environment, and a fixed filename written
for one user is readable by the next. Use a per-invocation subdirectory, delete it