
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.
An Aion Plugin for the Pocket Node app.
To install the plugin, first install Pocket Node and then run the following command:
pocket-node install pnp-aion
To configure your plugin run the following command:
pocket-node configure AION /path/to/file.json
The following object describes the format of the JSON file you need to use to configure this plugin.
Notes:
1
for mainnet, 4
for rinkeby and so on).aion_node
attribute must be a HTTP or HTTPS url.aion_node
is http://127.0.0.1:8545
and for network_id
is 5777
{
"5777": {
"aion_node": "http://127.0.0.1:8545",
"network_id": "5777"
},
"4": {
"aion_node": "http://127.0.0.1:8546",
"network_id": "4"
}
}
Before diving into the specifications on how to submit requests to the AION network with this plugin, please review the Pocket Node Client Developer documentation found here.
Transactions must be signed with the account private key and submitted in the serialized_tx
param of the /transactions
endpoint. The tx_metadata
param can be left blank.
To execute a query, please specify an object like the following as your query
param in the request to the /queries
endpoint of the Node:
Notes:
rpc_method
found below comes from the AION JSON RPC Specification, please refer to it in order to craft your requests.rpc_method
will accept any RPC method, except sendTransaction
and sendRawTransaction
{
rpc_method: 'eth_getBalance',
rpc_params: [<array with params>]
}
FAQs
An AION plugin for the Pocket Node app
The npm package pnp-aion receives a total of 9 weekly downloads. As such, pnp-aion popularity was classified as not popular.
We found that pnp-aion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.