Why it matters
Bot dependencies include HTTP stacks and crypto libs — patch CVEs promptly, but pin versions and run signature/webhook tests after upgrades.
Practical steps
- Pin versions (lockfile) and review diffs on upgrades.
- Run webhook signature and golden fixture tests in CI on every bump.
- Separate runtime deps from dev deps clearly.
- Subscribe to security advisories for your language ecosystem.
- Keep a rollback image tag for the previous known-good build.
Watch out for
- Blind npm/pip latest in production.
- Upgrading OpenSSL/runtime without rebuilding native addons.