Skip to content

fix: this dependabot configuration does not set a co... in...#8565

Closed
anupamme wants to merge 1 commit into
google:masterfrom
anupamme:fix-repo-guava-fix-dependabot-missing-cooldown
Closed

fix: this dependabot configuration does not set a co... in...#8565
anupamme wants to merge 1 commit into
google:masterfrom
anupamme:fix-repo-guava-fix-dependabot-missing-cooldown

Conversation

@anupamme

@anupamme anupamme commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

[cpovirk: The PR description is overstated, but this is a good change.]

Summary

Address high severity security finding in .github/dependabot.yml.

Vulnerability

Field Value
ID package_managers.dependabot.dependabot-missing-cooldown.dependabot-missing-cooldown
Severity HIGH
Scanner semgrep
Rule package_managers.dependabot.dependabot-missing-cooldown.dependabot-missing-cooldown
File .github/dependabot.yml:23
Assessment Pattern match — needs manual review

Description: This Dependabot configuration does not set a cooldown period. Newly published packages can be malicious or unstable. Add a cooldown block with default-days: 7 to each package-ecosystem entry under updates to wait 7 days before proposing updates to newly published package versions. Reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#cooldown

Evidence

Scanner confirmation: semgrep rule package_managers.dependabot.dependabot-missing-cooldown.dependabot-missing-cooldown matched this pattern as package_managers.dependabot.dependabot-missing-cooldown.dependabot-missing-cooldown.

Production code: This file is in the production codebase, not test-only code.

Threat Model Context

This is a Java service - vulnerabilities in servlets/controllers are remotely exploitable.

Changes

  • .github/dependabot.yml

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

…ot-missing-cooldown security vulnerability

Automated security fix generated by OrbisAI Security
@cpovirk cpovirk self-assigned this Jul 21, 2026
@cpovirk cpovirk added the P2 label Jul 21, 2026
copybara-service Bot pushed a commit to google/guava-beta-checker that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
copybara-service Bot pushed a commit to google/compile-testing that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
copybara-service Bot pushed a commit to google/jimfs that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
copybara-service Bot pushed a commit to google/escapevelocity that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
copybara-service Bot pushed a commit to google/caliper that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
copybara-service Bot pushed a commit to google/truth that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
copybara-service Bot pushed a commit to google/auto that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
copybara-service Bot pushed a commit to google/guava-beta-checker that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
copybara-service Bot pushed a commit to google/bazel-common that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
copybara-service Bot pushed a commit to google/truth that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
copybara-service Bot pushed a commit to google/compile-testing that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
copybara-service Bot pushed a commit to google/jimfs that referenced this pull request Jul 24, 2026
Compare cl/951598053 / google/guava#8567, inspired by google/guava#8565.

RELNOTES=n/a
PiperOrigin-RevId: 953394403
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants