Individual skill
exploiting-client-side-path-traversal
Exploiting Client-Side Path Traversal (CSPT, also known as On-Site Request Forgery) where attacker-controlled input is concatenated into a same-origin URL that the victim's browser fetches with their credentials, enabling CSPT-to-CSRF, cache deception/poisoning, and open-redirect-to-XSS/SSRF chains. Activates when SPA routers, fetch/XHR wrappers, or CSS/link generators build request paths from route params, stored values, or UI fragments.
internal/tools/skills/data/web-application-security/exploiting-client-side-path-traversal/SKILL.md
Source commit d42f381ad34843e71a42658e5c57290c713e85af
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,325
- Repository last updated
- Nov 9, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- cybersecurity Repository topic
- security Repository topic
- bug-bounty Repository topic
- automation Repository topic
- autonomous-pentesting Repository topic
- ai-agent Repository topic
- ai-security Repository topic
- ethical-hacking Repository topic
- golang Repository topic
- penetration-testing Repository topic
- penetration-testing Declared skill tag
- client-side-path-traversal Declared skill tag
- cspt Declared skill tag
- osrf Declared skill tag
- owasp Declared skill tag
- web-security Declared skill tag
- design Derived category
- security Derived category
- testing Derived category
- design-interface Derived category
- security-application Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 8,932 bytes
Read excerpt
# Exploiting Client-Side Path Traversal (CSPT / OSRF)
## When to Use
- During authorized tests of SPAs (React, Next.js, Vue, Angular) that build API paths from route/path params
- When a frontend `fetch()`/XHR wrapper prepends `/api/` or `/proxy/` and auto-attaches auth headers/cookies
- When stored values (profile slugs, document IDs) are interpolated into background-job, service-worker, or WebSocket URLs
- When CMS/feature-flag content generates `<link>`, `<style>`, or `@import` URLs
- When you want to escalate a "low-impact" reflected param into CSRF, cache deception, or XSS/SSRF
## Critical: Variants Most Often Missed
CSPT lands the traversal **on the same origin** in the victim's authenticated browser context — not on the server filesystem. The miss is treating it as "just a redirect." Test the full sink matrix: