Credential ExfilPublished Mar 25, 2026

MCP server stores AWS credentials in world-readable file

HighAARM tierConfirmed
Seen16times across4customers
jiffy-ti-2026-000045

Summary

MCP server saves boto session credentials (including short-lived session tokens) in a file under /tmp without restricting permissions. Other processes on the same host can read the file and hijack the session.

Severity & confidence

Severity
High

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.

Confidence
Confirmed

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)open\s*\(.{0,80}/tmp/[^"']*(?:aws|boto|session)

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.

YARA-style pseudo-rule
rule jiffy_ti_2026_000045
{
    meta:
        source = "jiffy-intel"
        severity = "high"
        description = "Auto-generated from Jiffy Intel indicators"
    strings:
    $command_pattern_0 = "(?i)open\\s*\\(.{0,80}/tmp/[^\"']*(?:aws|boto|session)"
    condition:
        $command_pattern_0
}

Auto-generated from the indicators above. Adapt syntax for your detection stack before deploying.

Affected tools

ToolVersionsStatus
MCP servers (Python/boto)*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.

  • aws-ops-mcpMCP server
    Under review
    Source
    MCP Registry
    Versions
    0.1.0
    First observed
    Mar 11, 2026
  • cloud-inspector-mcpMCP server
    Quarantined
    Source
    Community registry
    First observed
    Mar 15, 2026

How to remediate

  1. 01Store credentials in-memory only or in a secured keyring.
  2. 02Reject MCP servers that write credentials to /tmp.

Timeline & sources

Timeline

  1. First observedMar 11, 20261 month ago
  2. Last updatedApr 24, 2026today
  3. PublishedMar 25, 202623 days ago

Sources

scanner

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