bypass-agent

Bypass 401, 403, and 405 access controls using path, method, header, and JWT techniques.

2|1|Updated Aug 28, 2026
One-click install
npx skills add https://github.com/lycheer1126/xs-bigdan --skill bypass-agent-lycheer1126
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bypass-agent
Source: https://github.com/lycheer1126/xs-bigdan/tree/main/knowledge/agents/bypass
Command: npx skills add https://github.com/lycheer1126/xs-bigdan --skill bypass-agent-lycheer1126

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? During authorized penetration tests, endpoints frequently return 401/403/405 responses that block further testing. This Skill provides a systematic decision tree for bypassing access controls on in-scope targets, turning blocked endpoints into testable attack surface. ## Core Features & Use Cases - Structured Bypass Decision Tree: Prioritizes JWT token attacks, path manipulation, HTTP method switching, header injection (X-Original-URL, X-Forwarded-For), and protocol downgrade in order of success rate. - Middleware-Specific Techniques: Provides targeted bypass payloads for Apache, Nginx, IIS/ASP.NET, Tomcat, and Spring servers. - JWT Attack Workflow: Covers Bearer prefix removal, alg:none confusion, secret brute forcing, and kid injection for Bearer-token-protected admin endpoints. - Use Case: During an authorized SRC assessment, an API fuzz phase finds /api/admin/users returning 403. The agent applies multi-position path fuzzing and header bypass, gains access, and hands the endpoint to the exploit phase. ## Quick Start Ask the agent to test the blocked endpoint /api/admin/users that returned 403 using the bypass decision tree and report any working technique.

Frequently Asked Questions about bypass-agent

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

FAQPage Schema
How do I bypass a 403 Forbidden error on an API endpoint?

Start with path manipulation techniques like trailing slashes, case variation, URL encoding, and dot segments, which have the highest success rate. Then try HTTP method switching, header injection such as X-Original-URL, and multi-position fuzzing across every directory level.

How to test JWT tokens for authentication bypass?

Test JWTs by removing the Bearer prefix, changing the alg header to none for algorithm confusion, brute forcing weak secrets with wordlists, and attempting kid header injection. These attacks are prioritized when low-privilege tokens receive 401 or 403 on admin endpoints.

What headers bypass IP whitelist restrictions?

X-Forwarded-For set to 127.0.0.1 is the primary technique for bypassing IP whitelists. X-Original-URL works against Nginx and IIS to rewrite the request path, and Referer, Origin, or Host forgery can defeat referrer-based access checks.

Which path bypass techniques work on Tomcat and IIS servers?

Tomcat is vulnerable to path parameter tricks like /admin;foo and /admin..;/ sequences. IIS responds to /admin;.css, backslash separators, and the /admin::$DATA alternate data stream technique.

When should WAF bypass techniques be used in a penetration test?

WAF bypass is a last resort used only after safe testing phases complete, a high-value vulnerability is confirmed but blocked, and normal 403/401 techniques are exhausted. The risk of IP bans makes it unsuitable for low-value targets.