
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
github.com/prettyirrelevant/ytmusicapi
An unofficial YTMusic client to retrieve data from the YouTube Music API. This is achieved by emulating the web client using the user's request headers for authentication.
Playlist actions
Search(might not return needed information for results that aren't songs)
more coming...
This project was inspired by sigma67/ytmusicapi.
go get -d github.com/prettyirrelevant/ytmusicapi
go install github.com/prettyirrelevant/ytmusicapi
ytmusicapi setup
and ensure that the ytmusic_headers.txt is present in the same directory where the command is run.export YTMUSIC_HEADERS_JSON=<lorem ipsum dolor>
package main
import (
"fmt"
"github.com/prettyirrelevant/ytmusicapi"
)
func main() {
// this should be called once throughout.
ytmusicapi.Setup()
// retrieve a playlist
playlist, err := ytmusicapi.GetPlaylist("playlistID")
if err != nil {
fmt.Println("An error occured: ", err.Error())
}
fmt.Printf("Playlist: %+v", playlist)
}
You feel something is missing or discovered a bug? Kindly open a pull request or an issue respectively.
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.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.