Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

website-checks

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

website-checks

checks websites with multiple services

  • 1.19.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-72.73%
Maintainers
1
Weekly downloads
 
Created
Source

website-checks

Build Status

This project is looking for a new maintainer. See https://github.com/website-checks/website-checks/issues/71 for details.

website-checks checks websites with multiple services and generates PDF files of the reports.

These are currently:

  • Check Your Website
  • crt.sh
  • CryptCheck
  • HSTS Preload List
  • HTTP Observatory
  • Lighthouse
  • PageSpeed Insights
  • Security Headers
  • SSL Decoder
  • SSLLabs
  • webbkoll
  • webhint
  • Yellow Lab Tools

Installation

Node setup

Add the following lines to your ~/.npmrc file:

//npm.pkg.github.com/:_authToken=<github-access-token>
@website-checks:registry=https://npm.pkg.github.com

You have to generate an access token for reading packages. To generate a new one go to https://github.com/settings/tokens/new.

Then install the package:

yarn global add @website-checks/website-checks
# or
npm i -g @website-checks/website-checks

Alternatively you can use the following:

yarn global add website-checks/website-checks
# or
npm i -g website-checks/website-checks

Only the current master and LTS releases of NodeJS are tested.
NodeJS >=10.12.0 is recommended.

Docker setup

In docker-compose.yml, modify the TARGET_URL variable to change the website.

Then run:

docker-compose up

Only Docker Engine versions 18.06.0+ are supported since the Docker Compose file version is 3.7.

Usage

website-checks example.com

Change output directory

website-checks example.com --output pdf would save all PDF files to the local pdf directory.

CLI flags

By default all checks (except --ssldecoder) will run. If you want to run only specific checks you can add CLI flags.

Currently the following CLI flags will run the matching checks:

--check-your-website
--crtsh
--cryptcheck
--hstspreload
--httpobservatory
--lighthouse
--psi
--securityheaders
--ssldecoder
--ssldecoder-fast
--ssllabs
--webbkoll
--webhint
--yellowlab

For example website-checks example.com --lighthouse --securityheaders will run the Lighthouse and Security Headers checks.

Known issues

missing Chrome / Chromium dependency for Windows binary (.exe)

On Windows it may happen that the bundled binary throws the following error:

UnhandledPromiseRejectionWarning: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install" at Launcher.launch

This is a known issue with all solutions like pkg and nexe and expected as Chromium is not bundled with the binary which would make it much bigger.

In most cases it should be solved by globally installing puppeteer or by having Chrome or Chromium installed and in PATH.

Keywords

FAQs

Package last updated on 03 Aug 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc