Agent skill · Audited from source
Agent Sast Exploit Builder
skill · H-mmer/pentest-agentsLicence not declaredAudited 13 Oct 2026 · source be1723764604
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit be1723764604 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 2 findings, 1 critical or high. What it does: Builds working exploits from confirmed SAST findings. Takes a confirmed crash, develops it into a full exploit. Tier 1 (DoS) → Tier 5 (code execution). Use via /sast command after PoC confirmation.
Cite
Cite this page
ModelsAtlas. “Agent Sast Exploit Builder (H-mmer/pentest-agents)”. Retrieved 13 Oct 2026. https://modelsatlas.com/skills/h-mmer/agent-sast-exploit-builder
Trust audit
Audit 0.4.1 · source read 13 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 1 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 1 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass, no license.
Findings (2)
HIGHNetwork egressnet.metadata_ip · SKILL.md:41
**Tier 5** — Persistent webshell + lateral movement. Upload webshell, confirm it survives (path is accessible), demonstrate DB read and filesystem read from within the shell. Document what's reachable
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWInventory / provenanceinv.no_license
- Why
- no LICENSE file and no repo licence
- Fix
- add a licence
Audit 0.4.1 · source sha be1723764604 · 13 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherH-mmer GitHub userOwner of the repository this skill is read from
- Source folderH-mmer/pentest-agents/providers/cursor/.cursor/skills/agent-sast-exploit-builderThe exact folder we audited
- LicenceNot declaredAs the repository states it
- Commit pinned for this verdictbe1723764604A new audit runs when the source changes
- Repository statusNot archivedLast push 123 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Builds working exploits from confirmed SAST findings. Takes a confirmed crash, develops it into a full exploit. Tier 1 (DoS) → Tier 5 (code execution). Use via /sast command after PoC confirmation.
---
name: sast-exploit-builder
description: "Builds working exploits from confirmed SAST findings. Takes a confirmed crash, develops it into a full exploit. Tier 1 (DoS) → Tier 5 (code execution). Use via /sast command after PoC confirmation."
---
CONTEXT: Authorized security research. Developing exploits for confirmed vulnerabilities in isolated environment.
## Research First
Call `search_techniques` and `search_writeups` for the exploitation technique before starting.
## Exploitation Ladder (native code: C/C++/Rust/Go)
Work up. Stop and report at highest level achieved.
**Tier 1** — Controlled crash (DoS). You already have this from the hunter.
**Tier 2** — Controlled write primitive. Attacker-chosen bytes to attacker-chosen location.
**Tier 3** — Info leak / ASLR bypass. Read memory contents, defeat randomization.
**Tier 4** — Control flow hijack. Overwrite return address, function pointer, vtable, GOT entry.
**Tier 5** — Code execution. ROP chain, shellcode, JIT spray. Demonstrate with shell/file write.
## Exploitation Ladder (PHP / web app)
For PHP findings, work up this ladder instead. Stop and report the highest tier confirmed.
**Tier 1** — Information disclosure. Stack trace, `phpinfo()` page, `.env` read via LFI, source disclosure via `php://filter/convert.base64-encode/resource=`, debug endpoint leaking creds/keys. Concrete evidence: grep the response for secrets.
**Tier 2** — Arbitrary read / authenticated data exfiltration. LFI reading any file under `open_basedir`; blind/error/time/UNION SQLi dumping `information_schema`, user tables, password hashes; IDOR reading other users' resources via predictable IDs. Demonstrate by pulling at least one sensitive record (hashed password, PII, API key).
**Tier 3** — Arbitrary write / mass data modification. SQLi with `UPDATE`/`INSERT` ability, file write via upload bypass, `file_put_contents` with traversal, Eloquent mass-assignment escalating a regular user to admin. Demonstrate by modifying a state you shouldn't be able to.
**Tier 4** — Remote Code Execution. At least ONE of:
- `eval`/`assert`/`create_function`/`preg_replace /e` with user input
- `include`/`require` on user path → combine with log/session/phar poisoning to land PHP
- `unserialize` with a working gadget chain (hand-crafted or via phpggc)
- Command injection through `system`/`exec`/`passthru`/`shell_exec` with insufficient escaping
- SSTI in Twig/Smarty/Blade raw
- File upload bypass landing a `.php` (or `.phar`, `.phtml`, `.pht` depending on server config) in a served directory
Evidence: execute `id`, get output. Save response showing `uid=...`.
**Tier 5** — Persistent webshell + lateral movement. Upload webshell, confirm it survives (path is accessible), demonstrate DB read and filesystem read from within the shell. Document what's reachable: other vhosts, cloud metadata (`169.254.169.254`), internal services, persisted credentials in `.env`/config files.
## Approach Per Primitive (native)
**Stack overflow**: Find offset to return address. Check canary. Check ASLR/PIE. Build ROP chain.
**Heap overflow/UAF**: Understand allocator. Map heap layout. Heap feng shui for predictable placement.
**Integer overflow**: What does overflowed value control? Craft input for useful result.
**Format string**: Leak stack → arbitrary read → arbitrary write via %n → GOT overwrite.
## Approach Per Primitive (PHP)
**SQLi**: Identify DB (MySQL/Postgres/SQLite/MSSQL from error messages or fingerprint). Work in order: error-based → UNION → boolean blind → time blind. For dumping: `sqlmap` against the confirmed injection point as verifier — but the PoC should be a standalone request. Extract at least one row from an internal/admin table to prove severity.
**Unrestricted upload → RCE**: Bypass approaches by server:
- Apache + `mod_php`: `.php`, `.php3`, `.php4`, `.php5`, `.php7`, `.phtml`, `.pht`, `.phar`
- nginx + PHP-FPM with poorly-configured `location` regex: `shell.jpg.php`, `shell.php%00.jpg`, `shell.php/`
- Content-Type spoofing (`Content-Type: image/jpeg` with PHP content)
- Magic-byte polyglots (GIF89a header + `<?php ... ?>`)
- Phar upload + trigger via `phar://uploads/x.jpg` in any file op elsewhere
- `.htaccess` upload if directory allows to add PHP handler
**LFI → RCE** (from Tier 2 → Tier 4):
- `/proc/self/environ` with `User-Agent: <?=system($_GET['c']);?>` (old PHP)
- Apache access log + malicious UA (path: `/var/log/apache2/access.log`)
- PHP session file (path: `/var/lib/php/sessions/sess_<PHPSESSID>`) — write PHP via a reflecting endpoint, include session
- `php://filter/convert.base64-decode/resource=data://text/plain,<base64>` — direct exec
- `expect://` wrapper if expect ext loaded (rare)
- `phar://` on an attacker-uploaded polyglot
**Unserialize → RCE**: Inventory classes via `composer.json` and `vendor/`. Try `phpggc` with the detected framework (Laravel, Symfony, Drupal, Magento, WordPress, Guzzle, Monolog). If no off-the-shelf gadget, grep project for `__wakeup`/`__destruct`/`__toString` and hand-craft. Gadget should land in a write/exec primitive (`file_put_contents`, `system`, `exec`, eval).
**SSTI (Twig)**: `{{ 7*7 }}` → `{{ _self.env.registerUndefinedFilterCallback("exec") }}{{ _self.env.getFilter("id") }}`.
**SSTI (Smarty)**: `{php} system('id'); {/php}` (v2) or `{system('id')}` (v3 unsafe mode).
**Type juggling auth bypass**: craft input so `==` compares two values that both parse to `0e...` or `NULL` or equivalent. Test with short examples first: `hash('md5', 'QNKCDZO') == hash('md5', '240610708')` both `0e...` truthy.
**Mass-assignment privesc**: identify Eloquent model, send extra field like `role=admin`/`is_admin=1`/`plan_id=<enterprise>` in the update request.
## Mitigation Checklist (PHP)
| Mitigation | Check command | Bypass |
|---|---|---|
| `disable_functions` | `php -i \| grep disable_functions` | LD_PRELOAD (if exec possible elsewhere), PHP 7 mail() bypass, FFI, imap_open on old php |
| `oExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit be17237
git clone https://github.com/H-mmer/pentest-agents git -C pentest-agents checkout be1723764604
The author documents no install command, so this uses the repository directly. Our verdict covers commit be1723764604 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
be1723764604
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/h-mmer/agent-sast-exploit-builder/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All security skills →H-mmer/pentest-agents
Authentication and session management testing agent. Use for login bypass, session fixation, password reset flow abuse, MFA bypass, OAuth flaws, and privilege escalation testing. Provide the application URL and any…
H-mmer/pentest-agents
Central knowledge coordinator. Use BEFORE launching any other pentest agent to get context on what's already been tried. Also use AFTER any agent completes to record findings, exhausted vectors, and learned patterns.…
H-mmer/pentest-agents
Browser automation agent for interactive web testing. Use for login flows, multi-step CSRF, stored XSS verification in other user contexts, and any testing that requires browser interaction. Requires Claude in Chrome…
H-mmer/pentest-agents
Stealth browser automation agent for targets behind Cloudflare, Akamai, Google, DataDome, or PerimeterX bot detection. Drives the local camofox-browser REST server (Camoufox, C++-patched Firefox) for recon, client-side…
H-mmer/pentest-agents
Mandatory browser verification for client-side findings (XSS, DOM, postMessage, prototype pollution). Takes a finding with curl-based evidence and PROVES or DISPROVES it fires in a real browser. No finding ships without…
H-mmer/pentest-agents
Business Logic vulnerability specialist (H1 #28, CWE-840/841/639/362). Use for testing workflow bypasses, price manipulation, coupon abuse, MFA/2FA bypass, password-reset bypass, free-trial abuse, race-condition on…
Add this badge to your README
[](https://modelsatlas.com/skills/h-mmer/agent-sast-exploit-builder/)
<a href="https://modelsatlas.com/skills/h-mmer/agent-sast-exploit-builder/"><img src="https://modelsatlas.com/skills/h-mmer/agent-sast-exploit-builder/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Agent Sast Exploit Builder
What does the Agent Sast Exploit Builder skill do?
Is Agent Sast Exploit Builder safe to install?
What can Agent Sast Exploit Builder access on my machine?
How current is this page?
Sources
- github.com/H-mmer/pentest-agents/tree/main/providers/cursor/.cur — the audited source at commit be1723764604 and every finding aboveObserved · 13 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Agent Sast Exploit Builder skill do?
- Is Agent Sast Exploit Builder safe to install?
- What can Agent Sast Exploit Builder access on my machine?