hunting-mass-assignment-and-property-authz

hunting-mass-assignment-and-property-authz is a skill for Claude Code from UnboundCompute/security-agent-skills. It costs 156 tokens per session (1,998 once invoked), scanned A, original, MIT.

A security review for updates that copy client-provided fields directly onto a stored record. It identifies fields that should belong only to the server, such as roles, owners, prices, balances, tenant IDs, and verification status.

In plain words
What is it for?
Use it to inspect create and update handlers, model hydration, API payloads, and authorization rules for unwanted property writes.
Why use it?
A caller can add hidden fields to an otherwise permitted request and change privileges, ownership, money, or workflow state. Automatic model binding can make this mistake easy to miss.

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 Use it to inspect create and update handlers, model hydration, API payloads, and authorization rules for unwanted property writes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unboundcompute/security-agent-skills/hunting-mass-assignment-and-property-authz
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 hunting-mass-assignment-and-property-authz
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 hunting-mass-assignment-and-property-authz

README.md
[![agentmods](https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/hunting-mass-assignment-and-property-authz/github.svg)](https://agentmods.dev/skills/unboundcompute/security-agent-skills/hunting-mass-assignment-and-property-authz)
Your own site
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/hunting-mass-assignment-and-property-authz"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/hunting-mass-assignment-and-property-authz/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 hunting-mass-assignment-and-property-authz

Your own site · 80×15
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/hunting-mass-assignment-and-property-authz"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/hunting-mass-assignment-and-property-authz.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,998 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.00156 $0.01998
Opus 5.5 $0.00062 $0.00799
Sonnet 5.5 $0.00031 $0.00400
Haiku 4.5 $0.00016 $0.00200

Measured 1mo ago against content hash 475f5a95f8e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hunting-mass-assignment-and-property-authz 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 1mo 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/hunting-mass-assignment-and-property-authz/SKILL.md · 146 lines

How it starts

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

Hunting mass assignment: which fields, not which object

Broken object-level authorization asks whether the caller may reach this object. Mass assignment asks the next question: given an object the caller may write, which of its fields may they set? The bug is a handler that binds a request payload onto a record and trusts the client to send only the fields it should, so an attacker adds "role":"admin", "owner_id": <someone else>, "price": 0, or "verified": true to a payload the endpoint was never meant to accept, and the framework writes it. You find it by listing what the client can put into the payload, following it to the record write, and asking which of those fields the server, not the client, is supposed to own.

When to use

  • You are reviewing a create or update handler that maps request fields onto a persisted object.
  • The framework auto-binds or hydrates a payload onto a model, struct, or record.
  • Some properties of the object are meant to be server-controlled: privilege, ownership, tenancy, money, state, or verification flags.

Scope check

Test property writes only in systems you own or are authorized to test, with accounts that let you observe a privilege, ownership, or state change take effect. If you can't name the authorization, stop.

The loop

  1. List the writable fields the client can reach. For each create and update handler, determine how the payload becomes a record: an explicit field-by-field assignment, an allowlisted binder, or a whole-payload hydration. Whole-payload binding means every column is a candidate; a binder means whatever the allowlist admits. Enumerate the fields the client can actually set, not the ones the form shows.

  2. Follow the payload to the record write. Trace the bound fields from the request to the persistence call, the object mutation and save. That write is the sink. Note whether the binding is an allowlist (only named fields) or a blocklist (everything except named fields); a blocklist is a standing bet that no sensitive field was ever added later.

Read the full file on GitHub · 146 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. 1mo ago First seen · 146 lines · 156 tokens per session scan A 475f5a95f8e7

Subscribe to this mod's changes

hunting-mass-assignment-and-property-authz is a skill published in the GitHub repository UnboundCompute/security-agent-skills (5 stars, last pushed 1mo ago), licensed MIT. It adds 156 tokens to every session and 1,998 once invoked, about $0.0006 per session on Opus 5.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-09-05.

Related

Other skills, from other repositories

integrate-arcjet-guard-cloudflare-think

Integrate Arcjet security into a Cloudflare Think app using @arcjet/guard — assign guardHooks().beforeToolCall on a Think subclass so the hook gates tools, and read a caller-owned id from helper options. Use when asked to add Arcjet to Cloudflare Think, @cloudflare/think, rate limit its tools, screen inbound messages…

arcjet/arcjet-js · 106 tokens

protect

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

arcjet/arcjet-js · 73 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