agentsclimarketplace

Sentinel attack graph

Skill Wembie/Sentinel/.cursor/skills/sentinel-attack-graph

Trust boundary and privilege escalation graph — rendered as Mermaid flowchartFrom its SKILL.md

Install
npx -y skills add Wembie/Sentinel --skill sentinel-attack-graph

Assembled 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

ParameterRequiredDescription
audit_idyesUUID 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

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.