LLMs Technical Reviews

OWASP Top 10 - Serverless Interpretation (2018)

A 2018 preliminary report re-reading the OWASP Top 10 2017 for cloud functions; not a real Serverless Top 10, but still a sharp primer on event-driven risk.

official page ↗OWASP Serverless Top 10 projectedition 2018 (Serverless Interpretation of the OWASP Top 10 2017)incubator projectreleased 2018-10-2510 itemssource OWASP/Serverless-Top-10-Project · read 2026-11-03

Items at a glance

What this list is

This is not a Serverless Top 10. It is a report from October 2018 that takes the ten risks of the OWASP Top 10 2017 (A1 to A10) one by one and asks how each changes when the application runs as cloud functions instead of on servers. The OWASP Serverless Top 10 project published it as a preliminary report. It was meant to start an open call for data that would lead to a real, data-based Serverless Top 10. That list never appeared: the project’s roadmap still shows “Serverless Security Top 10” as planned, with “coming soon” in place of dates. The project remains at Incubator level.

Read it with its age in mind. The base list has been replaced twice since, by the 2021 and 2025 editions. The examples name function services, limits and features as they stood in 2018. The codes on this page are the 2017 web codes, not serverless-specific ones. What still holds up is the main idea: in an event-driven function, every trigger is an input, and the function’s cloud role sets the blast radius. That idea applies directly to today’s agent systems, which are often built on the same triggers.

How it was made

The report reviews each 2017 risk under six headings: new attack vectors, why a function might be vulnerable, business impact on the cloud account, prevention, an example scenario with code, and a “risk meter” that judges whether the risk is higher, lower or the same in serverless. No data supports these judgements. The report names a sponsoring vendor and a list of individual reviewers. It also adds an “Other Risks to Consider” section with five candidates for the planned list: denial of service, denial of wallet, insecure secret management, insecure shared space (data left in /tmp between warm invocations) and business-logic or flow manipulation.

The licence is unclear. The cover names CC BY-NC-ND 4.0. The copyright page says “Attribution-ShareAlike” but gives the code CC BY-NC-SA. The project page says CC BY-SA 4.0.

The items

A1:2017 Injection

The report rates injection a major concern for serverless. Functions run on events from storage uploads, streams, database changes, code commits, email, SMS and IoT messages, so the attack surface is far larger than one API, and there may be no point where a web application firewall can sit. The impact depends on the function’s role: injected code can do whatever that role allows. The examples are a deserializer that calls eval and an upload handler that puts a file name into a shell command. The controls are to treat every event as untrusted, use parameterised APIs and give each function the least privilege it needs. An LLM agent triggered by inbound email follows the same pattern.

Related. A05:2025 Injection, CNAS-2 Injection flaws (app layer, cloud events, cloud services), LLM01:2026 Prompt Injection.

A2:2017 Broken Authentication

An application can contain hundreds of stateless functions, each with its own trigger, and every one needs its own authentication. Internal triggers are the trap. In the example, a manager approves pull requests by replying to an email, and the reply triggers a function that has merge rights. Anyone who learns the address and the email format can then approve code. The report’s verdict is mixed. Authentication is harder to get right, but managed identity services remove password and session handling. Controls: use the provider’s identity services, enforce authentication at the API gateway, use federated tokens between services, and verify who sent any event that triggers a privileged action.

Related. A07:2025 Authentication Failures, API2:2023 Broken Authentication.

A3:2017 Sensitive Data Exposure

The usual threats remain: stolen keys, interception, and readable data at rest or in transit. What changes is where the data sits: in buckets and managed tables rather than on a server’s disk. Inside the function, the source code and environment variables are readable, and files left in /tmp can survive into the next invocation. The example is a function with hardcoded keys to a management cloud account. Controls: classify and minimise data, encrypt with the provider’s key management service, use HTTPS only, keep secrets out of code, and clean up /tmp.

Related. A04:2025 Cryptographic Failures, NHI2:2025 Secret Leakage.

A4:2017 XML External Entities (XXE)

The report rates XXE lower in serverless. Out-of-band exfiltration often fails inside a private network, scans have only seconds to run, and denial of service hits only one invocation. What remains is local file reads. In the example, an XML file uploaded to storage makes the function print its own source file into the logs. The fix is to turn off external entity resolution. XXE no longer has its own web entry; it was folded into misconfiguration in 2021.

Related. A02:2025 Security Misconfiguration, CNAS-2 Injection flaws (app layer, cloud events, cloud services).

A5:2017 Broken Access Control

In serverless, broken access control mostly means function roles that are too broad. In the example, a function that only needs to upload to one bucket has rights to do anything on every bucket. Exploited, it can read other customers’ orders, delete storage, trigger other functions, or run up costs (the report’s first use of “denial of wallet”). Unusually, the report judges this risk no higher than in traditional apps and perhaps lower, because per-function roles make fine-grained least privilege possible. Controls: one narrow role per function, a permissions review before release, and automated policy generation. The same reasoning applies to scoping the tools an agent can call.

