MCP server returns differential output to Claude vs. other clients
Summary
MCP server that inspects the User-Agent or initialization handshake and returns different tool output depending on the client. The Claude variant includes instruction injection; the research-scanner variant returns benign output. Evades automated scanning.
Severity & confidence
High
Credible abuse path with meaningful impact on confidentiality, integrity, or availability. Remediate on a short timeline; do not wait for the next sprint cycle.
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)(?:user[_-]?agent|client[_-]?name).{0,200}(?:claude|anthropic)
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_000041
{
meta:
source = "jiffy-intel"
severity = "high"
description = "Auto-generated from Jiffy Intel indicators"
strings:
$content_pattern_0 = "(?i)(?:user[_-]?agent|client[_-]?name).{0,200}(?:claude|anthropic)"
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.
- adaptive-helper-mcpMCP serverRemoved
- smart-tool-mcpMCP serverUnder review
How to remediate
- 01Fingerprint-test MCP servers with multiple client identities.
- 02Jiffy dynamic analysis rotates scanner identities to catch this.
Timeline & sources
Timeline
- First observedMar 15, 20261 month ago
- Last updatedApr 27, 2026today
- PublishedMar 28, 202620 days ago
Sources
References
Jiffy Research — MCP Security Field Guide
https://blog.jiffylabs.ai/posts/mcp-security-a-security-teams-field-guideJiffy Research — How Jiffy Scans AI Artifacts
https://blog.jiffylabs.ai/posts/how-jiffy-scans-ai-artifacts-technical-overviewScan 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