
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.
A library to interact with BPF kernel state.
Just simple, pure idiomatic Rust-based bindings to manage user-space state necessary for interacting with the kernel system. Some little helpers are added but not beyond the minimalism (avoids generics or extra dependencies).
In decreasing order of priority.
Non-Goals:
libbpf
async
style of implementation. It should be possible to achieve all
functionality with synchronous code. However, optional concurrency may be
introduced with async
where efficient.Note that the implementation does not need link directly against any libc
functions. Rather, it defines an expected interface in terms of free C
functions (sys::SysVTable
). The caller can fill it with functions loaded
statically or dynamically from a linker but also with another equivalent
implementation. Unfortunately, the data type definitions will have to be
compatible with the platform libc
in both cases, but it is a start to avoid
the hell of LD_PRELOAD
as a stupid, global mechanism for overwriting them.
Depending on libbpf
is quite heavy when only a fraction of it is needed. In
particular, connecting together networking functionality does not depend on
writing BPF. Also, the library is riddled with C-isms:
unknown or highly implicit thread-safety
synchronous resources opened and closed in rapid succession just to hide that
resource management complexity from the caller. No really, a new netlink
socket is created, configured, loop polled and closed for literally each
libbpf_netlink_send_recv
that's hidden in a lot of operations.
Code that looks like so:
static int libbpf_netlink_send_recv(...) {
/* ... */
req->nh.nlmsg_seq = time(NULL);
They are fucking with us, no?
FAQs
Unknown package
We found that abpfiff 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.