Lift leverages a broad range of analyzers that can be tailored to your code-base. Below is a list of the analyzers we’ve incorporated and made available within the Lift platform.
If you're looking for details on vulnerability scanning, see Open Source Vulnerability Analysis instead.
Want us to add your favorite open-source analysis tool to Lift? Visit our community and let us know what other tools you would like to use via Lift.
If you need to add a new tool right away, use our API to add your tool and Lift will automatically include it in every analysis run.
Languages: Java, C, C++
Error Patterns: https://fbinfer.com/docs/all-issue-types
Infer was developed at Facebook and uses advanced compositional analysis techniques to provide deep insight into code behavior while keeping analysis times low. Infer checks Java for null pointer exceptions, resource leaks, performance issues, command injection and other information flow vulnerabilities, annotation consistency, and concurrency errors such as race conditions and deadlocks. Infer checks C/C++/ObjectiveC code for null pointer dereferences, memory leaks, coding convention violations, and API misuse errors.
Error Patterns: https://errorprone.info/bugpatterns
Developed by Google, this Java bug detection tool looks for language-specific error patterns and API mis-use errors. It is implemented as a compiler extension, and so has access to type information, class hierarchies, and dependency data. This gives it deeper insight into the code than most linters and allows it to detect more bugs while maintaining a low false positive rate. ErrorProne can also be extended with custom rules.
Error Patterns: https://find-sec-bugs.github.io/bugs.htm
This tool provides static analysis for security audits of Java web applications and Android applications targeting many of the OWASP Top Ten.
Languages: Java, C, C++
Error Patterns: https://fbinfer.com/docs/checker-quandary#list-of-issue-types
Quandary is an extension of Infer that detects flows of values between sources and sinks that don’t pass through a “sanitizer”. It has a small list of built-in sources and sinks, but also provides a means for defining custom sources and sinks via an
.inferconfig file included in the same directory as the build files (see an example here). Quandary can be used to detect cross-site scripting, shell/sql injection, untrusted data use, and logging of private data.
Error Patterns: https://eslint.org/docs/rules
Lightweight static analysis for many languages. Find and block bug variants with rules that look like source code.
Staticcheck is a state of the art linter for the Go programming language that finds bugs and performance issues, offers simplifications, and enforces style rules.
Our golangci-lint configuration aggregates and runs 9 Golang linters to catch a broad range of common Go errors.
Error Patterns: https://pyre-check.org/docs/error-types.html
Pyre is a fast, scalable type checker for large Python 3 codebases, designed to help improve code quality and development speed by flagging type errors, following the typing standards introduced in PEP484 and PEP526. Pyre also includes the Pysa information flow analysis tool which can be configured to detect and warn on flows between functions labeled as sources and sinks.
Bandit is a security linter from PyCQA designed to find common security issues in Python code. To do this Bandit processes each file, builds an AST from it, and runs appropriate plugins against the AST nodes.
RuboCop is a Ruby code style checker (linter) and formatter based on the community-driven Ruby Style Guide.
Security Code Scan
Languages: C# and VB.NET
Error Patterns: https://security-code-scan.github.io/#rules
Security Code Scan is a static code analyzer for .NET, detecting vulnerabilities in C# and VB.NET, such as SQL injections, Cross-Site Scripting, and more.
Detekt a static code analysis tool for the Kotlin programming language. It operates on the abstract syntax tree provided by the Kotlin compiler.
Languages: Bash, Shell
Error Patterns: https://github.com/koalaman/shellcheck/wiki/Checks
ShellCheck is a code analyzer for your shell scripts.
Cobra is a structural source code analyzer. Fast and easy to configure, Cobra is an ideal choice for enforcing API rules without needing compilation.
Clippy is a Rust linting tool with hundreds of lints to surface a broad range of issues in Rust code.
HLint is a tool for analysing Haskell projects and outputting discovered short-comings in a helpful way with possible solutions for detected problems. HLint is searching for not only performance or error-prone code pieces, but it also can help with establishing and applying best-practices from the whole Haskell ecosystem.
Error Patterns: https://psalm.dev/docs/running_psalm/issues/
Psalm is a static analysis tool for finding errors in PHP applications, including not just stylistic issues, but can also perform taint analysis to catch command injection vulnerabilities. Psalm also suggests fixes to many common issues it surfaces.
Error Patterns: https://codenarc.org/codenarc-rule-index.html
CodeNarc analyzes Groovy code for defects, bad practices, inconsistencies, style issues and more. A flexible framework for rules, rulesets and custom rules means it’s easy to configure CodeNarc to fit into your project.
Error Patterns: https://luacheck.readthedocs.io/en/stable/warnings.html
Luacheck is a static analyzer and a linter that detects various issues such as usage of undefined global variables, unused variables and values, accessing uninitialized variables and unreachable code.
Markdownlint - MDL (Disabled by Default)
MDL is a tool to check markdown files and flag style issues.
PMD (Disabled by Default)
Error Patterns: https://pmd.github.io/pmd-6.23.0/pmd_rules_java.html
The tool finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth.
PMD is not enabled by default. To add it, copy this line into your Lift configuration file:
customTools = [ " rulesets/java/quickstart.xml" ]
Click here to learn how to create a Lift configuration file.
Checkov (Disabled by Default)
Languages: Infrastructure Code (Terraform, Cloudformation, K8S)
Checkov is a static code analysis tool for infrastructure-as-code. It scans cloud infrastructure managed in Terraform, Cloudformation, Kubernetes, Arm templates or Serverless Framework and detects misconfigurations.