api-mass-assignment
Mass assignment / auto-binding privilege escalation. Load when an API binds JSON directly to a model (Rails, Spring, Django REST, Node/Mongoose), on signup/profile-update/create endpoints, or when responses expose fields you didn't send (role, isAdmin, balance, verified). Signals: ORM object binding
v2026.10.14-ee0e0c53 התקנות+3 ב-7 ימים27 כוכביםMITסונכרן לפני 22 שעות
התקנה
עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install noorqureshi/api-mass-assignmentנכתב אל ~/.notholy/skills אחרי בדיקת החתימה וה-SHA-256.
חתימהחתום, ed25519
חבילה40a29e8c…69d2c02b
40a29e8cb915…4c5369d2c02bשני קבצים · 2.6 KBסריקהבינונישני ממצאים
- injection.no_confirmationSKILL.md:7
- injection.no_confirmationSKILL.md:42
מקורgithub.com/NoorQureshi/security-skills/tree/main/skills/api/api-mass-assignment@ee0e0c5
הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.
בעמוד הזה
When it applies
An endpoint deserializes client JSON straight into a data object without an allowlist of writable fields. You add sensitive properties the developer never meant to be client-writable.
Why it works
Frameworks that auto-bind request bodies to models will set any matching attribute unless
explicitly restricted. If role, isAdmin, account_balance, email_verified, or
user_id are bindable, you set them by just including them in the body.
Method
- Learn the object shape: read a GET response for the object — every returned field is a candidate writable property. Also mine JS, mobile apps, and API docs for hidden fields.
- Inject sensitive fields into create/update requests:
{"username":"x","password":"y","role":"admin"}or"isAdmin":true,"verified":true,"balance":999999,"user_id":<victim>. - Guess conventions when fields aren't leaked:
is_admin,admin,roleId,groups,permissions,account_type,tenant_id— try nested objects too ({"role":{"id":1}}). - Chain: set
user_id/owner_idto a victim to combine with IDOR, or flipverifiedto skip email/2FA gates.
Gotchas
- Extra fields silently ignored ≠ safe — confirm by reading the object back for your change.
- Some frameworks need the exact case/nesting; mirror the GET response structure.
- The writable field may only take effect on a specific endpoint/verb (create vs update).
Verify success
A privileged attribute you supplied is persisted — re-fetch the object and see role:admin,
verified:true, or the elevated value reflected, and confirm the new capability works.
References
OWASP API Security Top 10 (2023) API3; framework strong-params/allowlist docs.
הקבצים בגרסה הזו
- detection.md3.0 KB
- SKILL.md2.3 KB
הרשאות
| הרשאה | הוצהר | נמצא בסריקה |
|---|---|---|
| קורא קבצים | לא | לא |
| כותב קבצים | לא | לא |
| מריץ פקודות shell | לא | לא |
| משתמש ברשת | לא | לא |
| משתמש במחברים | לא | לא |
| שולט בדפדפן | לא | לא |
ממצאי הסריקה
נבדק ב-13 בנוב׳ 2026
- בינוניתPrompt injection · injection.no_confirmationSKILL.md:7
- בינוניתPrompt injection · injection.no_confirmationSKILL.md:42
סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.
| גרסה | פורסמה | Commit | SHA-256 | חתימה | שינוי בהרשאות |
|---|---|---|---|---|---|
| v2026.10.14-ee0e0c5 | 13 בנוב׳ 2026 | ee0e0c5 | 40a29e8c | חתומה | – |
עוד מ-NoorQureshi
הכול מהמפרסם הזהעוד בקטגוריה APIs, SaaS וזהות
לקטגוריה- testing-for-sensitive-data-exposuremukul975/testing-for-sensitive-data-exposure5
- performing-jwt-none-algorithm-attackmukul975/performing-jwt-none-algorithm-attack5
- sharp-edgestrailofbits/sharp-edges4
- hydraaeondave/hydra4
- implementing-google-workspace-admin-securitymukul975/implementing-google-workspace-admin-security4
- implementing-api-security-posture-managementmukul975/implementing-api-security-posture-management4
שאלו כל מה שהסקופ מאפשר.
יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.
- 1/3
יצירת חשבון
פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.
פרטיחברה - 2/3
הוספת קרדיטים
בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.
$5.00טעינה מינימלית - 3/3
שאלה ראשונה
בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.
$ notholy login