Code scanning findings #2

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

Discussion

gitbay-bot 2026-11-01 04:06 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

  • build.py:42 opt.opengrep-rules.python.lang.security.audit.dangerous-subprocess-use-audit (warning): Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is … a6c794299e
  • build.py:244 opt.opengrep-rules.python.lang.security.audit.dangerous-subprocess-use-audit (warning): Detected subprocess function 'run' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is … a4ea3d5ac3
  • content/blog/2020-08-29-php-auth-flow.org:73 opt.opengrep-rules.generic.secrets.gitleaks.hashicorp-tf-password (warning): A gitleaks hashicorp-tf-password was detected which attempts to identify hard-coded credentials. It is not recommended to store credentials in source-code, as this risks secrets being leaked and used … fd9950faee
  • content/blog/2022-12-07-nginx-wildcard-redirect.org:52 opt.opengrep-rules.generic.nginx.security.request-host-used (warning): 'httphost′and′host' variables may contain a malicious value from attacker controlled 'Host' request header. Use an explicitly configured host value or a allow list for validation. 74e413105c
  • content/blog/2022-12-07-nginx-wildcard-redirect.org:53 opt.opengrep-rules.generic.nginx.security.request-host-used (warning): 'httphost′and′host' variables may contain a malicious value from attacker controlled 'Host' request header. Use an explicitly configured host value or a allow list for validation. 1c66175737
  • content/blog/2022-12-07-nginx-wildcard-redirect.org:56 opt.opengrep-rules.generic.nginx.security.request-host-used (warning): 'httphost′and′host' variables may contain a malicious value from attacker controlled 'Host' request header. Use an explicitly configured host value or a allow list for validation. 28eb0fa397
  • content/blog/2022-12-07-nginx-wildcard-redirect.org:57 opt.opengrep-rules.generic.nginx.security.request-host-used (warning): 'httphost′and′host' variables may contain a malicious value from attacker controlled 'Host' request header. Use an explicitly configured host value or a allow list for validation. 186002afa2
  • content/templates/base.html:42 opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var (warning): Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{ ex… 16bbc48db1
  • content/templates/base.html:44 opt.opengrep-rules.generic.html-templates.security.unquoted-attribute-var (warning): Detected a unquoted template variable as an attribute. If unquoted, a malicious actor could inject custom JavaScript handlers. To fix this, add quotes around the template expression, like this: "{{ ex… d44f033404
  • content/templates/base.html:65 opt.opengrep-rules.generic.html-templates.security.var-in-href (warning): Detected a template variable used in an anchor tag with the 'href' attribute. This allows a malicious actor to input the 'javascript:' URI and is subject to cross- site scripting (XSS) attacks. If usi… 90f99e92ac
  • content/templates/blog.html:21 opt.opengrep-rules.generic.html-templates.security.var-in-href (warning): Detected a template variable used in an anchor tag with the 'href' attribute. This allows a malicious actor to input the 'javascript:' URI and is subject to cross- site scripting (XSS) attacks. If usi… 5cb1b44808
  • content/templates/blog.html:29 opt.opengrep-rules.generic.html-templates.security.var-in-href (warning): Detected a template variable used in an anchor tag with the 'href' attribute. This allows a malicious actor to input the 'javascript:' URI and is subject to cross- site scripting (XSS) attacks. If usi… 3b42373977
  • content/templates/detour.html:33 opt.opengrep-rules.generic.html-templates.security.var-in-href (warning): Detected a template variable used in an anchor tag with the 'href' attribute. This allows a malicious actor to input the 'javascript:' URI and is subject to cross- site scripting (XSS) attacks. If usi… 64fb176ac7
  • content/templates/garden.html:23 opt.opengrep-rules.generic.html-templates.security.var-in-href (warning): Detected a template variable used in an anchor tag with the 'href' attribute. This allows a malicious actor to input the 'javascript:' URI and is subject to cross- site scripting (XSS) attacks. If usi… 90faa79084
  • content/templates/home.html:26 opt.opengrep-rules.generic.html-templates.security.var-in-href (warning): Detected a template variable used in an anchor tag with the 'href' attribute. This allows a malicious actor to input the 'javascript:' URI and is subject to cross- site scripting (XSS) attacks. If usi… d821587408
  • content/templates/list.html:9 opt.opengrep-rules.generic.html-templates.security.var-in-href (warning): Detected a template variable used in an anchor tag with the 'href' attribute. This allows a malicious actor to input the 'javascript:' URI and is subject to cross- site scripting (XSS) attacks. If usi… 7452349ea6
  • content/templates/tags.html:14 opt.opengrep-rules.generic.html-templates.security.var-in-href (warning): Detected a template variable used in an anchor tag with the 'href' attribute. This allows a malicious actor to input the 'javascript:' URI and is subject to cross- site scripting (XSS) attacks. If usi… c9073dcbe2

Not listed: 2 from rules for libraries it does not use (flask 2). repo security status cmc/cleberg.net shows them.

To dismiss one: repo security dismiss cmc/cleberg.net <fingerprint> --reason false-positive|wont-fix|test.

referenced in commit d12061a202 by cmc: Redact AWS account ID in password audit post

2026-11-01 05:47 UTC