SECENG WORKBENCH
Agent Authority & Approval-Path Analysis
Map agent authority, tool permissions, and approval paths.
Map agent authority, tool permissions, and delegated-action risk. Import workflows, MCP servers, and tool schemas — SecEng Authority Graph builds a permission map that shows what agents can read, write, send, execute, and administer, then flags dangerous compositions before they reach production.
Authority Mapping
Classify every tool: read, write, send, execute, admin — with scopes.
Workflow Graphs
Visual authority graph from user input through agents to external effects.
Risk Detection
Detect dangerous compositions: read sensitive data + send externally.
Approval Control
Verify approval gates and flag missing, bypassed, or optional controls.
Agent Workflow & Authority Analyzer
ACME Corp fixture · graph preview driven by the real analysis bundle
High-risk workflows
7
Composition report scorecard
Tools discovered
38
Authority register total
Approval coverage
68%
Approval boundary coverage
Approval bypassed
3
Bypass boundaries
Webhook
User Request
Agent
Assistant Agent
Retriever
Retrieve Documents
Crm
Read CRM
Llm
Draft Email with LLM
7
High-risk workflows
38
Tools discovered
68%
Approval coverage
3
Approval boundaries bypassed
Core capabilities
What SecEng Authority Graph does.
Tool & MCP Server Inventory
Inventory every agent tool, MCP server, plugin, workflow node, browser action, and API capability. Build a complete authority register before the first abuse case reaches production.
Authority Classification
Classify each tool by capability: Read, Write, Send, Execute, Admin, External, Irreversible. Analyze what the integration actually enables — not just what the label claims.
Dangerous Composition Detection
Detect combinations that create real risk: Read CRM Data + Send Email Externally, Retrieve Documents + Update Records, Filesystem Access + External API Call, Code Execution + Network Access, Admin API + LLM-controlled Arguments.
Workflow Authority Graph
Build a visual authority graph showing how user input flows through agents, prompts, tools, retrievers, APIs, approval gates, and external effects.
Blast Radius Scoring
Score blast radius per workflow: Low, Medium, High, Critical. Highlight irreversible actions, external sends, admin scope, and cross-system reach.
Approval Gate Verification
Verify approval boundaries: Enforced, Missing, Bypassed, Optional. Identify where human approval can be skipped through instruction injection or workflow manipulation.
Evidence & signals
What you get out of the box.
Tool Authority Breakdown
- Read: 18
- Write: 12
- Send: 7
- Execute: 4
- Admin: 2
Approval Boundaries
- Enforced: 14
- Missing: 5
- Bypassed: 3
- Optional: 4
Dangerous Compositions
- Read CRM Data + Send Email Externally — High
- Retrieve Documents + Update Records — High
- Access Files + External API Call — Medium
Red team + Blue team
Built for both sides of the security equation.
Red Team Use
- Discover abuse chains created by individually reasonable tools composed dangerously
- Simulate misuse paths: user prompt → retrieve CRM → draft email → send externally
- Find approval gates that can be bypassed through alternate workflow branches or prompt injection
- Identify high-blast-radius tools exposed to LLM-controlled arguments
Blue Team Use
- Export workflow reports, authority maps, risk registers, and evidence packs
- Generate least-privilege recommendations and approval-gate requirements per workflow
- Map agent authority findings to ISO 42001, NIST AI RMF, OWASP LLM, and internal governance controls
- Build regression checks for workflow changes and newly added tools
AI SECURITY ENGINEERING WORKBENCH
Ready to put SecEng Authority Graph to work?
Scope a Workbench-backed review — we’ll import a workflow, map agent authority, identify dangerous compositions, and give you a concrete approval-boundary plan.
Also in the Workbench
WHAT AI DO WE HAVE?
SecEng Surface Scanner
Browser, Repo & IDE AI Discovery
WHAT DID IT ACTUALLY DO?
SecEng Runtime Proxy
MITM Capture, Replay & Runtime Evidence
HOW CAN IT FAIL UNDER ATTACK?
SecEng Adversarial Range
AI Red-Team Scenario Harness
WAS RETRIEVAL AUTHORIZED?
SecEng RAG Test Harness
Retrieval & Context Security Test Harness
SecEng Map · instrument
Authority graph analysis inside the SecEng Workbench.
The fixture below stands in for an ACME Corp workflow import and shows how the Tauri sidecar surface operates with shared components, consistent theming, and release-ready evidence language.
SecEng Workflows / Dashboard
Agent Workflow & Authority Analyzer
Analysis bundleMap what your agents can actually do. Find dangerous compositions. Enforce approval boundaries.
High-risk workflows
7
Derived from composition risks
Tools discovered
38
Authority register total
Approval coverage
68%
Approval boundary coverage
Approval bypassed
3
Blocked or bypassed steps
Dangerous compositions
4
Risk-report compositions
External effects
5
Send / write / external sinks
Workflow Authority Graph
The graph is organized around approval control, bypass detection, and the points where safe components become dangerous together.
Focus path: Reviewed outbound path
User Request
Webhook
apps/web/app/api/assistant/outbound/route.ts
Assistant Agent
Agent
packages/ai/agents/outbound-assistant.ts
Retrieve Documents
Retriever
packages/rag/retrieve-context.ts
Read CRM
Crm
packages/ai/tools/read-crm.ts
Draft Email with LLM
Llm
packages/ai/prompts/outbound-email.md
Policy Check
Policy Check
packages/governance/policies/workflow-policy.ts
Human Approval Gate
Approval Gate
packages/governance/approvals/review.ts
Send Email via Outlook
packages/ai/tools/send-outlook.ts
Update CRM Record
Api
packages/ai/tools/update-crm.ts
Bypass Send Branch
External Sink
packages/ai/flows/bypass-send.ts
Nodes
10
Edges
12
Platform
n8n
Importer
explicit_graph
Focus path
Reviewed outbound path
The branch from the draft step reaches the CRM update without passing through the human approval gate.
Connected control map
RAG Boundary Lens for workflow authority
The same lens now shows how approval coverage, bypass paths, and external effects line up inside the workflow graph.
SecEng Workflows
RAG Boundary Lens
Approval boundaries, bypass paths, and external effects rendered against the agent workflow graph.
AuthZ pass
Approval coverage still needs hardening.
Context leaks
External effect nodes stand in for potential leakage surfaces.
Policy violations
Bypassed approvals need follow-up.
Pipeline snapshot
5Suggested tests
3Controls found
3Affected paths
2Missing boundaries
Priority gaps
Top tests
Harness checks
The lens is public-safe and directional. It uses job-description intelligence and trace fixture signals to show where RAG boundaries need reinforcement, without exposing raw documents or private payloads.
Workflow Authority Register
Capabilities are derived from the actual authority booleans on each node.
Update CRM Record
Api · enforced
Bypass Send Branch
External Sink · bypassed
Read CRM
Crm · optional
Send Email via Outlook
Email · enforced
Assistant Agent
Agent · optional
Retrieve Documents
Retriever · not_required
Draft Email with LLM
Llm · not_required
User Request
Webhook · not_required
Policy Check
Policy Check · enforced
Human Approval Gate
Approval Gate · enforced
Composition Risk Stack
Abuse paths
Scorecard
High risk workflows
7
Dangerous compositions
4
External effects
5
Approval bypasses
3
Approval Coverage
Coverage
68%
17 enforced · 5 missing · 3 bypassed · 0 optional
Outbound send requires human review
The primary send path is gated by a human approval step.
Bypass branch skips human approval
A secondary branch can route from the draft directly to the CRM update.
Policy check is enforced before the review gate
Policy evaluation exists and is wired into the reviewed path.
CRM lookup remains unaudited in the draft path
The lookup step contributes context but does not have its own approval event.
Blast Radius
Overall: high · Score 84
Bypass Send Branch
node_bypass
Update CRM Record
node_api
Send Email via Outlook
node_email
Draft Email with LLM
node_llm
Read CRM
node_crm
Retrieve Documents
node_retriever
Assistant Agent
node_agent
Policy Check
node_policy
Human Approval Gate
node_approval
User Request
node_webhook
Threat Model
ACME outbound assistant workflow
Assets
- • Customer Data · sensitive_data
- • Prompt Context · context
- • Approval Record · control_evidence
- • Outbound Actions · external_effect
Actors
- • End User · human
- • Assistant Agent · workflow_agent
- • Human Reviewer · human
Trust Boundaries
- • Public Ingress · external_to_internal
- • Sensitive Context Boundary · internal_sensitive
- • Outbound Effect Boundary · external_effect
Mitigations
- • Split outbound send and CRM update into separate approvals · recommended
- • Guard the bypass sink with explicit policy enforcement · in_progress
- • Tag source context before draft generation · recommended
- • Persist the approval record alongside external effects · planned
Prompt injection steers outbound draft
Retrieved content or CRM text can alter the draft email instructions.
Approval bypass reaches CRM update
The bypass sink reaches the CRM write path without human review.
Outbound send exceeds intended scope
The same workflow can compose email send and CRM update, widening the blast radius.
Policy check does not cover the bypass branch
The policy gate protects the reviewed path but does not currently stop the bypass sink.
Evidence
graph_snapshot
Normalized graph snapshot for ACME outbound assistant workflow.
sha256:cc9a6b6e0a9f3c8f4baf1a2b90c1b1c7d8f3f0f8c83c8f70b06d8fef2c28a1f4
approval_record
Human review attached to the primary send path.
sha256:5f7b4f3f0a7dbeed5d68e0d3f8b9d6b4de2ccaf6f6c0c1f3f5a7c5b6d8e2c1a9
abuse_path
Bypass branch observed from draft step to CRM update.
sha256:9b1e0d4cf8d2cde2c1d0f3f0a7b1e5d7c2f8c0e1d6b5a8c9f4e3d2c1b0a9f8e7
Export Artifacts
Copy or download the bundle outputs without leaving the page.
graph_json
acme-outbound-assistant-graph.json
application/json
{
"graph": {
"graph_id": "acme-outbound-assistant-graph-v1",
"name": "ACME outbound assistant workflow",
"source": {
"platform": "n8n",
"source_uri": "https://n8n.acme.local/workflows/outbound-assistant",
"importer": "workflow-import-normalizer"
}
},
"scorecard": {
"high_risk_workflows": 7,
"dangerous_compositions": 4,
"external_effects": 5,
"irreversible_actions": 3,
"approval_bypasses": 3
}
}authority_register_json
acme-workflow-authority-register.json
application/json
{
"graph_id": "acme-outbound-assistant-graph-v1",
"tools_discovered": 38
}threat_model_json
acme-workflow-threat-model.json
application/json
{
"graph_id": "acme-outbound-assistant-graph-v1",
"title": "ACME outbound assistant workflow"
}export_manifest_md
acme-workflow-analysis.md
text/markdown
# ACME outbound assistant workflow - High-risk workflows: 7 - Tools discovered: 38 - Approval coverage: 68% - Approval bypasses: 3