Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Simple, programmatic and hackable node.js HTTP forward proxy built-on-top of rocky.
Not designed for serious things, only for playground/development purposes.
npm install -g balboa
For programmatic usage only install it in your dependency tree:
npm install balboa --save
Start the forward proxy:
balboa -p 8080
Then you can configure your web browser to use balboa
as proxy (Firefox proxy settings below):
Finally, try browsing some site.
Simple programmatic set up of an HTTP proxy to sniff and transform HTML metadata:
const balboa = require('balboa')
const proxy = balboa()
proxy
.route
.transformResponseBody(function (req, res, next) {
if (/html/i.test(res.getHeader('content-type')) === false) return next()
var body = res.body.toString()
// Compose the new body
var newBody = body.replace(/<body(.*)>/, '<body$1><h1>HELLO WORLD</h1>')
// Set the modified body
next(null, newBody, 'utf8')
})
proxy.listen(8080)
console.log('Proxy server listening on port:', 8080)
Creates a new HTTP or HTTPS proxy.
See rocky docs for full supported options.
Creates an HTTP proxy.
Creates a SSL proxy with the given options. See an example here.
Current package version
Rocky proxy. See full API docs here.
MIT - Tomas Aparicio
FAQs
Simple, fully programmatic, HTTP/S forward proxy
We found that balboa 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.