Atlas / MCP servers / threatflux / YaraFlux

YaraFluxBLOCK

mcp/threatflux/yaraflux

A yara based MCP Server

Verdict
BLOCK
Grade
D
Trust score
66 /100
Exposed tools
1 1r · 0w · 0d
Transport
stdio
License
MIT
Stars
23
01

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         
Read from source at commit 53ab41ad03a5OBSERVED · 2026-10-09
Advertisement
02

Connect

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-code
claude mcp add yaraflux_mcp_server -- uvx yaraflux_mcp_server
claude-desktop
{
  "mcpServers": {
    "yaraflux_mcp_server": {
      "command": "uvx",
      "args": [
        "yaraflux_mcp_server"
      ]
    }
  }
}
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
wrapperreadMCP tool wrapper function.
04

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.

LayerWhat it checksResult
L0Provenance & inventoryFAIL
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (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)

CRITICALObfuscation / stealth · obf.decode_then_exec · CWE-506, CWE-94
src/yaraflux_mcp_server/mcp_tools/scan_tools.py:85
atob( ...  eval(
Why it matters. decodes a payload and executes it
HIGHHard-coded secrets · inv.env_committed · CWE-798, CWE-321
.env
.env
Why it matters. a real .env in the package
Fix. ship .env.example with placeholders only
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
src/yaraflux_mcp_server/mcp_tools/__init__.py:79
return importlib.import_module(f".{module_name}", package="yaraflux_mcp_server.mcp_tools")
LOWInventory / provenance · inv.hidden_file · CWE-1104
.env
.env
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pylintrc
.pylintrc
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.safety-project.ini
.safety-project.ini
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/unit/test_mcp_tools/test_init.py:222
return importlib.import_module(f".{module_name}", package="yaraflux_mcp_server.mcp_tools")
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/yaraflux_mcp_server/mcp_tools/file_tools.py:56
decoded_data = base64.b64decode(data)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/yaraflux_mcp_server/mcp_tools/scan_tools.py:121
decoded_data = base64.b64decode(data)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
tests/unit/test_mcp_tools/test_file_tools_extended.py:416
decoded = base64.b64decode(result["data"])
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
tests/unit/test_mcp_tools/test_scan_tools_extended.py:256
decoded_data = base64.b64decode("SGVsbG8gV29ybGQ=")
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
fastapi, uvicorn, pydantic, pydantic-settings, yara-python, httpx, python-jose, passlib
Why it matters. 13 requirement(s) not pinned with ==
Fix. pin exact versions
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
docs/file_management.md:132
curl -X POST -F "[email protected]" -H "Authorization: Bearer TOKEN" http://localhost:8000/api/v1/files/upload
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine

Gates applied: critical_finding, no_behavioural_pass.

Audited 2026-10-09 · audit v0.4.1 · source sha 53ab41ad03a5full audit observations/trust-audit/mcp-server/threatflux__yaraflux.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0953ab41ad03a5BLOCKD66first audit
06

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.

Advertisement