Skip to main content
skill CX Codex

sast-danger-mapper — Claude Code skill: what it does, how to install

sast-danger-mapper catalogs hazardous source code operations using pattern matching without speculating on exploitability.

no license ★ 1,298 updated 2026-06-12

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add H-mmer/pentest-agents --skill sast-danger-mapper -a claude-code
Open on GitHub

What sast-danger-mapper does

The skill inspects a target source file to record operations that become unsafe when fed attacker-controlled input. It focuses on memory manipulation such as memcpy, malloc, realloc, and free, integer arithmetic prone to overflow, type casting, and function pointer invocations. Because it operates strictly as a pattern-matching scanner, it lists matches and structural parameters rather than deciding whether a flaw is exploitable.

Rules cover multiple runtimes and languages. It tracks shell calls and format strings in C/C++, unsafe blocks and transmute in Rust, eval and pickle deserialization in Python, and dynamic execution, SQL queries, or file operations in PHP.

Workflows rely on invoking the /sast command during authorized code auditing.

What it helps with

  • map memory management hazards in C and C++ source files
  • catch potential integer overflows in buffer size calculations
  • locate unsafe blocks and unchecked access in Rust
  • extract injection sinks and command execution calls in scripts

Example prompts for the agent

  • Run /sast on parser.c to locate memory operations and integer casts
  • Check handler.php with /sast for direct command execution and raw database queries
  • Map unsafe pointer conversions in crypto.rs using /sast

How to install sast-danger-mapper

1Skills CLI (Vercel)

npx skills add H-mmer/pentest-agents --skill sast-danger-mapper -a claude-code

2Manually: put the files in place

~/.claude/skills/agent-sast-danger-mapper/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/agent-sast-danger-mapper/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about sast-danger-mapper

How to install sast-danger-mapper in Claude Code?

Run npx skills add H-mmer/pentest-agents --skill agent-sast-danger-mapper -a claude-code in your terminal.

What does sast-danger-mapper do?

It reads assigned source code to map dangerous operations, covering memory calls, arithmetic boundaries, control flow, and language-specific injection sinks.

Does sast-danger-mapper verify vulnerability exploitability?

No, it is strictly an operation cataloging task focused on finding pattern matches rather than assessing real exploitability.

Similar skills

All skills for Security →

From the same set43

The whole set →
pentest-agents-payloads-1 pentest-agents-payloads-1 is a Claude Code rule that loads an XSS payload reference for pentesting, from basic vectors to WAF bypass via stacked encoding. CX Codex +1 ★ 1,298repo stars pentest-agents-payloads-4 pentest-agents-payloads-4 is a Claude Code rule with examples for reviewing web vulnerabilities, from JWT and deserialization to GraphQL and OAuth. It supports application security assessments. CX Codex +1 ★ 1,298repo stars pentest-agents-chain-table pentest-agents-chain-table is a Claude Code rule that directs security audit agents to chain verified vulnerabilities into exploit paths. CX Codex +1 ★ 1,298repo stars report-writer report-writer turns vulnerability findings into bug bounty submissions, penetration test reports, or technical write-ups. Use it when findings need clear evidence, impact, and remediation. CX Codex +1 ★ 1,298repo stars sast-danger-mapper sast-danger-mapper — a subagent that finds dangerous operations in source files: memory handling, type casts, arithmetic at trust boundaries, resource deallocation. CX Codex +1 ★ 1,298repo stars report-writer The report-writer subagent for Claude Code compiles vulnerability findings into reports for pentests, bounty submissions, and technical writeups. CX Codex +1 ★ 1,298repo stars sast-gap-analyzer sast-gap-analyzer analyzes traced data flows to uncover validation gaps in source code. Catches incomplete boundary checks, type mismatches, and race conditions before risky operations. CX Codex +1 ★ 1,298repo stars sast-gap-analyzer sast-gap-analyzer — a subagent for Claude Code, Cursor and other IDEs that identifies where validation chains break down — missing, insufficient or bypassable checks. Detects bugs between code fragments that each look correct in isolation. CX Codex +1 ★ 1,298repo stars

Project sponsors

Companies that keep this analytics open