privesc-hunter

Tests vertical privilege escalation via alternate APIs, role parameters, and capability checks.

1|Updated Aug 11, 2026
One-click install
npx skills add https://github.com/Maybe4a6f7365/agentic-bug-bounty-framework --skill privesc-hunter-maybe4a6f7365
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: privesc-hunter
Source: https://github.com/Maybe4a6f7365/agentic-bug-bounty-framework/tree/main/skills/privesc-hunter
Command: npx skills add https://github.com/Maybe4a6f7365/agentic-bug-bounty-framework --skill privesc-hunter-maybe4a6f7365

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests.

What problem does it solve? Security researchers need a systematic way to determine whether a low-privilege account can perform admin-only operations, while avoiding false positives like label-only changes or horizontal access misclassified as privilege escalation. ## Core Features & Use Cases - Capability Matrix Testing: Build role-to-action matrices and replay admin actions as a low-privilege user across UI endpoints, alternate API channels, and background workers. - Structured Test Recipes: Covers role parameter injection, invitation authority revocation, capability declaration versus runtime checks, and privileged object methods with concrete HTTP examples. - Negative Controls & Stop Conditions: Applies a 12-category negative-control taxonomy with a three-way decision split (technically vulnerable, in scope, program reportable) so non-reportable findings are never filed. - Use Case: During a bug bounty engagement, replay an admin-only pin-comment request with a low-privilege session, confirm the state change with an admin read, restore the object, and document the escalation with before/after role claims. ## Quick Start Ask the agent to test whether a low-privilege account on the target can perform an admin-only action using the privesc-hunter checklist and report verified results.

Frequently Asked Questions about privesc-hunter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test for vertical privilege escalation in a web app?

Capture a harmless reversible admin action, replay it as a low-privilege user against the same endpoint or an alternate API channel, then verify the state change with an admin read. Confirm the actor gained a higher-role capability, not just access to another object.

What is the difference between privilege escalation and IDOR?

Privilege escalation means the actor gains or exercises a capability reserved for a higher role, even without touching a foreign object ID. Cross-user object access without acquiring a higher role is an access-control or IDOR issue, not privilege escalation.

Can role parameters in registration forms lead to privilege escalation?

Yes, if the server trusts client-controlled role fields like role, permission, or capability during registration or update. Verify elevation through the authoritative role API or database, not just a reflected field, and only test on disposable or admin-controlled instances.

When should a privilege escalation finding not be reported?

Do not report when the behavior is expected product design, a later authoritative check rejects the action, escalation requires prior admin control, only a label changes without proven capability, or the affected asset is out of scope. Apply the negative-control taxonomy categories before filing.

Does this approach work against targets with patched frameworks?

The version boundary table lists fixed versions for known GHSA and CVE authorization flaws in Spring Security, Django, Parse Server, and Directus. If the target runs at or above the fixed version, focus on custom roles and endpoint guards instead of the patched component.