Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Threat Detection Python Packages

Python packages with the GitHub topic threat-detection. Sorted by monthly downloads, with stars and forks.
Agent-Threat-Rule
pyatr

Open detection-rule standard for AI agent security threats — like Sigma, but for AI agents. Executable, testable rules for prompt injection, tool poisoning, context exfiltration and MCP attacks. Merged into open-source projects at Microsoft, Cisco, Gen Digital, MISP and FINOS. MIT-licensed.

25K 445 71
blitzcrieg1
agentmetry

Open-source security for AI coding agents: record, detect and block at the tool boundary, with a verifiable audit trail in the SIEM you already run.

10K 51 19
flowtriq
ftagent

Flowtriq DDoS Detection Agent. Real-time traffic monitoring, incident detection, PCAP capture, and auto-mitigation

5K 2 0
uber
adr-sensor

ADR secures enterprise AI agents through observability, security benchmarking, and threat detection. Deployed at Uber.

4K 2K 232
call518
logsentinelai

LLM-powered security log analyzer: detect threats & anomalies with zero regex — just declare a Pydantic schema. Real-time Telegram alerts, SIEM-ready with Elasticsearch/Kibana. Supports OpenAI, Ollama, vLLM.

4K 68 14
UtshaBasak
prohori

A mini-SOC: from raw logs to detections, enriched incidents and analyst-ready reports, with honest machine-learning evaluation and a streaming data pipeline.

3K 1 0
Nebulock-Inc
agentic-threat-hunting-framework

ATHF is a framework for agentic threat hunting - building systems that can remember, learn, and act with increasing autonomy.

3K 431 57
trendmicro
visionone-filesecurity

Trend Vision One File Security Python SDK

3K 2 1
beenuar
aisoc-sandbox

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

2K 9K 921
aris1009
pysigma-backend-victorialogs

pySigma backend that converts Sigma detection rules to LogsQL queries for VictoriaLogs

2K 4 1
rahadbhuiya
cnsl

Correlated log analysis and automated IP blocking for Linux servers

2K 14 3
uber
gfg-adr-detection

ADR secures enterprise AI agents through observability, security benchmarking, and threat detection. Deployed at Uber.

1K 2K 232
advens
pysigma-backend-libsigma

Compiled Sigma matcher and in-process correlator

1K 2 1
geinerjimenezvillegas-create
trazas

Synthetic, labelled attack-log generator for testing detection rules

1K 0 0
rabbitstack
fibratus

Security sensor for realtime threat detection and protection

1K 3K 223
kaifcodec
phonsint

🕵️‍♂️ Advanced phone number OSINT suite engineered for silent reconnaissance. Extracts masked emails, profile avatars and uncovers cross-platform account registrations, and enriches identity footprints with zero SMS alerts.

1K 57 7
nagameTW
mcp-server-malcolm

Ask an AI agent about your Malcolm network traffic. MCP server for Zeek, Suricata, Arkime and NetBox data, read-only until you opt in to writes.

1K 1 0
secureagentics
adrian-sdk

Open-source runtime AI agent security tool - monitors and controls AI agents, catching malicious tool use, prompt injection, and policy drift in real time, before the agent acts.

903 602 98
threat-hunter-eu
sigharvest

Every public Sigma rule, in one place, without the duplicates.

828 0 0
mariosergiosl
sys-inspector

eBPF-based System Inspector and Forensic Tool (Multi-Agent/Web)

672 3 0
M507
iflow-mcp-m507-ai-soc-agent

Blackhat 2025 presentation and codebase: AI SOC agent & MCP server for automated security investigation, alert triage, and incident response. Integrates with ELK, IRIS, and other platforms.

573 56 13
xuxu298
rule-doctor-lite

Find custom Wazuh rules that never fire, including rules dropped at load (7617/7619). Read-only, standard library only.

559 1 0
fusiontechstrategies
ids-rule-converter

Translate Snort and Suricata rules without losing what they mean. A fail-safe, engine-tested IDS conversion and analysis toolkit.

537 0 0
spyboy-productions
websecprobe

Bypass 403

514 187 27
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology