
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
github.com/ivanvc/bubble-marquee
A simple BubbleTea bubble component to generate marquees.
First, initialize a new marquee, then set the text to display, and optionally the width. If width is not defined, it's assumed from the text's length.
func NewMyModel() MyModel {
m := marquee.New()
m.SetText("Hello World")
m.SetWidth(100) // optional
return MyModel{marquee: m}
}
It supports two scrolling directions, left and right.
m.ScrollDirection = marquee.Right
You can also specify the scrolling speed (defaults to 250ms).
m.ScrollSpeed = 50 * time.Millisecond
Then, call scroll in your Init()
.
func(m MyModel) Init() tea.Cmd {
return m.marquee.Scroll
}
That's it. Check the documentation and the example directory for more detailed usage.
See LICENSE.
FAQs
Unknown package
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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.