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.
@fabianbormann/meerkat
Advanced tools
Meerkat aims to be a typescript and webpack 5 friendly re-implementation of Bugout: A browser-to-browser networking built on WebTorrent
npm i @fabianbormann/meerkat
<script src="https://fabianbormann.github.io/meerkat/latest/meerkat.min.js"></script>
<script>
const meerkat = new Meerkat({ ... });
</script>
import Meerkat from '@fabianbormann/meerkat';
const meerkat = new Meerkat({ seed: localStorage['bugout-demo-server-seed'] });
localStorage['meerkat-server-seed'] = meerkat.seed;
let connected = false;
meerkat.on('connections', (clients) => {
if (clients === 0 && connected === false) {
connected = true;
console.log('[info]: server ready');
}
console.log(`[info]: ${clients} clients connected`);
});
meerkat.register('hello', (address, args, callback) => {
console.log(
`[info]: rpc call invoked by address ${address} into window.cardano`
);
callback('hello world');
});
console.log(`Share this address ${meerkat.address} with your clients`);
import Meerkat from '@fabianbormann/meerkat';
const meerkat = new Meerkat({ identifier: 'YOUR_SERVER_ADDRESS' });
meerkat.on('server', () => {
console.log('[info]: connected to server');
meerkat.rpc('YOUR_SERVER_ADDRESS', 'hello', {}, (response) =>
console.log(response)
);
});
FAQs
Browser-to-browser networking built on WebTorrent
We found that @fabianbormann/meerkat 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
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.