
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@gxchain2/core
Advanced tools
[](https://www.npmjs.org/package/@gxchain2/core) 
The core logic of blockchain node, including:
BlockchainMonitor
: Contains several events
logs
: Emit when a new transaction's log is generatedremovedLogs
: Emit when the transaction has been rolled backnewHeads
: Emit when canonical chain changesIndexer
and BloomBitsFilter
: Create bloom bits index for section
Consensus
: Consensus engine implement
Protocols
: Used for communication and data transmission between nodes
Txpool
: Manage pending and queued transactions
Sync
: Synchronize blocks
Txsync
: Synchronize transactions
Tracer
: Tracer provides an implementation of tracing blocks or transactions
Staking
: An implementation of staking logic
Contracts
: Some classes are used to interact with the smart contract
npm install @gxchain2/core
const node = await NodeFactory.createNode({
databasePath: "path/to/dataDir",
chain: "chainName",
mine: {
enable: true,
coinbase: "address1",
},
network: {
enable: true,
},
account: {
keyStorePath: "path/to/keystore",
unlock: [
["address1", "passphrase1"],
["address2", "passphrase2"],
],
},
});
await node.abort();
FAQs
[](https://www.npmjs.org/package/@gxchain2/core) 
The npm package @gxchain2/core receives a total of 1 weekly downloads. As such, @gxchain2/core popularity was classified as not popular.
We found that @gxchain2/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.