ci(dependabot): dodaj cooldown 3d/7d dla wszystkich ekosystemów#175
Merged
Conversation
Praktyka #2 z lirantal/pypi-security-best-practices (Install with Cooldown). Dependabot do tej pory otwieral PR-y natychmiast po publikacji nowej wersji. W praktyce kazdy compromise typu supply-chain trafial do nas w pierwszych godzinach zycia zlosliwego pakietu - zanim community / PyPI quarantine zdolaly zareagowac (LiteLLM: 2.5h, 119k pobran zanim Trigger PyPI quarantine). Po tej zmianie: - 3 dni cooldown dla minor/patch (default) - 7 dni cooldown dla major (wieksze ryzyko regression + wiecej oczu) - security/CVE updates automatically bypass cooldown (Dependabot built-in) Wszystkie 3 ekosystemy: uv (Python), github-actions, docker base images.
This was referenced Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Podsumowanie
PR 3/12 z serii pypi-security-best-practices — praktyka #2: Install with Cooldown.
Co się zmienia
.github/dependabot.yml— dodajecooldown:block dla wszystkich trzechekosystemów (Python/uv, GitHub Actions, Docker). Default 3 dni, major 7 dni.
Dlaczego
Dependabot do tej pory otwierał PR-y natychmiast po publikacji nowej wersji.
W praktyce każdy compromise typu supply-chain trafiał do nas w pierwszych
godzinach życia złośliwego pakietu — zanim community / PyPI quarantine
zdołały zareagować.
Konkretny przykład z dokumentu źródłowego: atak LiteLLM trwał 2.5h, 119k
pobrań złośliwego pakietu zanim PyPI go zaquaranteinowało. Z 3-dniowym
cooldownem ten attack window jest praktycznie zamknięty.
Aktualizacje security (CVE) automatycznie omijają cooldown — Dependabot
ma to wbudowane, więc patche bezpieczeństwa nadal trafiają do nas
natychmiast.
Plan testowy
respektujące cooldown.
🤖 Generated with Claude Code