Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
cdp-reverter
Advanced tools
Generate Chrome DevTools Protocol Session code from a listen-to session.
If you use a hi-abstraction Chrome automation framework and want to understand how it works, this is the project you need.
Install the package:
npm install -g cdp-reverter
or using npx
npx cdp-reverter
then use it:
npx cdp-reverter --help
Usage: cdp-reverter [options]
Options:
-h, --dest-host <ip> host to to connect to (default: "127.0.0.1")
-s, --source <port> address to listen for incoming connections (default: "9223")
-d, --destination <port> Address of the Chrome developer port (default: "9222")
-i, --ignore <event> Ignore some events names (default: [])
-p, --prefix <name> output fule prefix (default: "code")
--help display help for command
Start it:
cdp-reverter --prefix code
You can now connect your automation script to http://127.0.0.1:9223
Any incoming connection will be forward to http://127.0.0.1:9222
Press any Enter to terminate the session
Launch your automation script on the cdp-reverter socket.
Press enter to generate a simple low-level Chrome DevTools Protocol script.
or with npx
npx cdp-reverter -s 9555 -d 9222 -p mysession
Once generated, you may need to re-order and wait for event lines. This generator cannot predict event timing by listening only to the Chrome DevTools Protocol Session.
FAQs
Generate a working CDP script from ws connexion
The npm package cdp-reverter receives a total of 1 weekly downloads. As such, cdp-reverter popularity was classified as not popular.
We found that cdp-reverter 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
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.