devplatform-spa-tokens
Lightweight devplatform spa tokens wrapper
This report shows the evidence for devplatform-spa-tokens@35.3.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-aiThe undocumented import-time download-and-execute chain is concrete malicious behavior, independent of the lack of npm lifecycle hooks. Its stated token API does not require telemetry or native payload execution.
Decision evidence
public snapshot- index.js imports _support.js automatically on module load.
- _support.js downloads platform binaries over HTTPS and DNS TXT.
- _support.js writes payloads to temp storage, chmods on Unix, then detached-spawns them.
- Remote hosts and .ru DNS fallback are obfuscated by string concatenation.
- README describes only token usage, not this downloader/executor.
- package.json has no lifecycle scripts.
- The advertised TokenManager implementation itself is simple in-memory token storage.
Source & flagged code
4 flagged · loading sourceSource downloads or fetches remote code and executes it.
_support.jsView on unpkg · L4A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
_support.jsView on unpkg · L4Findings
Affected versions and remediation
This report applies to devplatform-spa-tokens@35.3.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing devplatform-spa-tokens@35.3.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: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.