Sentinel attack graph
Skill Wembie/Sentinel/.windsurf/skills/sentinel-attack-graph
Trust boundary and privilege escalation graph — rendered as Mermaid flowchartFrom its SKILL.md
npx -y skills add Wembie/Sentinel --skill sentinel-attack-graphAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.6 KB, as published. Nobody here has run it
sentinel-attack-graph
Generates a trust boundary and privilege escalation graph from the call graph built during auditing. Surfaces paths where low-privilege code can reach high-privilege operations. Output is a Mermaid flowchart renderable in any Markdown viewer.
When to Use
- Visualizing privilege escalation paths in a codebase
- Understanding trust boundary crossings
- Identifying where unprivileged user paths reach admin or system operations
- Building threat model documentation from live code
MCP Tool
sentinel_attack_graph(audit_id: str) -> AttackGraphResult
Parameters
| Parameter | Required | Description |
|---|---|---|
audit_id | yes | UUID from a previous sentinel_audit call |
Returns
{
"mermaid": "flowchart TD\n A[UserInput] -->|crosses boundary| B[AdminOp]\n ...",
"trust_crossings": [...],
"privileged_reachable": [...],
"node_count": 42,
"edge_count": 87
}
Example
result = sentinel_audit(target="./")
graph = sentinel_attack_graph(audit_id=result["audit_id"])
# graph["mermaid"] is a Mermaid flowchart — paste into any Markdown viewer
Graph Elements
- Nodes: functions, endpoints, system calls, database operations
- Edges: call relationships, data flow
- Trust boundaries: color-coded by privilege level
- High-risk paths: highlighted where user input can reach privileged operations