Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
A simple command-line Sitemap generator tool. Useful for quickly auditing a website.
Distributed as a Ruby Gem [https://rubygems.org/gems/sitemap-generator], it is not intended to be a Search Engine sitemap or integrated CMS/Rails/etc. - there are plenty of other gems that do that well.
gem install sitemap-generator
The following command will generate a basic sitemap, listing all links recursively from the site, containing only URIs from the specified domain name (in this case, onegeek.com.au) and will save to a file named sitemap.csv
sitemap generate http://www.onegeek.com.au/ sitemap.csv
This command deliberately doesn't write to file in order to allow unix-style pipelining
sitemap generate --format=json http://www.onegeek.com.au/
sitemap generate --depth=3 http://www.onegeek.com.au/ sitemap.csv
sitemap generate --no-recursion http://www.onegeek.com.au/ sitemap.csv
By default, URI fragments like foo.com/#!/some-page
and query strings like foo.com/?bar=baz
are ignored - they are generally duplicitous so sitemap-generator strips them off entirely. This lets them back in:
sitemap generate --query-strings --fragments http://www.onegeek.com.au/ sitemap.csv
sitemap
sitemap generate --help
So of course, after spending a few hours writing this I forgot that wget can do this for you, well basically anyway:
wget -r --delete-after <todo>
FAQs
Unknown package
We found that sitemap-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.