๐ก๏ธ Proposed Rule ID
TG-EDGE-001
๐ Summary of the Rule
Security guardrails for serverless and edge computing environments (e.g., Vercel Edge Functions, Cloudflare Workers, AWS Lambda).
โ ๏ธ Why It Matters
In serverless runtimes:
- Global variables and module-scoped memory can persist across warm invocations, accidentally leaking sensitive user state between requests.
- In-memory secret caching on edge nodes can lead to credential exposure if execution context errors occur.
๐ฏ Proposed Scope & Guidance
- Applies to: Cloudflare Workers, Next.js Edge Runtime, AWS Lambda.
- Guidance: Enforce request-scoped state isolation and avoid global mutable variables for sensitive context.
๐ก๏ธ Proposed Rule ID
TG-EDGE-001๐ Summary of the Rule
Security guardrails for serverless and edge computing environments (e.g., Vercel Edge Functions, Cloudflare Workers, AWS Lambda).
In serverless runtimes:
๐ฏ Proposed Scope & Guidance