Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2025-4029 — ts-runtime-compat-check

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

Description

Malicious code in ts-runtime-compat-check (npm)

The npm package ts-runtime-compat-check is a malicious package that functions as a key component in a remote code execution attack chain. This package:

1. Contains a postinstall script that executes lib/install.js

2. The install script makes HTTP requests to a server specified by an environment variable APP_PROXY (defaults to 'http://localhost' but typically set to https://proxy.eslint-proxy.site by parent packages)

3. Sends the victim's application path as a query parameter to the malicious server

4. When the server returns specially crafted error messages, the package decodes them from base64 and executes them using new Function.constructor()

5. This creates a direct remote code execution capability

This package is utilized by other malicious packages like eslint-config-airbnb-compat to establish a covert channel for executing arbitrary code. The separation of concerns across multiple packages appears designed to evade detection by security scanners.

Source: ghsa-malware

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.

Affected software

MAL-2025-4029 is recorded against 1 package.

  • ts-runtime-compat-check

Timeline and source

Published on 17 May 2025 and last revised on 28 May 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Advisory)

Details

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

Affected Packages

Software From version Fixed in
ts-runtime-compat-check — —

Free Vulnerability Check

Is your site affected by MAL-2025-4029?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2025-4029 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 2025
✓