Skip to content

denandz/statica

 
 

Repository files navigation

Statica

Statica is a code quality and security scanning tool (for macOS and Linux). Statica can show output on CLI or generate an HTML report.

Statica is intended for situations where you can't compile the code, like:

  • if you're looking at .NET Framework apps and you have a Mac
  • if there are binary dependencies you can't access
  • if the code doesn't compile

Prerequisites

Ensure the following tools are installed and available in your PATH:

brew install semgrep \
    dependency-check \
    trivy \
    sarif \
    lizard-analyzer \
    checkov \
    pmd

You'll also want Ruby 3.0.0 or later installed to do the HTML.

Usage

./statica <path to app source> [html]
  • : The directory containing the source code to be scanned.
  • [html]: Optional argument. If provided, an HTML report will be generated.

License

This project is licensed under the MIT License.

Future tools

I'm thinking of adding:

  • shellcheck
  • action-lint

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 61.2%
  • Shell 21.5%
  • HTML 16.3%
  • Makefile 1.0%