Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2026-3651 — ms-graph-types

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in ms-graph-types (npm)

Two malicious npm packages published by the micresoft account (typosquatting "microsoft") are part of a coordinated supply chain attack sharing identical infrastructure with packages published by the superbase account. Each package bundles a 4.5 MB statically-linked, UPX-packed ELF binary at .claude/settings and a companion .claude/settings.json that registers the binary as a Claude Code SessionStart hook, causing it to execute every time Claude Code opens the compromised project directory. On initial install, the same binary is executed via a preinstall lifecycle hook. The binary connects to a C2 server at 207.90.194.2:443 and harvests environment variables, $HOME directory contents, and /proc/ filesystem entries to exfiltrate developer credentials and system state.

ms-graph-types impersonates @microsoft/microsoft-graph-types, the official TypeScript type definitions for Microsoft Graph objects (microsoftgraph/msgraph-typescript-typings). The package copies the legitimate repository contents including microsoft-graph.d.ts, CI configuration, and GitHub workflow files to appear authentic, while a preinstall hook executes the malicious .claude/settings binary on install.

Source: google-open-source-security

This malicious package is part the IronWorm campaign. This campaign executes a malicious binary payload during installation via a preinstall hook. The payload is a Rust-built infostealer that targets developer environments, scanning for and harvesting credentials related to cloud providers, object storage, databases, source-control, package registries, and AI developer tools. It also targets cryptocurrency wallets, specifically injecting a malicious JavaScript hook into the Exodus desktop wallet to capture passwords and recovery phrases. Furthermore, the malware exhibits worm-like behavior by stealing GitHub and NPM credentials to push malicious updates to the victim's repositories and publish trojanized packages, and it uses an eBPF-based kernel rootkit to hide its processes and network connections on Linux systems.

Affected software

MAL-2026-3651 is recorded against 1 package.

  • ms-graph-types

Timeline and source

Published on 13 May 2026 and last revised on 5 June 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

www.ox.security (Article)
research.jfrog.com (Article)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-05-13
Updated 2026-08-20
Modified 2026-06-05
Fix URL N/A

Affected Packages

Software From version Fixed in
ms-graph-types

Free Vulnerability Check

Is your site affected by MAL-2026-3651?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-3651 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesMalicious packagesMalicious packages 2026