Documentation
¶
Overview ¶
Package batesian provides the embedded built-in attack rules. The go:embed directive lives here (at the repo root) so that the rules/ directory remains at the top level of the repository for easy contributor discovery and editing, while still being compiled into the binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
batesian
command
|
|
|
internal
|
|
|
attack
Package attack defines the Executor interface and shared utilities for all Batesian attack implementations.
|
Package attack defines the Executor interface and shared utilities for all Batesian attack implementations. |
|
attack/a2a
Package a2a contains attack executors for the A2A protocol.
|
Package a2a contains attack executors for the A2A protocol. |
|
attack/mcp
Package mcp contains attack executors for the MCP (Model Context Protocol).
|
Package mcp contains attack executors for the MCP (Model Context Protocol). |
|
auth
Package auth provides OAuth 2.0 token acquisition for authenticated A2A and MCP targets.
|
Package auth provides OAuth 2.0 token acquisition for authenticated A2A and MCP targets. |
|
cli
Package cli implements the batesian command-line interface.
|
Package cli implements the batesian command-line interface. |
|
config
Package config loads and validates Batesian configuration from a batesian.yaml file.
|
Package config loads and validates Batesian configuration from a batesian.yaml file. |
|
engine
Package engine orchestrates rule loading and attack execution for the scan command.
|
Package engine orchestrates rule loading and attack execution for the scan command. |
|
oob
Package oob provides a local out-of-band HTTP listener for detecting SSRF callbacks.
|
Package oob provides a local out-of-band HTTP listener for detecting SSRF callbacks. |
|
protocol/a2a
Package a2a provides types and a client for the Agent-to-Agent (A2A) protocol.
|
Package a2a provides types and a client for the Agent-to-Agent (A2A) protocol. |
|
protocol/mcp
Package mcp provides a lightweight MCP protocol client for reconnaissance.
|
Package mcp provides a lightweight MCP protocol client for reconnaissance. |
|
repocheck
Package repocheck holds repository-level invariant tests (for example consistency of documented test server ports in testdata/README.md).
|
Package repocheck holds repository-level invariant tests (for example consistency of documented test server ports in testdata/README.md). |
|
report
Package report handles all output formatting for Batesian findings.
|
Package report handles all output formatting for Batesian findings. |
|
rules
Package rules loads, validates, and provides attack rules from YAML files.
|
Package rules loads, validates, and provides attack rules from YAML files. |
|
sse
Package sse parses Server-Sent Events streams.
|
Package sse parses Server-Sent Events streams. |
Click to show internal directories.
Click to hide internal directories.
