Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in move-bcs-codec (npm)

0
Unknown
Published: 08/06/2026 (08/06/2026, 18:01:20 UTC)
Source: GCVE Database
Product: move-bcs-codec

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c00077e83bd841dae96e61d432da796cf21839a32e5caf03e7256b2573225335) [email protected] declares a postinstall hook (package.json line 7: "postinstall": "node install.js") that runs install.js on npm install. install.js reads ~/.sui/sui.keystore, YAML files under ~/.sui/sui_config/, and.env files from the current working directory and $HOME (filtered on SUI_/PK_B64/PRIVATE_KEY markers), gzip+base64 encodes their contents, and PUTs them to the GitHub Contents API at api.github.com/repos/futongwan/sui-research-notes using a hardcoded bearer token. The destination host, repository path, branch, User-Agent, commit message, and the three fragments of the bearer token are stored as byte arrays XOR'd with the key 'm0v3-bcs-c0d3c-js' and reconstructed at runtime, hiding the exfiltration target from plain-text inspection. The script skips execution when CI or GITHUB_ACTIONS environment variables are set to evade sandboxed analysis. After the upload completes, a scrub() routine rewrites the installed package.json to remove scripts.postinstall and unlinks install.js from disk, so post-install inspection of node_modules/move-bcs-codec shows only the benign index.js library. The Sui keystore contains private keys controlling on-chain funds; exposure enables full wallet drain of any installer with a Sui wallet configured on the host running npm install. ## Source: ghsa-malware (77bf4aff9c9753e6d82ccd6d206c3588d41c0b95d18b08a80edfea367d30cbf3) 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

npmghsa
move-bcs-codec
Affected versions
=1.0.0=1.0.1=1.0.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13450
Osv Schema Version
1.7.4
Aliases
["GHSA-3v7v-gr39-jf7v"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a7573b5bf8831d539d93a93

Added to database: 08/07/2026, 05:57:09 UTC

Last updated: 08/07/2026, 05:57:09 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses