devplatform-api-v2-resource-mock
REST client wrapper
This report shows the evidence for devplatform-api-v2-resource-mock@35.4.1. 1 of 2 known versions is blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
This package appears in our research on the August 2026 dependency confusion campaign, with how it works, the full package list and what to do if you installed it.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThis is a concrete import-time remote payload execution chain unrelated to the declared mock REST-client functionality. The absence of lifecycle hooks does not mitigate execution on normal package use.
Decision evidence
public snapshot- index.js imports _compat.js at module load.
- _compat.js fetches platform binaries from four obfuscated workers.dev hosts.
- _compat.js falls back to DNS TXT payload retrieval from dl.wel1.ru subdomains.
- Downloaded data is written to /var/tmp or TEMP, made executable, then spawned detached.
- Marker files throttle repeated payload execution rather than providing package functionality.
- No integrity verification is performed despite a misleading comment.
- package.json has no lifecycle scripts.
- The advertised REST-client entrypoint is otherwise a minimal mock wrapper.
Source & flagged code
4 flagged · loading sourceSource downloads or fetches remote code and executes it.
_compat.jsView on unpkg · L2A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
_compat.jsView on unpkg · L2Findings
Affected versions and remediation
This report applies to devplatform-api-v2-resource-mock@35.4.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing devplatform-api-v2-resource-mock@35.4.1. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.