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.
npx skills add SecurityTalent/bugskill-ai --skill mass-assignmentgit clone --depth 1 https://github.com/SecurityTalent/bugskill-aiWrote 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.
[](https://agentmods.dev/skills/securitytalent/bugskill-ai/mass-assignment)<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/mass-assignment"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/mass-assignment/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.
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/mass-assignment"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/mass-assignment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00005 | $0.01450 |
| Opus 5.5 | $0.00002 | $0.00580 |
| Sonnet 5.5 | $0.00001 | $0.00290 |
| Haiku 4.5 | $0.00001 | $0.00145 |
Grade A, and why
mass-assignment 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 20d 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.
How it starts
The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mass Assignment
What Is Broken and Why
Frameworks that automatically bind request body parameters to model attributes (Rails,
Laravel, Django, Mongoose, Sequelize) allow attackers to set fields that were never
meant to be user-modifiable. A profile update endpoint intended to accept {name, email}
will also accept {role: "admin", plan: "enterprise", ownerId: 999} if the server
doesn't explicitly allowlist accepted fields.
Key Signals
- PUT/PATCH/POST endpoints that update model records
- JSON bodies passed to ORM
update(),create(),save(), orassign()calls - Registration or profile endpoints in Rails, Laravel, Django, Express apps
- API responses that reveal field names not expected in requests (leak model schema)
- GraphQL mutations with
inputtypes - Endpoints where adding extra fields returns 200 (not 400 Bad Request)
Methodology
- Identify PUT/PATCH endpoints for user profile, settings, or resource updates.
- Intercept a normal request; examine which fields are accepted.
- Inspect API responses and other endpoints to discover undocumented field names
(
role,admin,isAdmin,verified,plan,credits,ownerId,orgId). - Add extra fields to the request body — observe if they're accepted silently.
- Attempt privilege escalation: inject
"role": "admin"or"isAdmin": true. - Attempt horizontal access: inject
"userId"or"ownerId"pointing to another user. - For registration endpoints: try setting
"emailVerified": true,"credits": 9999. - Fuzz with common sensitive field names from framework conventions.
Payloads & Tools
// Profile update — attempt privilege escalation
PATCH /api/users/me
{"name": "test", "email": "[email protected]", "role": "admin", "isAdmin": true}
// Registration — attempt auto-verification and credit injection
POST /api/register
{"email": "[email protected]", "password": "pass", "emailVerified": true, "credits": 9999,
"plan": "enterprise", "trialExpires": "2099-01-01"}
// Resource update — attempt ownership change (IDOR via mass assignment)
PATCH /api/posts/42
{"title": "new", "ownerId": 1, "userId": 1}
// Nested object injection (common in JSON APIs)
PUT /api/profile
{"name": "x", "address": {"city": "x"}, "billingPlan": {"tier": "enterprise"}}
// GraphQL mutation with extra input fields
mutation {
updateUser(input: {name: "x", role: "admin", isAdmin: true}) { id role }
}
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.
- 20d ago First seen · 142 lines · 0 tokens per session scan A 8ac918994589
mass-assignment is a skill published in the GitHub repository SecurityTalent/bugskill-ai (13 stars, last pushed 21d ago), licensed MIT. It adds 5 tokens to every session and 1,450 once invoked, about $0.0000 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-27.
Other skills, from other repositories
bun-api
Bun runtime API reference for TypeScript scripts. Covers Bun.serve() HTTP/HTTP/2 server with routes and WebSockets, fetch() transport options, proxies and Bun.FetchSession connection pools, Bun.ModuleGraph multi-instance apps, Bun.file(), Bun.write(), Bun.$() shell, Bun.spawn(), Bun.Glob, Bun.env, bun:sqlite…
hub-agent-setup
Connect a local or remote AI agent to Giskard Hub through an authenticated, non-streaming HTTPS endpoint. Use when a user asks to connect, integrate, or register their agent with the Hub. Build a minimal wrapper, deploy or tunnel it, and use the Hub connection test (SDK or MCP) to guide any fixes.
api-designer
Helps design REST APIs - routes, request/response structures, validation, status codes, and conventions. Use when designing new endpoints or reviewing an existing API's design for consistency.
auth-flow-reviewer
Deep review of authentication, authorization, session, and SSO flows specifically - token lifecycle, session fixation, logout behavior, and OAuth/SSO correctness. Use when reviewing or designing login, session, or SSO code specifically.
log-message-improver
Improves logging statements for observability - structured logging, appropriate log levels, and useful context. Use when logs are too sparse, too noisy, or missing the context needed to debug an incident from them alone.
cqrs-event-sourcing-designer
Designs Command Query Responsibility Segregation (CQRS) and Event Sourcing models with projection rebuilders.