Related. A01:2025 Broken Access Control, NHI5:2025 Overprivileged NHI, LLM03:2026 Excessive Agency.

A6:2017 Security Misconfiguration

Here misconfiguration means unlinked triggers, public buckets, secrets in code or environment variables, and badly chosen timeout and concurrency settings. A long timeout lets an exploit run longer and costs more. A low concurrency limit makes denial of service easy. A high limit invites denial of wallet. In the example, a bucket with public write access triggers an internal workflow, so an outsider can upload a file with their own cloud credentials and start it. The report rates the risk slightly higher than in traditional apps, because there are many more entry points. Controls: scan accounts for public resources, set timeouts to the minimum needed, choose concurrency deliberately, and remove orphaned triggers.

Related. A02:2025 Security Misconfiguration, CNAS-1 Insecure cloud, container or orchestration configuration, CNAS-9 Inadequate ‘compute’ resource quota limits.

A7:2017 Cross-Site Scripting (XSS)

The browser side of XSS does not change. What changes is where a stored payload comes from: emails, files in storage, logs and IoT messages, not only a database. In the example, a support dashboard shows incoming email subjects pushed over a WebSocket without encoding, so an email subject becomes script in a support worker’s browser. The report rates the risk slightly lower, since stateless apps rarely use session cookies, but notes that API keys in browser storage are still exposed. The old controls still apply: encode output and use a framework that does it for you. Showing model output in a dashboard is the same situation.

Related. A05:2025 Injection, 2 DOM-based XSS, LLM10:2026 Improper Output Handling.

A8:2017 Insecure Deserialization

The report expects this to be somewhat more common in serverless. Dynamic languages and JSON are the norm, and functions use third-party libraries to deserialize data. It names Python’s pickle, node-serialize and Java’s Jackson. In the example, a chat bot passes user text to a Jackson mapper that is known to be vulnerable. A crafted object runs a process that sends the function’s temporary cloud credentials to the attacker. Controls: enforce strict types on anything deserialized from events, review libraries, and watch for deserialization errors.

Related. A08:2025 Software or Data Integrity Failures, CWE-502 Deserialization of Untrusted Data.

A9:2017 Using Components with Known Vulnerabilities

Small functions pull in many dependencies, so the report rates this risk higher than in traditional apps. It also warns about upstream attacks, which it calls “poisoning the well”: a malicious version is published and waits to be deployed. The example is a URL-parsing library that returns the wrong host name, which leads to open redirects or request forgery. Controls: track dependencies, install only from official sources and prefer signed packages, follow advisories, and scan with open tools such as OWASP Dependency-Check or Dependency-Track.

Related. A03:2025 Software Supply Chain Failures, OSS-RISK-1 Known Vulnerabilities, OSS-RISK-2 Compromise of Legitimate Package.

A10:2017 Insufficient Logging and Monitoring

Teams that rely only on the provider’s logs have blind spots, and those logs have limits. In the example, a home-made input “firewall” logs malicious payloads, but a payload over the log size limit produces no log line at all, so the alert never fires. The specific limit belongs to 2018; the lesson does not. Do not build detection on a channel the attacker can overflow. Controls: use the provider’s audit trail, log your own security events, and alert on failed credentials, unusual invocation counts and long runtimes.

Related. A09:2025 Security Logging & Alerting Failures, CNAS-10 Ineffective logging & monitoring (e.g. runtime activity).

What changed

There is no earlier edition, and no later one. The planned data-based Serverless Top 10 was never published. Its ideas moved on in other lists. Denial of wallet from the “Other Risks” section became part of API4:2023 Unrestricted Resource Consumption and LLM06:2026 Unbounded Consumption. Event-data injection appears as an example in the unfinished Cloud-Native Top 10.

What it misses

  • Age. The base list is from 2017. Server-side request forgery, insecure design and supply-chain integrity, which matter a lot for functions, are not among its ten. Request forgery shows up only inside the A9 example.
  • Serverless-specific risks treated as extras. Denial of wallet, /tmp reuse between invocations, secret sharing across functions and event-flow manipulation are the most serverless-specific ideas in the report. They sit in an unranked appendix, not in the list.
  • No data. The risk meters are opinions, and the report says so.
  • Vendor framing. One prevention item recommends a commercial runtime defence product, and most examples assume one cloud provider.
  • Licence confusion. Three different licences are named (see above).

Our take

Use this as a short, readable primer on how classic web risks change shape in event-driven code. Its most useful lessons are that every trigger is an input and that a function’s role sets the blast radius, and both apply directly to agent systems built on queues, webhooks and inbound email. Do not use it as a current checklist or cite its codes as a serverless standard, because it is an eight-year-old interpretation of a superseded list. For current work, start from the OWASP Top 10 2025 and the API Security Top 10, and read the report’s “Other Risks” section for the serverless-specific points.

Item codes and names are from “OWASP Top 10 - Serverless Interpretation (2018)” by OWASP Serverless Top 10 project, licence: CC BY-SA 4.0 per the project page; the PDF itself says CC BY-NC-SA 4.0. Read the official text before relying on a detail. The review text on this page is ours.