SAST Skills is a collection of agent workflows that inspect web and mobile application code for security vulnerabilities, where SAST means static application security testing. Developers and security reviewers use it to map a codebase, verify possible flaws, and produce a severity-ranked remediation report. The catalogue entries are the project's vulnerability-detection and reporting skills.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/utkusen/sast-skillsnpx agentmods add skills/utkusen/sast-skills/sast-pathtraversalWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/utkusen/sast-skills/sast-pathtraversal)<a href="https://agentmods.dev/skills/utkusen/sast-skills/sast-pathtraversal"><img src="https://agentmods.dev/badge/skills/utkusen/sast-skills/sast-pathtraversal/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/utkusen/sast-skills/sast-pathtraversal"><img src="https://agentmods.dev/badge/skills/utkusen/sast-skills/sast-pathtraversal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 5 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 23 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 438 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 440 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 465 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 538 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00098 | $0.06804 |
| Opus 5.5 | $0.00039 | $0.02722 |
| Sonnet 5.5 | $0.00020 | $0.01361 |
| Haiku 4.5 | $0.00010 | $0.00680 |
Grade A, and why
sast-pathtraversal scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
> [curl command or payload to confirm; show traversal and encoded variants as appropriate] How it starts
The opening of the file, as written. The whole thing — 545 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Path Traversal Detection
You are performing a focused security assessment to find path traversal vulnerabilities in a codebase. This skill uses a three-phase approach with subagents: recon (find file-loading sinks with dynamic paths), batched verify (trace user input and check mitigations in parallel batches of 3), and merge (consolidate batch results into one report).
Prerequisites: sast/architecture.md must exist. Run the analysis skill first if it doesn't.
What is Path Traversal
Path traversal (also called directory traversal) occurs when user-supplied input is incorporated into a file path that is then used to read, write, or serve files from the filesystem — without properly constraining the resulting path to an intended base directory. An attacker can supply sequences like ../ or encoded variants (%2e%2e%2f, ..%2f, %2e%2e/) to escape the intended directory and access arbitrary files such as /etc/passwd, application source code, credentials, or private keys.
The core pattern: unvalidated user input reaches a filesystem operation and the resolved path is not verified to remain within the intended base directory.
What Path Traversal IS
- Serving a user-requested filename directly from a base directory without canonicalizing and checking the resulting path:
open(os.path.join(BASE_DIR, user_filename)) - Constructing a file path from a URL parameter and passing it to a file-read function:
fs.readFile(path.join(__dirname, req.query.file), ...) - Template rendering or include directives driven by user input:
include($_GET['page'] . '.php') - Archive extraction (
ZipFile,tarfile,zipslip) where entry names are used as output paths without stripping../components - Using
send_file()/send_from_directory()/res.sendFile()with an unsanitized user-controlled path - Reading a file whose path is derived from a user-controlled database value that was stored without sanitization
What Path Traversal is NOT
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 545 lines · 98 tokens per session scan A 1756514d03b3
sast-pathtraversal is a skill published in the GitHub repository utkusen/sast-skills (1,397 stars, last pushed 1mo ago), licensed MIT. It adds 98 tokens to every session and 6,804 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
sast-pathtraversal compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sast-pathtraversalutkusen/sast-skills | Skill | 1.4k | 1mo ago | MIT | A | 98 | Claude Code, Codex |
| integrating-sast-into-github-actions-pipelinexalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 84 | Claude Code, Codex |
| building-devsecops-pipeline-with-gitlab-cixalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 43 | Claude Code, Codex |
| implementing-github-advanced-security-for-code-scanningxalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 34 | Claude Code, Codex |
| implementing-semgrep-for-custom-sast-rulesxalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 37 | Claude Code, Codex |
| secure-code-reviewUnitOneAI/SecuritySkills | Skill | 120 | 5mo ago | MIT | A | 74 | Claude Code |
| sast-configUnitOneAI/SecuritySkills | Skill | 120 | 5mo ago | MIT | A | 78 | Claude Code |