Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
github.com/Shinyhero36/toast
A go package for Windows 10 toast notifications.
go get -t github.com/Shinyhero36/toast
package main
import (
"fmt"
"github.com/Shinyhero36/toast"
)
func main() {
notif := toast.Notification{
AppID: "Example App",
Title: "A Toast !!",
Message: "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
}
if err := notif.Push(); err != nil {
fmt.Println(err)
}
}
More examples are available in examples.
As well as using go-toast within your Go projects, you can download utilise the CLI here.
pwd=$(pwd)
./toast.exe \
--app-id "Example App" \
--title "Hello World" \
--message "Lorem ipsum dolor sit amet, consectetur adipiscing elit." \
--icon "${pwd}\icon.png" \
--audio "default" --loop \
--duration "long" \
--activation-arg "https://google.com" \
--action "Open maps" --action-arg "bingmaps:?q=sushi" \
--action "Open browser" --action-arg "http://github.com/Shinyhero36/go-toast/"
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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.