YaraFluxBLOCK
A yara based MCP Server
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://github.com/ThreatFlux/YaraFlux/releases) [](https://github.com/ThreatFlux/YaraFlux/actions) [](https://codecov.io/gh/ThreatFlux/YaraFlux) [](https://app.codacy.com/gh/ThreatFlux/YaraFlux/dashboard?utmsource=gh&utmmedium=referral&utmcontent=&utmcampaign=Badge_grade) [](https://opensource.org/licenses/MIT) [](https://www.python.org/downloads/) [](https://fastapi.tiangolo.com/) [](https://docs.anthropic.com/claude/docs/model-context-protocol) [](https://github.com/psf/black)
A Model Context Protocol (MCP) server for YARA scanning, providing LLMs with capabilities to analyze files with YARA rules.
📋 Overview
YaraFlux MCP Server enables AI assistants to perform YARA rule-based threat analysis through the standardized Model Context Protocol interface. The server integrates YARA scanning with modern AI assistants, supporting comprehensive rule management, secure scanning, and detailed result analysis through a modular architecture.
🧩 Architecture Overview
+------------------------------------------+ | AI Assistant | +--------------------+---------------------+ | | Model Context Protocol | +--------------------v---------------------+ | YaraFlux MCP Server
53ab41ad03a5OBSERVED · 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add yaraflux_mcp_server -- uvx yaraflux_mcp_server
{
"mcpServers": {
"yaraflux_mcp_server": {
"command": "uvx",
"args": [
"yaraflux_mcp_server"
]
}
}
}Exposed tools (1)
1 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
wrapper | read | MCP tool wrapper function. |
Trust audit
BLOCKgrade D · trust 66/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | FAIL |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (5 observation(s))
- Network
- declared (10 observation(s))
- Shell
- declared (1 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- found
Findings (13)
atob( ... eval(
.env
return importlib.import_module(f".{module_name}", package="yaraflux_mcp_server.mcp_tools").env
.pylintrc
.safety-project.ini
return importlib.import_module(f".{module_name}", package="yaraflux_mcp_server.mcp_tools")decoded_data = base64.b64decode(data)
decoded_data = base64.b64decode(data)
decoded = base64.b64decode(result["data"])
decoded_data = base64.b64decode("SGVsbG8gV29ybGQ=")fastapi, uvicorn, pydantic, pydantic-settings, yara-python, httpx, python-jose, passlib
curl -X POST -F "[email protected]" -H "Authorization: Bearer TOKEN" http://localhost:8000/api/v1/files/upload
Gates applied: critical_finding, no_behavioural_pass.
53ab41ad03a5full audit observations/trust-audit/mcp-server/threatflux__yaraflux.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 53ab41ad03a5 | BLOCK | D | 66 | first audit |
Questions
What is the YaraFlux MCP server?
A yara based MCP Server
What tools does YaraFlux expose?
1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is YaraFlux safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (66/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does YaraFlux need?
No credential environment variables were found in its source, so it appears to need none.
How does YaraFlux run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as yaraflux_mcp_server.
How current is this page?
The grade is for one exact copy of the source (53ab41ad03a5), read on 2026-10-09. The repository is watched and re-audited when it changes.