
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.
bluetooth-rpc-server
Advanced tools
The server side of a library allowing Remove Procedure Call (RPC) from a web application to a Node.js server on a Bluetooth-enabled device.
The server side of a library allowing Remove Procedure Call (RPC) from a web application to a Node.js server on a Bluetooth-enabled device.
This library uses bleno, and needs to be run on a device that supports Bluetooth. Any issues related to installation will be due to missing requirements for bleno. To install, simply run:
npm install bluetooth-rpc-server
This library is designed to be used with bluetooth-rpc-client
const BluetoothRPCServer = require('bluetooth-rpc-server');
BluetoothRPCServer.startServer({
name: 'My Device', // this name will be broadcast, and visible to the user on pairing
serviceUuid: '', // choose a UUID. Client must know this value.
characteristicUuid: '', // choose a UUID. Client must know this value.
handlers: { // client will be able to call these remotely!
async doSomething(x, y, z) {
// ...do some async computations here...
return 'something';
}
}
);
After starting the server, the device should broadcast a bluetooth device
called 'My Device'. The client should now be able to connect to this device,
and call the async functions defined within handlers
as if they were local
functions.
FAQs
The server side of a library allowing Remove Procedure Call (RPC) from a web application to a Node.js server on a Bluetooth-enabled device.
The npm package bluetooth-rpc-server receives a total of 7 weekly downloads. As such, bluetooth-rpc-server popularity was classified as not popular.
We found that bluetooth-rpc-server 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.