auditing-serverless-event-source-trust

auditing-serverless-event-source-trust is a skill for Claude Code from UnboundCompute/security-agent-skills. It costs 182 tokens per session (1,977 once invoked), scanned A, original, MIT.

A security review guide for serverless functions triggered by events such as queues, file notifications, schedules, or topics. It checks whether the function verifies the event's source and contents before acting.

In plain words
What is it for?
Auditing event triggers, source authentication, per-event authorization, payload validation, and the flow of event data into downstream actions.
Why use it?
It helps find cases where a function trusts an event merely because the platform delivered it, allowing attacker-controlled data to reach commands, databases, paths, or other services.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the security-agent-skills plugin — 194 skills shipped together

Good fit Auditing event triggers, source authentication, per-event authorization, payload validation, and the flow of event data into downstream actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unboundcompute/security-agent-skills/auditing-serverless-event-source-trust
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add UnboundCompute/security-agent-skills --skill auditing-serverless-event-source-trust
Clone the repo
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills

Made for: Claude Code.

Or install security-agent-skills, the plugin that ships this one along with the rest of its 194 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for auditing-serverless-event-source-trust

README.md
[![agentmods](https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/auditing-serverless-event-source-trust/github.svg)](https://agentmods.dev/skills/unboundcompute/security-agent-skills/auditing-serverless-event-source-trust)
Your own site
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/auditing-serverless-event-source-trust"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/auditing-serverless-event-source-trust/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for auditing-serverless-event-source-trust

Your own site · 80×15
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/auditing-serverless-event-source-trust"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/auditing-serverless-event-source-trust.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 182 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,977 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00182 $0.01977
Opus 5 $0.00091 $0.00988
Sonnet 5 $0.00036 $0.00395
Haiku 4.5 $0.00018 $0.00198

Measured 9d ago against content hash 1d53b699c51f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

auditing-serverless-event-source-trust scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/auditing-serverless-event-source-trust/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Auditing serverless event-source trust: when the handler trusts the event because it came from inside

Event-driven functions invert the usual request model: instead of a caller reaching an endpoint, a platform delivers an event to a handler. The recurring mistake is treating that delivery as authentication, the handler assumes the event is genuine, well-formed, and authorized simply because it came through the platform's plumbing. But the event source may accept writes from more parties than intended, the payload is attacker-influenceable input, and the same handler may be reachable by triggers it should never honor. The event payload is the source, the handler's action is the sink, and the bug is trust that was assumed rather than verified. You find it by mapping each function to what can trigger it and asking what the handler checks before it acts.

When to use

  • Functions are triggered by events from queues, object-store notifications, schedules, topics, or gateways.
  • A handler trusts the event payload's contents or its claimed source without verifying either.
  • Per-event-type authorization or source authentication is assumed rather than checked in the handler.

Scope check

Audit functions, event sources, and execution identities you own or are authorized to assess, and inject crafted events only into non-production triggers where a spurious run is safe. A forged event can drive a real privileged action. If you can't name the authorization, stop.

The loop

  1. Map each function to its triggers and its assumptions. For every handler, identify what can invoke it, a message queue, an object-store notification, a schedule, a topic, an upstream gateway, and what the handler takes for granted: that the event came from a trusted producer, that its fields are well-formed, that the actor behind it is already authorized. Those assumptions are the surface.

  2. Check whether the event's true source is verified. A handler often treats any event the platform delivers as authentic. But an event source can be writable by more parties than intended: an object store others can write to, a queue with broad send permission, a public-facing gateway. Determine whether the handler confirms the event's origin and integrity, or merely that it arrived.

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 133 lines · 182 tokens per session scan A 1d53b699c51f

Subscribe to this mod's changes

auditing-serverless-event-source-trust is a skill published in the GitHub repository UnboundCompute/security-agent-skills (5 stars, last pushed today), licensed MIT. It adds 182 tokens to every session and 1,977 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

protect

Add Arcjet request protection to JavaScript and TypeScript HTTP handlers. Use when protecting Next.js, Express, Fastify, SvelteKit, Remix, Astro, Nuxt, Bun, Deno, NestJS, or Node.js routes with rate limiting, bot detection, Shield, email validation, or sensitive info detection.

arcjet/arcjet-js · 67 tokens

create-auth-skill

Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.

Agent-Threat-Rule/agent-threat-rules · 66 tokens

fhir-developer-skill

FHIR API development guide for building healthcare endpoints. Use when: (1) Creating FHIR REST endpoints (Patient, Observation, Encounter, Condition, MedicationRequest), (2) Validating FHIR resources and returning proper HTTP status codes and error responses, (3) Implementing SMART on FHIR authorization and OAuth…

Agent-Threat-Rule/agent-threat-rules · 132 tokens

api-security

Reviews REST and GraphQL APIs against the OWASP API Security Top 10:2023. Auto-invoked when reviewing OpenAPI/Swagger specs, API endpoint code, or GraphQL schemas. Covers BOLA, BFLA, authentication, rate limiting, and SSRF. Produces findings mapped to API1-API10 with remediation guidance.

UnitOneAI/SecuritySkills · 74 tokens

create-auth-skill

Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.

Agent-Threat-Rule/agent-threat-rules · 66 tokens

api-breaker

Automated API security testing starting from domains. Discovers REST, GraphQL, and SOAP APIs, reconstructs schemas, and tests for BOLA/IDOR, BFLA, mass assignment, JWT attacks, rate limiting bypass, and business logic flaws. Use when user asks to "test API security", "break API", "find API vulnerabilities", "test…

Orizon-eu/claude-code-pentest · 101 tokens