Repository navigation
v0.2.0
Support for the popular programming languages.
Added
- Support for C, C++, Objective-C, C#, Scala, Groovy (including Gradle scripts and Jenkins pipelines), Swift, Dart, PHP, Ruby, Perl, Lua, R, Elixir, PowerShell and Terraform/HCL: file detection, string and comment lexers and statement splitting, audited on 1.6 GB of real code from 50 open-source projects (
docs/precision.md). - 14 language packs with 62 new rules (225 rules in 29 packs):
java,kotlin,csharp,cpp(C, C++ and Objective-C),php,ruby,swift,scala,perl,elixir,groovy(Jenkins shell and credential interpolation),powershell,terraformandk8s(Kubernetes manifests). - The
securitypack covers the new languages (injection, eval, deserialization, TLS verification, weak crypto, XSS, CSRF, cookies, CORS, debug mode and path traversal) and addssecurity/xml-external-entities. - The
tests,hygieneandagentpacks know the new languages' test frameworks, linters and suppression comments, and thedepspack reads Maven, Gradle, NuGet, Composer, Bundler, SwiftPM, CocoaPods, pub, Mix, CPAN, R, LuaRocks and Terraform manifests and lockfiles.
Fixed
- Helm chart templates no longer make a review
incomplete: a YAML file undertemplates/that holds Go template actions is reviewed as text, and its coverage reasonyaml templateis benign. Workflows and agent configuration never qualify. security/permissive-corsreports Spring'sallowedOrigins("*")withallowCredentials(true)at the end of a statement.agent/confusable-identifierno longer reports one-letter names such asαnext toa.agent/gitattributes-changedtreats certificate stores, BSON and Netpbm files as binary assets.config/invalid-jsonreadsappsettings*.json,bundleconfig.jsonand.markdownlint.jsonas JSON with comments.ci/secret-echoreports a secret piped through encoders only when the last command's output reaches the log.secrets/url-credentialsreports a URL password inside a documentation comment as a warning, not an error.- A file such as
dockerfile.pmkeeps its own language instead of being read as a Dockerfile.