serverless-security
仓库创建 2026年7月1日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由
面向代码生成与审查的可执行规则集,便于自动化安全落地。
这个 Skill 做什么
为无服务器函数(Lambda/Cloud Functions/Azure)提供安全加固与最佳实践。
为无服务器函数(Lambda/Cloud Functions/Azure Functions)做安全加固,从 IAM 到超时、密钥与事件注入防护一并考虑。在部署、审计或设计 serverless 时使用,确保每个函数权限最小、超时合理、密钥不泄露且能抵御恶意事件。特别强调为每函数独立角色、明确超时和密钥管理策略。
▸ 展开 SKILL.md 英文原文
Lambda / Cloud Functions / Azure Functions hardening: IAM, timeouts, secrets, event injection
2
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ShieldNet-360/secure-vibe/main/skills/serverless-security/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ShieldNet-360/secure-vibe/main/skills/serverless-security/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Serverless Security ## Rules (for AI agents) ### ALWAYS - Give each function its own IAM execution role with the minimum permissions needed. Never share roles across functions; never reuse the bootstrap / developer role. - Set a concrete function timeout (≤ 30s for synchronous APIs, ≤ 15min for background jobs). Defaults like 6s or 900s are footguns in different directions. - Set reserved or provisioned concurrency limits per function to avoid bill blow-outs and to keep one noisy tenant from starving the rest of the account. - Pull secrets at cold-start from a secret manager (AWS Secrets Manager / GCP Secret Manager / Azure Key Vault) **with caching**, not from plaintext
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有