Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 28 Nov 22:00
· 334 commits to main since this release

Fixes for the gaps the 0.2.0 precision audit left open.

Fixed

  • ci/secret-echo follows ( ) and { } groups and $( ) and backtick substitutions to the redirection or pipe after them: (echo "$PASSPHRASE"; echo) | gpg --command-fd 0 is no longer reported, and a secret printed after a substitution (echo $(date) "$TOKEN") now is.
  • groovy/jenkins-shell-interpolation follows an untrusted value through local variables (def t = params.TARGET, up to four assignments) to the shell step that interpolates it.
  • agent/suppression-added reports the operator forms of diagnostic pragmas in C, C++ and Objective-C: _Pragma("GCC diagnostic ignored \"-Wformat\"") and MSVC __pragma(warning(disable: 4996)).
  • A Kotlin backtick name holding quotes (fun `it's fine`()) no longer makes the file partial.
  • config/duplicate-json-key is about four times faster on large JSON files (1.0 s instead of 4.4 s on the 29 MiB worst case), with the same findings.
  • Rule regexes no longer hold two unbounded repeats that can split one run of characters (\s*&?\s*), which backtrack quadratically on long blank runs; 16 patterns in the agent, rust and security packs were rewritten to linear forms with the same matches, and a test rejects new ones.