pentest-proxy
Skill16 starsChanged 3 months agoApache-2.0View on GitHub
Pentest temporary-use workflow using yorishiro-proxy as an MITM proxy via CLI
- Deletes or force-pushes
In this repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- autopilotSkill
- buildSkill
- code-reviewSkill
- implement-pluginSkill
- implementSkill
- license-checkSkill
- orchestrateSkill
- projectSkill
- prSkill
- review-gateSkill
- security-reviewSkill
- testSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use yorishiro-proxy as an MITM proxy during penetration testing via CLI.
- Very specific: line 9
All commands use the yorishiro-proxy client subcommand over Bash.
- Distinctive: line 18
Check if a server is already running:
- Distinctive: line 24
If no active server is found, start one:
- Distinctive: line 30
Verify it is ready:
- Distinctive: line 104
Check fuzz job status and retrieve results:
- Distinctive: line 129
Stop the proxy listener and delete flow data:
- Distinctive: line 164
If the response contains User A's data, an IDOR vulnerability exists.
- Distinctive: line 202
If the unauthenticated response still returns protected data, an auth bypass exists.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/pentest-proxy
Use yorishiro-proxy as an MITM proxy during penetration testing via CLI.
All commands use the yorishiro-proxy client subcommand over Bash.
Prerequisites
yorishiro-proxybinary is available on PATH- Target application is accessible from the proxy host
1. Server Startup
Check if a server is already running:
yorishiro-proxy client list-serversIf no active server is found, start one:
yorishiro-proxy server -mcp-http-addr 127.0.0.1:9090 &Verify it is ready:
yorishiro-proxy client query resource=status2. Start Proxy Listener
yorishiro-proxy client proxy_start listen_addr=127.0.0.1:8080Configure the target application or browser to use 127.0.0.1:8080 as its HTTP proxy.
3. Install CA Certificate
Export the CA certificate for HTTPS interception:
yorishiro-proxy client query resource=ca_certInstall the output PEM into the target's trust store.
4. Configure TLS Passthrough (Optional)
Bypass TLS interception for specific upstream hosts (these hosts will NOT be intercepted):
yorishiro-proxy client configure tls_passthrough.add='*.cdn.example.com,static.example.com'5. Capture Traffic
Send requests through the proxy (e.g., curl, browser, or the target app) and list captured flows:
yorishiro-proxy client query resource=flows limit=206. Inspect a Flow
yorishiro-proxy client query flow FLOW_ID
yorishiro-proxy client query messages FLOW_IDNote:
querysupports positional args: first arg isresource, second isid.
7. Resend a Request
Replay a recorded request as-is:
yorishiro-proxy client resend action=resend params.flow_id=FLOW_IDCompare the original and replayed responses:
yorishiro-proxy client resend action=compare params.flow_id_a=ORIGINAL_ID params.flow_id_b=REPLAYED_ID8. Fuzz a Parameter
Launch a fuzz campaign against a captured flow. The fuzz tool requires structured JSON for positions and payload sets, so use @- (stdin) or a JSON file for complex configurations:
yorishiro-proxy client fuzz action=fuzz params.flow_id=FLOW_ID \
params.attack_type=sequential \
params.positions='[{"id":"pos-0","location":"query","name":"search","payload_set":"payloads"}]' \
params.payload_sets='{"payloads":{"type":"wordlist","values":["test1","test2","test3"]}}'Check fuzz job status and retrieve results:
yorishiro-proxy client query resource=fuzz_jobs
yorishiro-proxy client query resource=fuzz_results fuzz_id=FUZZ_IDControl a running fuzz job:
yorishiro-proxy client fuzz action=fuzz_pause params.fuzz_id=FUZZ_ID
yorishiro-proxy client fuzz action=fuzz_resume params.fuzz_id=FUZZ_ID
yorishiro-proxy client fuzz action=fuzz_cancel params.fuzz_id=FUZZ_ID9. Export Results
Export flows as HAR for reporting:
yorishiro-proxy client manage action=export_flows params.format=har params.output_path=flows.har10. Cleanup
Stop the proxy listener and delete flow data:
yorishiro-proxy client proxy_stop
yorishiro-proxy client manage action=delete_flows params.flow_id=FLOW_IDTo delete all flows:
yorishiro-proxy client manage action=delete_flows params.confirm=trueTypical Scenarios
IDOR Detection
- Authenticate as User A, browse the target to capture flows:
yorishiro-proxy client query resource=flows limit=50 - Identify a flow containing a user-specific resource ID (e.g.,
/api/users/123/profile):yorishiro-proxy client query flow FLOW_ID - Resend the request (still as User A) to confirm baseline:
yorishiro-proxy client resend action=resend params.flow_id=FLOW_ID - Switch to User B credentials and resend the same flow. Compare responses:
yorishiro-proxy client resend action=compare params.flow_id_a=USER_A_FLOW params.flow_id_b=USER_B_FLOW - If the response contains User A's data, an IDOR vulnerability exists.
SQL Injection Testing
- Capture a flow containing a parameter of interest:
yorishiro-proxy client query resource=flows limit=20 yorishiro-proxy client query messages FLOW_ID - Launch a fuzz campaign against the flow:
yorishiro-proxy client fuzz action=fuzz params.flow_id=FLOW_ID \ params.attack_type=sequential \ params.positions='[{"id":"pos-0","location":"query","name":"id","payload_set":"sqli"}]' \ params.payload_sets='{"sqli":{"type":"wordlist","values":["'\''","1 OR 1=1","1; DROP TABLE--"]}}' - Monitor and retrieve results:
yorishiro-proxy client query resource=fuzz_jobs yorishiro-proxy client query resource=fuzz_results fuzz_id=FUZZ_ID - Inspect any anomalous responses (e.g., status code changes, error messages, timing differences) to confirm injection points.
Authentication Bypass Testing
- Capture an authenticated request flow:
yorishiro-proxy client query resource=flows limit=20 - Inspect the flow to identify auth headers/cookies:
yorishiro-proxy client query messages FLOW_ID - Resend without auth tokens (by replaying from an unauthenticated session) and compare:
yorishiro-proxy client resend action=resend params.flow_id=FLOW_ID yorishiro-proxy client resend action=compare params.flow_id_a=AUTH_FLOW params.flow_id_b=NO_AUTH_FLOW - If the unauthenticated response still returns protected data, an auth bypass exists.
Quick Reference
| Task | Command |
| Docs (offline) | yorishiro-proxy docs / yorishiro-proxy docs <topic> — no server needed |
| List flows | yorishiro-proxy client query resource=flows limit=N |
| Flow detail | yorishiro-proxy client query flow ID |
| Flow messages | yorishiro-proxy client query messages ID |
| Proxy status | yorishiro-proxy client query resource=status |
| Resend | yorishiro-proxy client resend action=resend params.flow_id=ID |
| Compare | yorishiro-proxy client resend action=compare params.flow_id_a=A params.flow_id_b=B |
| Fuzz start | yorishiro-proxy client fuzz action=fuzz params.flow_id=ID ... |
| Fuzz results | yorishiro-proxy client query resource=fuzz_results fuzz_id=ID |
| Export HAR | yorishiro-proxy client manage action=export_flows params.format=har params.output_path=FILE |
| CA cert | yorishiro-proxy client query resource=ca_cert |
| Delete flow | yorishiro-proxy client manage action=delete_flows params.flow_id=ID |
| Delete all | yorishiro-proxy client manage action=delete_flows params.confirm=true |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

