
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
sphinx-bridge
Advanced tools
library for applications embedded within Sphinx apps
npm install --save sphinx-bridge
import * as sphinx from 'sphinx-bridge'
or
<script src="https://unpkg.com/sphinx-bridge@0.2.4/sphinx/sphinx.min.js"></script>
All functions return a Promise, that resolves when the action has been completed in the Sphinx App
sphinx.enable(): Enable the sphinx library. This function will postMessage to the Sphinx app, requesting authorization, a budget to spend, and the user's pubkey (hex encoded)sphinx.keysend(pubkey, amount): Initiate a keysend (pubkey is hex encoded)sphinx.sendPayment(paymentRequest): Pay a Lightning invoicesphinx.makeInvoice(amount, memo): Create a Lightning invoicesphinx.signMessage(message): Request that the Sphinx app signs a message with Lightning private keysphinx.verifyMessage(signature, message): Verify a signed messagesphinx.topup(): Show the authorization modal again, so the user can top up their budget for the appsphinx.authorize(challenge, noBudget): Request the Sphinx app to sign a challenge with their Lightning private key. "noBudget" boolean set to true will prevent the app from showing the budget input.sphinx.updated(): Utility function to let Sphinx app know that something has happened out of band (like a payment has been received), so satoshi balance should be refreshed in app.FAQs
Embed apps within Sphinx
The npm package sphinx-bridge receives a total of 77 weekly downloads. As such, sphinx-bridge popularity was classified as not popular.
We found that sphinx-bridge demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.