
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/starshine-sys/report-button
(not actually a button, it's an application command)
Set up an .env
file with the following keys:
TOKEN
and PUBLIC_KEY
: your bot's token and public key from DiscordGUILD_ID
: the guild ID to respond to commands from, and to write commands to.CHANNEL_ID
: the channel ID to send reports to.Also set PORT
if you don't want to use the default (3100)
You should also change some of the messages in consts.go
(especially reportError
)
Then build the application (use build.sh
to build without cgo) and run it with the -sync
flag. This will sync the commands to Discord and immediately exit.
Then rerun the executable with no arguments to run the report button!
I don't care what you do with this, so it's licensed under the Unlicense :]
Check LICENSE in the repository's root for the full text!
FAQs
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.