Security maintenance after launch
Once an application is live, new vulnerabilities are published in packages it already has installed, its certificates reach their end date, and keys, accounts and SSH keys pile up. Security maintenance after launch is the recurring work that holds the application where the checklist before launch left it.
1. Have Dependabot open update pull requests
Dependabot is GitHub's tool for dependency updates. A file named dependabot.yml in the .github folder lists each package manager and how often to check; once it is committed, Dependabot compares the manifests on the default branch with the registry and opens a pull request for each outdated package.1 Weekly suits Docker images and GitHub Actions; a project still catching up on old versions can check daily at first, then drop to weekly.1
# .github/dependabot.yml
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"Security updates are a separate switch. With Dependabot alerts and security updates turned on, each alert for a vulnerable package leads to a pull request that raises it to the lowest version containing the fix, and merging that pull request closes the alert. They apply only to packages named in a manifest or lockfile.2 See Vulnerable dependencies and Software composition analysis.
2. Fix known exploited vulnerabilities first
An alert carries a CVE identifier and usually a CVSS severity score. CISA's Known Exploited Vulnerabilities catalog catalog lists the subset with reliable evidence of exploitation in the wild, and adds an entry only when the flaw has a CVE ID and a clear fix, such as a vendor update.3 US federal civilian agencies must fix listed flaws within set deadlines under Binding Operational Directive 26-04 of 10 June 2026; CISA recommends that every other organization monitor the catalog and fix its entries first. A listed product past its end of life, with no update to install, should be removed.3
3. Install server updates daily
On a self-managed Ubuntu server, the unattended-upgrades package installs security updates automatically and is present by default. Two settings control it; the value is a number of days, so 1 means daily and 0 turns it off:4
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";Some updates take effect only after a reboot. The tool records the need in /var/run/reboot-required but by default does not restart the server; Unattended-Upgrade::Automatic-Reboot "true" lets it, and Automatic-Reboot-Time "04:00" moves the restart to a quiet hour.4 A package repository added by hand is not included in automatic updates.4 For the rest of the server setup, see Securing a Docker application on a self-managed server.
4. Monitor certificate renewal
Let's Encrypt issues 90-day certificates today. Its default profile moves to 64 days on 10 February 2027 and to 45 days on 16 February 2028, following the CA/Browser Forum Baseline Requirements.5 A renewal job fixed at 60 days will then renew too late. A client should renew about two thirds of the way through a certificate's life, or follow ACME Renewal Information, with no renewal by hand, and an alert should fire when a certificate is not renewed on time.5
5. Read the sign-in logs
An application should always log sign-in successes and failures, Authorization failures and session failures.6 Failed sign-ins are an early sign of Brute-force attack and Credential stuffing: repeated failures on one account, failures for one account from many addresses, or a sudden burst of attempts. Someone has to review the logs and act on alerts and reports from them. Logging every event without a purpose buries real problems in "alarm fog".6
6. Review keys, tokens and accounts
The SSH keys, deploy keys and authorized applications on a GitHub account need a regular audit. The keys are listed under Settings > SSH and GPG keys; a key that is not recognised or no longer used is removed with Delete.7 The same review applies to API tokens at each provider, to administrator accounts in the application, and to the authorized_keys file on the server: see Orphaned access tokens and OAuth grants, Rogue administrator account and SSH authorized key persistence. Rotation of long-lived secrets is best automated, since rotation by hand invites mistakes. Restarting an application does not revoke a stolen credential.8
7. Renew the security.txt expiry date
A security.txt file must carry exactly one Expires field, and RFC 9116 recommends a date less than a year ahead. After that date the file counts as stale and researchers should not rely on it.9
Schedule
| Interval | Task |
|---|---|
| Daily, automatic | Server security updates; Dependabot security pull requests opened as alerts arrive; certificate renewal job |
| Weekly | Merge Dependabot pull requests after the tests pass; check new alerts against the KEV catalog; read sign-in failures |
| Monthly | Review SSH keys, API tokens, OAuth grants and admin accounts; test a restore (see Backup and restore) |
| Yearly | Move the Expires date in security.txt; check the operating system's end-of-support date |
Notable incident
In July 2017, administrators at Equifax, a consumer reporting agency, found that attackers had entered its online dispute portal from the internet; the personal data of at least 145.5 million people was accessed. Equifax's own investigation named identification and detection among four factors that let the attack succeed.10 The FTC's complaint attributed the exposure, which it put at 147 million consumers, to a known vulnerability that had not been patched. Equifax agreed to pay $700 million to settle actions by the FTC, the Consumer Financial Protection Bureau and all fifty states, and the FTC cited the case in 2022 when it warned companies to patch the Log4j flaw CVE-2021-44228.11
Prompt for a coding agent
Set up security maintenance for this repository. Add .github/dependabot.yml with a weekly schedule for every package manager the project uses, GitHub Actions included. List any dependency with a known vulnerability, marking those in the CISA Known Exploited Vulnerabilities catalog, and propose the smallest version change that fixes each. If a security.txt file exists, report its Expires date. Report before changing anything beyond dependabot.yml.
In SecFlash
On the Cloud page, SecFlash reports Dependabot alerts turned off as SF-CLD-602, security updates turned off or paused as SF-CLD-603, Cloudflare API tokens that are old or unused as SF-CLD-314 and a Supabase project with no recent backup as SF-CLD-525. A dependency with a known vulnerability is SF-SEC-701 on the Security page, or SF-SEC-712 when the KEV catalog lists it; a certificate close to expiry is SF-SEC-205. The Server page shows a security fix waiting to install (SF-SRV-503), a pending reboot (SF-SRV-501) and a release near its end of support (SF-SRV-502), and the Detections page a newly added SSH key (SF-DET-101). A domain close to expiry shows on the Email and domain page as SF-EML-201.
See also
- Security checklist before launch
- Vulnerable dependencies
- Known Exploited Vulnerabilities catalog
- Backup and restore
- Secrets management
- Orphaned access tokens and OAuth grants
- Category: Guides
References
- a b "Configuring Dependabot version updates". GitHub Docs. GitHub.
- back "Dependabot security updates". GitHub Docs. GitHub.
- a b CISA (updated June 2026). "Reducing the Significant Risk of Known Exploited Vulnerabilities". cisa.gov.
- a b c Canonical. "Automatic updates". Ubuntu Server documentation.
- a b McPherrin, Matthew (2 December 2025). "Decreasing Certificate Lifetimes to 45 Days". Let's Encrypt.
- a b "Logging Cheat Sheet". OWASP Cheat Sheet Series.
- back "Reviewing your SSH keys". GitHub Docs. GitHub.
- back "Secrets Management Cheat Sheet". OWASP Cheat Sheet Series.
- back Foudil, E.; Shafranovich, Y. (April 2022). "RFC 9116: A File Format to Aid in Security Vulnerability Disclosure". IETF.
- back U.S. Government Accountability Office (30 August 2018). "Data Protection: Actions Taken by Equifax and Federal Agencies in Response to the 2017 Breach" (GAO-18-559). gao.gov.
- back Federal Trade Commission (4 January 2022). "FTC warns companies to remediate Log4j security vulnerability". FTC Technology Blog.
External links
- Dependabot, GitHub Docs
- Known Exploited Vulnerabilities Catalog, CISA