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.
Add a crawler CLI to crawl your middleman site.
Add this line to your application's Gemfile:
gem 'middleman-crawler'
And then execute:
$ bundle
Or install it yourself as:
$ gem install middleman-crawler
First you need to activate the module in your config.rb
.
activate :crawler
After you must declare in your environments/*.rb
this config var:
config[:base_url] = "http://someurl.here"
This extension use Rawler Gem and implements the same interface with one more option environment
.
In CLI you can write middleman crawler http://example.com [options]
where [options] are:
--environment, -e <s>: The Middleman Enviroment
--username, -u <s>: HTTP Basic Username
--password, -p <s>: HTTP Basic Password
--wait, -w <f>: Seconds to wait between requests, may be fractional e.g. '1.5' (default: 3.0)
--log, -l: Log results to file rawler_log.txt
--logfile, -o <s>: Specify logfile, implies --log (default: rawler_log.txt)
--css, -c: Check CSS links
--skip, -s <s>: Skip URLs that match a regexp
--iskip, -i <s>: Skip URLs that match a case insensitive regexp
--include <s>: Only include URLs that match a regexp
--iinclude <s>: Only include URLs that match a case insensitive regexp
--local <s>: Restrict to the given URL and below. Equivalent to '--include ^http://mysite.com/*'.
--ignore_fragments: Strips any fragment from parsed links
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that middleman-crawler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.