Code scanning findings #1

closed gitbay-bot opened this on 2026-11-01 04:19 UTC

Discussion

gitbay-bot 2026-11-01 04:19 UTC

The scheduled code scan of main reported these findings. This issue is kept up to date as that changes, and closed once none are open.

Opengrep OSS

  • applications/aws/aws_password_policy/evaluate_policy.py:129 opt.opengrep-rules.python.lang.security.use-defusedcsv (warning): Detected the generation of a CSV file using the built-in csv module. If user data is used to generate the data in this file, it is possible that an attacker could inject a formula when the CSV is im… 2704ed75e9
  • os/linux/report/linux.sh:41 opt.opengrep-rules.bash.lang.correctness.unquoted-variable-expansion-in-command (warning): Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split… 252d2cf96b
  • tui/platforms.py:100 opt.opengrep-rules.python.lang.maintainability.return-not-in-function (warning): return only makes sense inside a function af47b881b5
  • tui/platforms.py:123 opt.opengrep-rules.python.lang.maintainability.return-not-in-function (warning): return only makes sense inside a function 791fe8fd44
  • tui/platforms.py:157 opt.opengrep-rules.python.lang.maintainability.return-not-in-function (warning): return only makes sense inside a function ae7365cfdf

Not listed: 1 from rules for libraries it does not use (requests 1). repo security status audit-labs/audit-tools shows them.

To dismiss one: repo security dismiss audit-labs/audit-tools <fingerprint> --reason false-positive|wont-fix|test.

referenced in commit 2c42e8adb4 by cmc: Redact AWS account ID in README samples; quote shell expansions

2026-11-01 05:47 UTC