
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
r2papi-async
Advanced tools
The r2papi module implements a set of idiomatic and high-level APIs that are based on top of the minimalistic r2pipe
API.
The constructor of the R2Papi
class takes an actual r2pipe instance, which only requires the .cmd()
method to interface with radare2.
The whole r2papi module is documented and integrates well with any editor with LSP support (like Visual Studio Code or NeoVIM)
R2Papi relies on commands and functionalities that were implemented around r2-5.8.x, so take this into account and update your software!
Note that TypeScript usually transpiles to Javascript, and as long as r2 ships it's own javascript runtime (based on QuickJS, which is ES6) it is possible to run the resulting r2papi scripts without any extra dependency in your system.
But that does not mean that you need r2 to use r2papi, you can also use this module from NodeJS, Bun, Frida and even r2frida-compile!
Install the Radare2 Skeleton tool and check the project templates in the r2skel repository to start writing your scripts and plugins on top of this API.
$ r2pm -ci r2skel
The source code is contained in the async/
directory. The code is then converted into sync using a sed oneliner.
r2papi
(for sync api) and r2papi-async
for the asynchronous--pancake
FAQs
r2api on top of r2pipe for typescript and js
The npm package r2papi-async receives a total of 1 weekly downloads. As such, r2papi-async popularity was classified as not popular.
We found that r2papi-async 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
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.