
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@bpanel/faucet
Advanced tools
A plugin for adding a faucet interface for your bPanel instance, includes rate limiting for the API requests
This plugin adds a rate limited faucet plugin to your bPanel instance. There are both client and server side components to this plugin, which means that a minimum version of bPanel v1.0.0-beta
is required (since older versions do not support backend plugins).
Make sure you've got the latest version of bpanel-cli
installed
$ npm install -g @bpanel/bpanel-cli
Then install the plugin with bpanel-cli:
$ bpanel-cli install @bpanel/faucet
Finally, if you've got bPanel already running, make sure to restart the server. Otherwise, just start bPanel as normal:
# from your bPanel project directory
$ npm run start
This plugin is purely an interface with a compatible wallet node. By default, you will need
to have a wallet server running on the node you're connecting to and it will need to have
a (funded) wallet with the id faucet
in order to have full functionality. See steps below
for additional configuration options.
By default, the plugin will blacklist all backend calls to wallet endpoints not made to a wallet with
the id faucet
. This is to avoid accidentally opening up other wallets on your server to the faucet service.
Absent any other kind of authentication, you can set the config variable faucet-admin
in your bPanel configs
which will disable the blacklisting and rate limiting. This can be helpful when testing during development.
Another useful configuration is faucet-id
which lets you set a custom wallet id for the faucet source.
For example, if you're using a dedicated node for your faucet, you might just want to use your primary
wallet since that is the default wallet created by a bcoin, bcash, or hsd node.
The bPanel Faucet plugin uses the bPanel configuration system, built with
bcfg. These can be set at runtime (i.e. npm run start -- --faucet-admin=true --faucet-id=foobar
), in your bpanel's config.js
file or with an environment variable
(BPANEL_FAUCET_ID=primary
). Read more about bPanel's configurations
here.
The rate limiter uses the express-rate-limit middleware
for Express. To customize the limiter, you can change the options in the apiLimiter
handler in
/server/handlers.js
.
FAQs
A plugin for adding a faucet interface for your bPanel instance, includes rate limiting for the API requests
The npm package @bpanel/faucet receives a total of 1 weekly downloads. As such, @bpanel/faucet popularity was classified as not popular.
We found that @bpanel/faucet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.