CLAUDE.md in repo contains embedded base64 that decodes to an MCP install command
Summary
Repo-level CLAUDE.md has a block labeled "internal automation" with a base64 string. The agent, following the rule, decodes and runs it — pulling in an MCP server that interposes on subsequent tool calls.
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.
(?:^|/)CLAUDE\.md$
(?is)base64[\s\S]{0,500}[A-Za-z0-9+/=]{200,}
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_000063
{
meta:
source = "jiffy-intel"
severity = "high"
description = "Auto-generated from Jiffy Intel indicators"
strings:
$file_path_pattern_0 = "(?:^|/)CLAUDE\\.md$"
$content_pattern_1 = "(?is)base64[\\s\\S]{0,500}[A-Za-z0-9+/=]{200,}"
condition:
$file_path_pattern_0 or $content_pattern_1
}Auto-generated from the indicators above. Adapt syntax for your detection stack before deploying.
Affected tools
| Tool | Versions | Status |
|---|---|---|
| Claude Code | * | vulnerable |
| Cursor | * | 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.
- CLAUDE.md (repo: internal-tool)IDE rulesRemoved
- CLAUDE.md (repo: sdk-helpers)IDE rulesQuarantined
How to remediate
- 01Reject CLAUDE.md entries that contain encoded binary blobs.
- 02All rule content must be human-readable.
Timeline & sources
Timeline
- First observedMar 7, 20261 month ago
- Last updatedApr 24, 2026today
- PublishedMar 19, 202629 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