web-prototype-pollution
JavaScript prototype pollution (client & server) → XSS, auth bypass, RCE via gadgets. Load on Node.js/JS apps that merge user objects: query/JSON parsing, `Object.assign`/deep-merge, lodash/jQuery.extend, config merges. Signals: __proto__, constructor.prototype in params, Node backend, client-side s
v2026.10.14-ee0e0c53 התקנות+3 ב-7 ימים27 כוכביםMITסונכרן לפני 22 שעות
התקנה
עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install noorqureshi/web-prototype-pollutionנכתב אל ~/.notholy/skills אחרי בדיקת החתימה וה-SHA-256.
חתימהחתום, ed25519
חבילהaa011908…f00b8cef
aa011908fa62…239ef00b8cefקובץ אחד · 1.4 KBסריקהנמוךאין ממצאים
מקורgithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-prototype-pollution@ee0e0c5
הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.
בעמוד הזה
When it applies
A JS app merges attacker-controlled keys into an object without blocking __proto__ /
constructor / prototype. Client-side or Node server-side. Impact needs a "gadget" — code
that later reads a polluted property.
Why it works
In JS, every object shares Object.prototype. Writing __proto__.x via a vulnerable merge sets
x on every object. A later read of obj.x (that the dev assumed was undefined) now returns
your value — turning a config default, an HTML attribute, or a command option to your advantage.
Method
- Find the sink: params/JSON merged via deep-merge/
Object.assign/lodashmerge/set,$.extend(true,...), query parsers. Test?__proto__[test]=xor{"__proto__":{"test":"x"}}. - Confirm pollution: check
Object.prototype.testin console (client) or a reflected default (server). - Chain to a gadget:
- Client: pollute a property a library reads to inject HTML/script → DOM XSS (e.g. sanitizer options, template defaults).
- Server (Node): pollute options later used by
child_process(shell,NODE_OPTIONS,argv0), template engines, orejs/lodash.template→ RCE; or flip anisAdmin/auth default → authz bypass.
- Automate discovery with
ppmap/DOM Invader prototype-pollution mode.
Gotchas
- Pollution with no reachable gadget is low-impact — find the read to prove real effect.
Object.freeze(Object.prototype)/Object.create(null)/ Map usage kills it.- Server-side needs the polluted key to survive to a dangerous consumer — trace it.
Verify success
A polluted prototype property produces concrete impact — XSS firing, an auth default flipped, or command execution via a known gadget.
References
PortSwigger prototype-pollution labs; "Server-side prototype pollution" (PortSwigger); HackTricks.
הקבצים בגרסה הזו
- SKILL.md2.4 KB
הרשאות
| הרשאה | הוצהר | נמצא בסריקה |
|---|---|---|
| קורא קבצים | לא | לא |
| כותב קבצים | לא | לא |
| מריץ פקודות shell | לא | לא |
| משתמש ברשת | לא | לא |
| משתמש במחברים | לא | לא |
| שולט בדפדפן | לא | לא |
ממצאי הסריקה
נבדק ב-13 בנוב׳ 2026
הסריקה לא מצאה בגרסה הזו שום דבר שצריך לסמן.
סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.
| גרסה | פורסמה | Commit | SHA-256 | חתימה | שינוי בהרשאות |
|---|---|---|---|---|---|
| v2026.10.14-ee0e0c5 | 13 בנוב׳ 2026 | ee0e0c5 | aa011908 | חתומה | – |
עוד מ-NoorQureshi
הכול מהמפרסם הזהעוד בקטגוריה Web ו-bug bounty
לקטגוריה- src-hunterzhaoxuya520/src-hunter5
- owasp-top10-analysissecurityskills/owasp-top10-analysis5
- testing-for-xml-injection-vulnerabilitiesmukul975/testing-for-xml-injection-vulnerabilities5
- offensive-xsssnailsploit/offensive-xss5
- offensive-rcesnailsploit/offensive-rce5
- source-review-techniqueaeondave/source-review-technique5
שאלו כל מה שהסקופ מאפשר.
יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.
- 1/3
יצירת חשבון
פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.
פרטיחברה - 2/3
הוספת קרדיטים
בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.
$5.00טעינה מינימלית - 3/3
שאלה ראשונה
בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.
$ notholy login