Autonomous OODA-loop pentesting agent. Hermes brain, Kali + Playwright tools over MCP, ATT&CK as the Orient language.
Python ai-agentsautonomous-agentskali-linuxllm-agentsoffensive-securityooda-looppentestingplaywrightsecurity
fix(kali): install bloodhound via pip instead of broken apt package
irraza61f959bb58a
diff --git a/docker/kali/Dockerfile b/docker/kali/Dockerfileindex 3f1400a..fc74e8a 100644--- a/docker/kali/Dockerfile+++ b/docker/kali/Dockerfile@@ -55,11 +55,17 @@ RUN apt-get update \# kali-linux-headless metapackage) to fix that latent gap while keeping the image reasonably sized:# - nmap, whatweb, nuclei, ffuf, sqlmap, gobuster : web/recon tools used by the skills.# - impacket-scripts : Impacket CLI helpers (AD/network).-# - bloodhound.py : BloodHound Python ingestor (AD).# All package names were confirmed installable in kali-rolling (apt-get install --dry-run). Own# RUN layer with --no-install-recommends + rm -rf /var/lib/apt/lists/*, consistent with the style# above. Tools NOT baked here (anything else a skill needs ad-hoc) are still `apt install`-able on# the fly inside the ephemeral kali container.+#+# BloodHound ingestor (AD): el paquete apt `bloodhound.py` NO se instala aquí a propósito.+# Su postinst de dpkg PETA contra el python3-impacket actual de kali-rolling (referencia+# impacket/dcerpc/v5/dhcpm.py, eliminado upstream) y aborta este RUN y el build entero.+# En su lugar se instala el sucesor activo `bloodhound` (PyPI, Python 3 puro, SIN postinst)+# en el venv del servidor vía requirements.txt — expone el ejecutable `bloodhound-python`+# en PATH. Ver docker/kali/requirements.txt para el pin y la nota de dependency-confusion.RUN apt-get update \&& apt-get install -y --no-install-recommends \nmap \@@ -69,7 +75,6 @@ RUN apt-get update \sqlmap \gobuster \impacket-scripts \- bloodhound.py \&& rm -rf /var/lib/apt/lists/*WORKDIR /opt/kali-mcpdiff --git a/docker/kali/requirements.txt b/docker/kali/requirements.txtindex 0062773..e191920 100644--- a/docker/kali/requirements.txt+++ b/docker/kali/requirements.txt@@ -19,6 +19,20 @@ mcp>=1.28,<2# anyio: dependencia del transporte asíncrono del SDK mcp (streamable-HTTP).anyio>=4+# BloodHound.py — ingestor de Active Directory (dirkjanm/fox-it, basado en Impacket).+# Se instala por PIP (Python 3 puro, sin postinst de dpkg) en lugar del paquete apt+# `bloodhound.py`: ese paquete apt tiene un script postinst que PETA contra el+# python3-impacket actual de kali-rolling (referencia impacket/dcerpc/v5/dhcpm.py,+# eliminado upstream) y aborta el build entero de la imagen.+#+# OJO con el nombre: el paquete correcto en PyPI es `bloodhound` (instala el ejecutable+# `bloodhound-python`). NO usar el nombre de instalación `bloodhound-python`: estuvo+# DESREGISTRADO en PyPI, lo que lo convierte en un vector de dependency-confusion+# (quien registre ese nombre ejecuta código en quien lo instale).+#+# Compatible arm64/amd64 (Python puro). Versión fijada para reproducibilidad.+bloodhound==1.9.0+# ScoutSuite y Cloudsplaining (fuentes de collection EN VIVO adicionales) NO van aquí: se# instalan AISLADAS con pipx (venv propio por herramienta) en el Dockerfile.#