Altprobe is a free collector for AI, MCP, REST API and gateway traffic. It collects events from the gateways you already run, normalizes them to OCSF, and sends security events, OTEL traces and agent software vulnerability findings to OpenSearch. Alertflex is optional. Add Alertflex for MCP/API inventory, traces, incidents, AI explanations and access management.
Search events in OpenSearch; use Alertflex to investigate traces and incidents, get AI explanations and manage access.
- Gateway traffic analysis for LLM, MCP and API calls, with prebuilt Altprobe rules and OWASP CRS; Qwen3Guard is optional.
- Direct AI egress detection by correlating Suricata network events with Falco process and container events.
- SBOM-based software composition analysis with Trivy or Syft + Grype.
- Security events in OCSF, with field mappings for OpenSearch Security Analytics.
- All collected OTEL traces in OTLP/JSON, from built-in collection or external OTLP sources.
- Six gateway labs with tests, sample traffic and 70+ IDS rules.
flowchart LR
GW["AI agents / MCP / API<br/>through your gateway"] --> AP["Altprobe<br/>collect + correlate + OCSF"]
IDS["Falco + Suricata"] --> AP
SBOM["SBOM: Trivy or Syft + Grype"] --> AP
AP --> OS["OpenSearch<br/>events, traces, dashboards"]
AP -.-> AF["Alertflex (optional)<br/>inventory, traces, incidents, access"]
The collector is a single Linux service. It reads gateway logs or Redis lists, optional IDS events and SBOM reports; it writes OCSF findings and OTEL spans to OpenSearch.
| Gateway | Connector | Lab |
|---|---|---|
| APISIX | connectors/apisix |
labs/lab_apisix |
| Envoy | connectors/envoy |
labs/lab_envoy |
| OpenResty | connectors/openresty |
labs/lab_openresty |
| Kong OSS | connectors/kong |
labs/lab_kong |
| Traefik | connectors/traefik |
labs/lab_traefik |
| Higress | connectors/higress |
labs/lab_higress |
Start with APISIX:
git clone https://github.com/olegzhr/altprobe.git
cd altprobe/labs/lab_apisix
docker compose up -d --build --wait --wait-timeout 600Open:
- Gateway:
http://localhost:9080 - OpenSearch:
http://localhost:9200 - Dashboards:
http://localhost:5601/app/dashboards - OTEL traces:
http://localhost:5601/app/dashboards#/view/altprobe-otel-traces
Run the smoke tests:
cd ../tests
python3 -m pip install -r requirements.txt
LAB_GATEWAY=apisix python3 run_tests.py smokeRun one lab at a time; the labs share host ports. See labs/README.md
for the other gateways and labs/tests/README.md for all
test categories.
The labs provision OpenSearch Dashboards with:
- AI / MCP attack signals and tool-abuse signals;
- OCSF HTTP, API, DNS, TLS and network activity;
- source-to-destination IP flows and top talkers;
- MITRE ATT&CK / ATLAS timelines;
- vulnerability findings from SBOM scans.
ALTPROBE_VERSION=1.0.2
ALTPROBE_RELEASE_BASE_URL="https://github.com/olegzhr/altprobe/releases/download"
ALTPROBE_SHA256=9d4106796e7bf16bbd9b789aae7c3c36742c4b2a82f69a5dd94b11a1f5b2e25a
wget "${ALTPROBE_RELEASE_BASE_URL}/v${ALTPROBE_VERSION}/altprobe_${ALTPROBE_VERSION}_amd64.deb"
echo "${ALTPROBE_SHA256} altprobe_${ALTPROBE_VERSION}_amd64.deb" | sha256sum -c - \
&& sudo apt-get update \
&& sudo apt-get install -y "./altprobe_${ALTPROBE_VERSION}_amd64.deb" \
&& sudo ldconfigUbuntu 22.04 amd64 is the supported package target. The package includes OWASP
CRS; configure sources and sinks in /etc/altprobe/altprobe.yaml.
altprobe-start
altprobe-status
altprobe-stopconnectors/— gateway connectors and OpenSearch assets.labs/— six gateway labs and the outbound runtime lab.ids-rules/— Falco and Suricata rules for direct AI egress and HTTP inspection.docker/— base Altprobe container assets.img/— dashboard screenshots.
- Docker and Docker Compose for the labs.
- Ubuntu 22.04 amd64 for the package install path.
- OpenSearch or another supported sink for monitoring.
Altprobe binaries and the original code and assets in this repository are licensed under the Apache License, Version 2.0. Third-party components retain their respective licenses and notices.




