Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/hankpeeples/sitemapbuilder
This program builds a sitemap of the website you give it. It visits the root page and makes a list of every link found on that page that points to a page on the same domain. Once the list of links is created, it visits each of them and adds any new links it finds to the list. This step repeats over and over therefore visiting every page on that domain that can be reached from the root page. (Given that the -depth=<num>
flag allows the program to go deep enough to see all pages).
go run main.go <optional flags> > map.xml
. The > map.xml
will send the program output to a new file named map.xml
. If this is not included, the xml format will be printed in the terminal window.-url=<your domain of choice>
The default is https://pkg.go.dev
.-depth=<num>
The default is 1.Note: Giving a depth of 2+ can cause a long run time depending on the domain you choose. Using the default domain and a depth of 2 produced a total run time of about 3 minutes (791 links were visited during this time).
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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.