Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 20:18
· 352 commits to main since this release

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, terraform and k8s (Kubernetes manifests).
  • The security pack covers the new languages (injection, eval, deserialization, TLS verification, weak crypto, XSS, CSRF, cookies, CORS, debug mode and path traversal) and adds security/xml-external-entities.
  • The tests, hygiene and agent packs know the new languages' test frameworks, linters and suppression comments, and the deps pack 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 under templates/ that holds Go template actions is reviewed as text, and its coverage reason yaml template is benign. Workflows and agent configuration never qualify.
  • security/permissive-cors reports Spring's allowedOrigins("*") with allowCredentials(true) at the end of a statement.
  • agent/confusable-identifier no longer reports one-letter names such as α next to a.
  • agent/gitattributes-changed treats certificate stores, BSON and Netpbm files as binary assets.
  • config/invalid-json reads appsettings*.json, bundleconfig.json and .markdownlint.json as JSON with comments.
  • ci/secret-echo reports a secret piped through encoders only when the last command's output reaches the log.
  • secrets/url-credentials reports a URL password inside a documentation comment as a warning, not an error.
  • A file such as dockerfile.pm keeps its own language instead of being read as a Dockerfile.