
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Silicon Labs CP2102 user-space USB to serial adapter driver for Node.js and WebUSB in the browser
const CP2102 = require('cp2102');
const { webusb } = require('usb');
const opts = {
baudRate : 38400
};
(async () => {
const device = await webusb.requestDevice({
filters: [
{
vendorId: 0x10c4,
productId: 0x85a7,
},
],
});
const connection = new CP2102(device, opts);
connection.addEventListener('data', (res) => {
console.log('Data:', res);
connection.close(() => {});
});
connection.addEventListener('ready', () => {
connection.write([0x01, 0x02, 0x02], (err) => {
if (err) {
console.log('Error sending command:', err);
}
});
});
})().catch((error) => {
console.log('Error: ', error);
});
Thanks to Seiya Nuta who posted a WebUSB version as a GitHub gist.
FAQs
Silicon Labs CP2102 user-space USB to serial driver
The npm package cp2102 receives a total of 25 weekly downloads. As such, cp2102 popularity was classified as not popular.
We found that cp2102 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.