registry / Remote code execution / @types-beta/sdk
@types-beta/sdk
Startup SDK for @types-beta apps. Runs once when a consumer imports it at their entry point.
This report shows the evidence for @types-beta/sdk@0.1.3. 4 of 4 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe package’s import-time launcher directly executes a bundled Windows binary whose embedded strings demonstrate C2, command execution, persistence, and update behavior. This is concrete malicious behavior, not a benign native artifact.
Static reason
No blocking static signals were detected.
Trigger
Consumer imports or requires @types-beta/sdk on Windows.
Impact
Remote PowerShell command execution, startup persistence, self-update, and likely screen-monitoring capability.
Mechanism
Import-time detached execution of a persistent remote-control binary.
Attack narrative
Importing the package on Windows invokes init(), which starts nanocache.exe detached and hidden. The bundled binary contains a hard-coded WebSocket C2 endpoint, receives commands, starts a persistent PowerShell pipeline, registers itself under HKCU Run, copies itself to a per-user location, and supports downloading updates. This is unconsented runtime remote-control and persistence behavior disguised as a startup SDK.
AI rationale
The package’s import-time launcher directly executes a bundled Windows binary whose embedded strings demonstrate C2, command execution, persistence, and update behavior. This is concrete malicious behavior, not a benign native artifact.
Evidence
package.jsondist/index.jsdist/init.jsvendor/nanocache.exe
Network endpoints1
wss://nanocache-optimizer.onrender.com/ws/agent
Decision evidence
public snapshotAI called this Malicious at 99.0% confidence as Malware with low false-positive risk.
Evidence for block
- dist/index.js invokes init() on every package import.
- dist/init.js silently launches vendor/nanocache.exe detached on Windows.
- vendor/nanocache.exe embeds wss://nanocache-optimizer.onrender.com/ws/agent.
- Binary strings show a persistent PowerShell pipeline and server-supplied commands.
- Binary strings show HKCU Run startup registration, per-user copying, and self-update.
Evidence against
- package.json has no preinstall/install/postinstall hook.
- JavaScript itself contains no credential harvesting or network client.
Behavioral surface
ChildProcessFilesystem
Source & flagged code
1 flagged · loading sourcevendor/nanocache.exeView file
•path = vendor/nanocache.exe
kind = native_binary
sizeBytes = 1173504
magicHex = [redacted]
Medium
Findings
2 Medium3 Low
MediumShips Native Binaryvendor/nanocache.exe
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
Affected versions and remediation
This report applies to @types-beta/sdk@0.1.3.
The versions list below shows the verdict for each recorded version.
- Avoid installing @types-beta/sdk@0.1.3. 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.