
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@bpanel/price
Advanced tools
This plugin runs entirely in middleware and has no views.
It listens for the following actions:
UPDATE_PRICE
UPDATE_FIAT
UPDATE_CRYPTO
UPDATE_FEED
UPDATE_AVAIL_FIATS
REFRESH_PRICE
SET_CURRENT_CLIENT
...and maintains price data in the application state like this:
state.plugins.price = {
price: "137.53000000"
fiat: "GBP"
fiatSymbol: "£"
crypto: "BCH"
feed: "Coinbase"
}
Additional APIs can be added in lib/feeds.js
, template and details are in the comments.
Price data can be displayed and modified from other plugins, such as the simple footer widget price-widget. On its own, this plugin will ONLY fetch the price on application load, and whenever STATE_REFRESHED
is dispatched. Otherwise it requires an additional plugin (like the footer widget) to dispatch REFRESH_PRICE
.
Important: This plug in currently requires the bPanel backend plugin @bpanel/curl
to be installed separately by the user:
Using bpanel-cli
$ bpanel-cli i @bpanel/curl
FAQs
Fetch BTC-fiat exchange rate and add to app store.
We found that @bpanel/price 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
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.