The Serverless Mirage - Navigating Risks in an Invisible Infrastructure
NimishShivam Dhar
Where
Talks
CactusCon 14
Duration
40 min
Walks through serverless attack surfaces, from event triggers and IAM to CI/CD, and tests them in an AWS lab.
Summary
The talk traces computing from bare metal through virtualization and containers to AWS Lambda, arguing that serverless shifts security responsibility rather than removing it. The provider secures the layers beneath the function, while customers still own identities, data, dependencies, and triggers. The speakers group the serverless attack surface into event sources, vulnerable function code and exposed secrets, platform and CI/CD misconfiguration, and monitoring gaps.
Risks are then mapped to OWASP and CWE categories with practical mitigations: validating event payloads at the edge, centralizing logs and tracing, scanning dependencies and producing SBOMs, signing artifacts, and limiting egress and tokens. Business impact and cyber insurance trends are discussed briefly. The core case study is Links Lab, an open-source command-line tool that deploys a sentiment-analysis stack on AWS, including an API gateway, an authorizer function, a worker function, a secrets store, a logging bucket, and a hosted model, then tears it down.
The demonstration walks through deploying and verifying the stack, sending requests with a REST client, and running attack and defense scenarios: input injection, a misconfigured policy that can disable function logging, and a vulnerable third-party package that leaks secrets. The closing guidance is to trace requests across services, enforce least privilege and automated deployment checks, validate inputs at the edge, keep handlers small and idempotent, and design for failure.
Related talks
Common Ground·24 min
Kat Traxler
Compares provider-managed non-human identities across AWS, Google Cloud and Microsoft, and where each one is vulnerable.
Talks·52 min
strandjs
Explains how old cloud and supply-chain weaknesses keep resurfacing across Office 365, Entra ID and Azure.
Talks·48 min
Tomer Yahalom · Tal Skverer
Explains the OWASP Non-Human Identity Top 10 ranking, real breaches, AI agent impacts, and a live cloud credential attack demo.


