Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion capabilities/attack-surface-management/capability.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema: 1
name: attack-surface-management
version: "2.0.0"
version: "2.0.1"
description: >
External attack surface management with BBOT reconnaissance scanning,
Neo4j graph database analysis, Shodan internet intelligence, and
Expand Down Expand Up @@ -47,6 +47,8 @@ mcp:
init_timeout: 30

dependencies:
packages:
- nmap
python:
- "badsecrets~=0.13.47"
- "baddns~=1.12.294"
Expand All @@ -55,13 +57,25 @@ dependencies:
- "extractous~=0.3.0"
- "asyncpg>=0.31.0"
- "dnspython>=2.7.0,<2.8.0"
- "fastmcp>=2.0"
- "neo4j>=5.28.1"
- "shodan>=1.31.0"
- "aiodocker>=0.24.0"
- "tldextract>=5.3.1,<6.0.0"
- "pillow>=11.3.0"
- "pyOpenSSL~=25.3.0"
- "loguru>=0.7.0"

checks:
- name: bbot
command: "command -v bbot >/dev/null 2>&1"
- name: nmap
command: "command -v nmap >/dev/null 2>&1"
- name: neo4j-python
command: "python3 -c 'import neo4j'"
- name: fastmcp-python
command: "python3 -c 'import fastmcp'"

author:
name: Dreadnode
url: https://dreadnode.io
Expand Down
2 changes: 1 addition & 1 deletion capabilities/attack-surface-management/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "attack-surface-management"
version = "1.1.27"
version = "2.0.1"
requires-python = ">=3.10"
dependencies = [
"badsecrets~=0.13.47",
Expand Down
19 changes: 19 additions & 0 deletions capabilities/attack-surface-management/tests/test_bbot_mcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@
from pathlib import Path

import pytest
import yaml


CAPABILITY_ROOT = Path(__file__).resolve().parents[1]


def test_manifest_declares_runtime_dependencies_and_checks():
manifest = yaml.safe_load((CAPABILITY_ROOT / "capability.yaml").read_text())

assert "nmap" in manifest["dependencies"]["packages"]
assert "bbot" in manifest["dependencies"]["python"]
assert "neo4j>=5.28.1" in manifest["dependencies"]["python"]
assert "fastmcp>=2.0" in manifest["dependencies"]["python"]

checks = {check["name"]: check["command"] for check in manifest["checks"]}
assert "bbot" in checks
assert "nmap" in checks
assert "neo4j-python" in checks
assert "fastmcp-python" in checks


MODULE_PATH = Path(__file__).resolve().parents[1] / "mcp" / "bbot.py"
Expand Down
Loading