NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

@ifasn/mmdd-doc-mcpnpm

Advisory published Updated

@ifasn/mmdd-doc-mcp is a confirmed malicious npm package (MAL-2026-18489) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.1, 1.0.3, 1.0.4…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @ifasn/mmdd-doc-mcp (npm)

MAL-2026-18489
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @ifasn/mmdd-doc-mcp

What this malware does

@ifasn/mmdd-doc-mcp advertises itself as a Markdown TOC/stats/table MCP server, but on startup (bin entry / npm start) its index.js performs an unsolicited IMDSv2 handshake against the Alibaba Cloud ECS metadata endpoint 100.100.100.200: a PUT to /latest/api/token with X-aliyun-ecs-metadata-token-ttl-seconds followed by a GET to /latest/meta-data/ram/security-credentials/, retrieving the host instance's RAM temporary security credentials and other metadata. The response is written to output/meta_v2_dump.txt in the current working directory. The behavior is unrelated to any Markdown processing. The published tarball also ships patch scripts (patch111.js, patch112.js) that enumerate additional host secret paths — /etc/shadow, /etc/passwd, /root/.ssh/id_rsa, /var/www/html/.env, and the Kubernetes service-account token at /var/run/secrets/kubernetes.io/serviceaccount/token — with preview labels SENSITIVE-FILE / SHADOW-ENTRIES / TOKEN-LENGTH, and output/meta_field_dump.txt confirms those host-path probes were previously executed. A code comment claiming '无网络上报' (no network reporting) and the 'v2 probe edition' framing are cover-story labels; the operation is unauthorized reading of installer-side cloud instance-role credentials by a package whose declared purpose does not require any host metadata access.

Malicious versions

17 flagged
1.0.11.0.31.0.41.0.4-21.0.51.0.61.1.01.1.11.1.21.1.31.1.51.1.61.1.71.1.81.1.9-22.0.12.0.4

Indicators of compromise (SHA-256)

00e9e090da5207e0b655eea457540148ea54666249f50e3e648f0ad354d5512f
69c49355c8e32d2c1f55af1e899ff1bf83021a58c98e06be68a99456fbe98efb
567db56a574896ab82ea35b0885935abc0acc83def8eeb81187c58382f68d3dd
aae5bba340b14529354a901037e144fd382ed5e8ba9c7fe6342e8448f5e8b12e
df4004eb0f6cbdb9bb11b4096e474a3f078e15b4b29fe660ca64c1bb05059095
f00189c1838ba969bfaf0263f58f089dfe2dcf29e18652da3b8a9f0298c5ba63
134b408ae3c9b75f1fea4228de5160efa89f3730961389fd8b31270edc6900fa
2fd806537ea00c81b41f1e8f1425f7b296f8988b965bbb6f4524c61080beb18c
6d88c8191553a54067a17aadb544e42f930a2fe16038cf5c15384a36064661cb
7f8d552bb28ae98665e9faa9637ce5ec95c83103cc77df68732a25d98d63d42b
9dafe071e7822c477847c3ccd3488d937815a0c1b59f44c3d28b5fbaa5824b99
17e5c38a039ae01c30fa1f57c820c338c05b2c630fdd90bc52eec446491d4232
2bc47781fce0924a29fc2c6a39a2c200dc547f9a3fd5a9071ac10c5d8dca579e
3098acbe44e80ad3165fb08b2517d3a638c8a82d6c90e069b14ed78260dbd263
b60c6fc375909417e7edeb7e26e2d43f6b2cb285774425ddf4081e3b1e60724a
1766bd7f233a3ba238a80209447391781f70d44141fea0a9975a5969ff4c614b
2999c5d0dd2a35fe1dfb6bdc17da36aaed07d4f6fa7e10f9f395a4b39d1c7265

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for @ifasn/mmdd-doc-mcp (17 malicious versions).

  2. If you installed it — respond

    @ifasn/mmdd-doc-mcp is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If @ifasn/mmdd-doc-mcp was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. @ifasn/mmdd-doc-mcp on npm has been identified as a malicious package (versions 1.0.1, 1.0.3, 1.0.4, 1.0.4-2, 1.0.5, 1.0.6, 1.1.0, 1.1.1, and 9 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-022504IN-MAL-2026-022503IN-MAL-2026-022507IN-MAL-2026-022509IN-MAL-2026-022512IN-MAL-2026-022496IN-MAL-2026-022505IN-MAL-2026-022500IN-MAL-2026-022494IN-MAL-2026-022495IN-MAL-2026-022492IN-MAL-2026-022499IN-MAL-2026-022489IN-MAL-2026-022498IN-MAL-2026-022510IN-MAL-2026-022490IN-MAL-2026-022508

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @ifasn/mmdd-doc-mcp-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

@ifasn/mmdd-doc-mcp (npm) malicious package — MAL-2026-18489 | O3 Security