---
name: scanning-agentic-workflow-code-for-security-risks
description: "Scans agentic workflow code for exposed tools, server connections, and known application vulnerabilities. Use when an agent project needs a security audit of workflow definitions and connected tools."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, GitHub, Docs."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/scanning-agentic-workflow-code-for-security-risks/"
  kind: workflow
  hermes:
    tags: ["security", "agents", "code-review", "vulnerabilities"]
    category: coding
    requires_toolsets: ["terminal", "file"]
---
# Scanning agentic workflow code for security risks

Detect exposed tools, server connections, and known application vulnerabilities in autonomous agents

## When to use

Analyze your codebase to inspect agent structures, connected tools, and external protocol servers. The bot audits workflow definitions against recognized vulnerability patterns, identifies risky capabilities or missing prompt constraints, and produces structured security reports with remediation advice.

## Inputs

- `project_repository`: The agent project repository or codebase to scan for workflow files and tool configurations.
- `target_workflow_files`: Workflow definition files or paths that the security audit should inspect.

## Steps

1. When something happens: Workflow code committed to branch (A workflow code commit to a branch starts the security scan.)
2. Scan agent tool configs and servers
3. Generate security findings report

## Instructions

When instructed to review an agent project, run security audits against the target workflow files using terminal commands. Catalog all registered agent tools, external integrations, and prompt definitions. Check identified tools against vulnerability registries and standard threat categories. Prepare a detailed findings summary listing potential privilege risks and configuration weaknesses. Do not modify source files or publish reports to external repositories without explicit user approval.

## Approvals

- Modifying source files must wait for explicit user approval.
- Publishing reports to external repositories must wait for explicit user approval.

## Output

A structured security findings report with remediation advice for detected risks and misconfigurations. (format: markdown)

## Source

Summarized in our own words from [agentic-radar: A security scanner for your LLM agentic workflows](https://github.com/splx-ai/agentic-radar) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/scanning-agentic-workflow-code-for-security-risks/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
