# MAL-2026-13828: Malicious code in ms_aidc_com_tw (npm)


- **Type:** Malicious package
- **Package:** `ms_aidc_com_tw` (npm)
- **Published:** 12 Aug 2026
- **Also known as:** GHSA-2fg7-gfq8-c24g

## What is MAL-2026-13828?

MAL-2026-13828 is a malicious package in ms_aidc_com_tw, published on 12 Aug 2026. 

### Official description

The package `ms_aidc_com_tw` ships only an `index.html` that renders a fake Cloudflare Turnstile 'security verification' page. On Turnstile completion, heavily obfuscated JavaScript (obfuscator.io-style rotating string array `_0x59f1`, RC4/base64 decoder `_0x2020`, self-defending anti-debug checks) assembles a URL to `login.microsoftonline.com`, copies the current page's query-string parameters onto it, and calls `window.location.replace` to hand the victim off to Microsoft's real login with attacker-controlled parameters preserved — the standard adversary-in-the-middle / OAuth-consent phishing relay pattern. The package name impersonates a Microsoft-branded Taiwanese corporate domain (`ms.aidc.com.tw`). The obfuscation exists solely to conceal the phishing destination and the parameter-relay logic from casual review. The npm registry is being abused as hosting infrastructure for a Microsoft 365 credential-harvesting landing page.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

## What should I do about MAL-2026-13828?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-13828 is a malicious package: ms_aidc_com_tw (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-13828/ (Markdown: https://insights.sbomify.com/MAL-2026-13828/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-13828

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-13828/
Summaries are generated and may contain mistakes; the official description above is the record.
