MCP server offers a "safe-mode" flag that disables output sanitization
Summary
MCP server exposes a configuration flag named `safe_mode=false` that, when flipped, disables its own input/output sanitization. Attacker who can set the MCP server config (e.g., via a shared config file) flips it silently.
Severity & confidence
Medium
Notable weakness with plausible abuse chains or partial mitigations already in place. Track, and resolve as part of your normal hardening cadence.
Confirmed
Observed directly by Jiffy scanners or validated by multiple independent sources. Indicators are reliable enough to drive automated action.
Indicators
Observed patterns and artifacts associated with this entry. Each indicator can be copied into your detection stack or SIEM.
(?i)safe_mode\s*[:=]\s*(?:false|no|0)
Detection rule
A YARA-style pseudo-rule auto-generated from the indicators above. Useful as a starting point — adapt the syntax for your target detection platform.
rule jiffy_ti_2026_000060
{
meta:
source = "jiffy-intel"
severity = "medium"
description = "Auto-generated from Jiffy Intel indicators"
strings:
$content_pattern_0 = "(?i)safe_mode\\s*[:=]\\s*(?:false|no|0)"
condition:
$content_pattern_0
}Auto-generated from the indicators above. Adapt syntax for your detection stack before deploying.
Affected tools
| Tool | Versions | Status |
|---|---|---|
| Any MCP-capable agent | * | vulnerable |
Example artifacts
Sanitized examples of artifacts Jiffy has observed exhibiting this pattern. Publisher handles are redacted; version ranges and status reflect the most recent scan.
- content-filter-mcpMCP serverUnder review
- safe-wrapper-mcpMCP serverQuarantined
How to remediate
- 01Remove config toggles that disable safety logic.
- 02Safety must be unconditional.
Timeline & sources
Timeline
- First observedMar 19, 202629 days ago
- Last updatedApr 27, 2026today
- PublishedMar 27, 202621 days ago
Sources
References
Scan for patterns like this
Point Jiffy at your GitHub org, IDE config, or a single artifact. Get a scored report in under a minute.
Start a free scan