# Security hygiene for developers: the weekly 20 minutes

> A short weekly checklist: patch, MFA, secrets out of git, and access review without panic tabs.

Source: https://fullbytedeveloper.com/blog/developer-security-hygiene-weekly
Published here: 2026-12-03, updated 2026-12-03

Twenty quiet minutes beat a month of panic tabs. CISA's business essentials put updates, strong unique passwords, MFA, and phishing awareness at the center [1]. Pair that with a developer secrets pass. Related: [zero-day awareness without panic](/blog/zero-day-awareness-without-panic), [CI log secret leak patterns](/blog/ci-log-secret-leak-patterns), [hist-key](/blog/hist-key).

## Quick start (under a minute)

Block twenty minutes on your calendar. Run pending updates on your dev machine, confirm MFA on your git host, skim one phishing advisory, then grep active repos for obvious secret patterns [1] [2] [3].

Stop when the timer ends. Consistency beats a quarterly all-day scramble.

## Weekly loop at a glance

<figure aria-label="Weekly calendar block with four CISA pillars and a secrets lane">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 280" role="img" aria-hidden="true">
  <defs>
    <marker id="developersecurityhygiene-hyg-arr" markerWidth="8" markerHeight="8" refX="7" refY="4" orient="auto">
      <path d="M0,0 L8,4 L0,8 Z" fill="#14b8a6"/>
    </marker>
  </defs>
  <rect x="0" y="0" width="360" height="280" rx="12" fill="#0b1f3a"/>
  <rect x="15.4286" y="20.5" width="128.571" height="35" rx="4" fill="#123052" stroke="#14b8a6" stroke-width="0.964286"/>
  <text x="79.7143" y="44" text-anchor="middle" font-size="12" font-weight="600" fill="#e6edf7" font-family="system-ui,sans-serif">20 min calendar [1] [2]</text>
  <rect x="15.4286" y="59" width="56.5714" height="50" rx="4" fill="#123052" stroke="#14b8a6" stroke-width="0.771429"/>
  <text x="43.7143" y="82" text-anchor="middle" font-size="12" fill="#e6edf7" font-family="system-ui,sans-serif">phishing [1]</text>
  <text x="43.7143" y="96" text-anchor="middle" font-size="12" fill="#e6edf7" font-family="system-ui,sans-serif">skim</text>
  <rect x="15.4286" y="107" width="56.5714" height="50" rx="4" fill="#123052" stroke="#14b8a6" stroke-width="0.771429"/>
  <text x="43.7143" y="130" text-anchor="middle" font-size="12" fill="#e6edf7" font-family="system-ui,sans-serif">passwords [1]</text>
  <rect x="15.4286" y="155" width="56.5714" height="50" rx="4" fill="#123052" stroke="#14b8a6" stroke-width="0.771429"/>
  <text x="43.7143" y="178" text-anchor="middle" font-size="12" fill="#e6edf7" font-family="system-ui,sans-serif">MFA [1]</text>
  <rect x="15.4286" y="203" width="56.5714" height="50" rx="4" fill="#123052" stroke="#14b8a6" stroke-width="0.771429"/>
  <text x="43.7143" y="226" text-anchor="middle" font-size="12" fill="#e6edf7" font-family="system-ui,sans-serif">updates [2]</text>
  <rect x="128.571" y="111" width="77.1429" height="90" rx="4" fill="#123052" stroke="#14b8a6" stroke-width="1.28571"/>
  <text x="167.143" y="152" text-anchor="middle" font-size="12" font-weight="600" fill="#e6edf7" font-family="system-ui,sans-serif">weekly box</text>
  <rect x="231.429" y="59" width="113.143" height="50" rx="4" fill="#123052" stroke="#14b8a6" stroke-width="0.771429" stroke-dasharray="4 3"/>
  <text x="288" y="82" text-anchor="middle" font-size="12" fill="#e6edf7" font-family="system-ui,sans-serif">secret scan repos [3]</text>
  <rect x="231.429" y="107" width="113.143" height="50" rx="4" fill="#123052" stroke="#14b8a6" stroke-width="0.771429" stroke-dasharray="4 3"/>
  <text x="288" y="130" text-anchor="middle" font-size="12" fill="#e6edf7" font-family="system-ui,sans-serif">CI variables access</text>
  <rect x="231.429" y="155" width="113.143" height="50" rx="4" fill="#123052" stroke="#14b8a6" stroke-width="0.771429" stroke-dasharray="4 3"/>
  <text x="288" y="178" text-anchor="middle" font-size="12" fill="#e6edf7" font-family="system-ui,sans-serif">rotate deploy keys</text>
  <rect x="231.429" y="203" width="113.143" height="50" rx="4" fill="#123052" stroke="#14b8a6" stroke-width="0.771429" stroke-dasharray="4 3"/>
  <text x="288" y="226" text-anchor="middle" font-size="12" fill="#e6edf7" font-family="system-ui,sans-serif">stale bots off</text>
  <text x="288" y="256" text-anchor="middle" font-size="12" fill="#e6edf7" font-family="system-ui,sans-serif">secrets lane [3]</text>
  <line x1="72" y1="84" x2="126" y2="140" stroke="#14b8a6" stroke-width="0.771429" marker-end="url(#developersecurityhygiene-hyg-arr)"/>
  <line x1="72" y1="132" x2="126" y2="148" stroke="#14b8a6" stroke-width="0.771429" marker-end="url(#developersecurityhygiene-hyg-arr)"/>
  <line x1="72" y1="180" x2="126" y2="156" stroke="#14b8a6" stroke-width="0.771429" marker-end="url(#developersecurityhygiene-hyg-arr)"/>
  <line x1="72" y1="228" x2="126" y2="168" stroke="#14b8a6" stroke-width="0.771429" marker-end="url(#developersecurityhygiene-hyg-arr)"/>
  <line x1="205.714" y1="156" x2="228.857" y2="84" stroke="#14b8a6" stroke-width="0.771429" marker-end="url(#developersecurityhygiene-hyg-arr)"/>
  <path d="M260 192 Q 260 244 124 244" fill="none" stroke="#14b8a6" stroke-width="0.771429" stroke-dasharray="3 3" marker-end="url(#developersecurityhygiene-hyg-arr)"/>
  <text x="79.7143" y="262" text-anchor="middle" font-size="12" fill="#e6edf7" font-family="system-ui,sans-serif">same slot next week</text>
</svg>
</figure>

The figure is a habit template, not a compliance framework. Legal teams may need more; solo developers still benefit from the loop.

## Run the four CISA pillars on your own stack

CISA's four essentials: train against phishing, require strong passwords, require MFA, update software [1]. For a solo developer or small team, that becomes a calendar block, not a poster.

| Pillar (CISA) [1] | Weekly developer move |
|---|---|
| Updates | Enable auto-update where safe; check pending OS and app updates once [2] |
| Passwords | Unique long secrets in a manager; change defaults on new boxes [1] |
| MFA | Turn on MFA for email, Git hosts, cloud consoles, and admin paths [1] |
| Phishing | Skim one threat note; report weird mail without clicking embedded verify links [1] |

Preferred MFA forms CISA lists include security keys and authenticator apps (number matching or one-time codes) [1]. Pick at least one second factor on every account that can push code or touch production.

## Sample pending-update count on this draft host

This Ubuntu VM shows how one pending-update count looks. Your distro command will differ.

```bash
apt list --upgradable 2>/dev/null | wc -l
```

Observed on this draft host (Ubuntu, apt, 2026-12-03):

```text
88
```

That number is a queue depth snapshot, not a judgment. Run your package manager's equivalent weekly and clear security updates first [2]. Reboot when the kernel security line says you should.

## Add the developer secrets and access pass

CISA's product-security bad practices call hardcoded credentials in source dangerous; use a secret manager CI can retrieve, and scan for secrets in development [3]. Weekly add-ons:

```text
1. Secret scan or grep on active repos (no new tokens in tree) [3]
2. CI variables: who can read deploy keys? rotate if a teammate left
3. Shell history: clear or ignore patterns that catch API keys (see hist-key)
4. Access: remove stale deploy keys, invite-only packages, abandoned bots
```

Do not invent a scanner brand here. Use whatever your org already trusts, or a documented open tool, and attribute results to that tool's docs. If a scan flags a test fixture, fix the fixture or document the exception in the repo.

Rotate deploy keys when contractors roll off even if git history looks clean. Keys in forgotten fork pipelines still exist.

## Keep zero-day news inside the same habit

When a KEV or vendor advisory hits your inventory, the same weekly slot absorbs patching. Vocabulary and calm triage live in [zero-day awareness without panic](/blog/zero-day-awareness-without-panic). CI log redaction patterns live in [CI log secret leak patterns](/blog/ci-log-secret-leak-patterns). For login keys that never belong in chat or git, see SSH keys for developers.

Panic browsing five news sites creates fatigue, not patches. One trusted feed plus your package manager is enough for most weeks.

## Dependency and supply-chain minute

Spend five minutes of the block on one repo you ship. Read the dependabot or renovate PR queue if you use one. If you do not automate yet, run your language package manager's outdated command once and note security advisories for direct dependencies only.

CISA's update pillar applies to libraries, not only OS packages [1] [2]. Pinning every transitive package is a different essay; weekly hygiene is about not ignoring the obvious advisory on the web framework you expose to the internet.

Sign commits if your org requires it. Verify release tags on binaries you download. Supply-chain panic is optional; baseline verification is not.

## Stretch goals when the core loop is boring

Add dependency review on one repo you ship. Enable branch protection requiring review on default branch. Verify backup restores for the side project VPS if you run one ([boring production box checklist](/blog/boring-production-box-checklist)).

Stop adding items until the base twenty minutes happens four weeks in a row.

## Calendar discipline

Pick one weekday and one time zone label in the invite (for example Thursday 09:00 Dubai). Move the block, do not delete it, when travel shifts your morning. Skipping three weeks in a row means the habit died; restart with the quick start list only, not a six-hour audit.

Tell one teammate or an accountability chat you run the block. Peer visibility is not compliance theater; it is a reminder that patches are boring and necessary.

## After a real incident

If a key leaked, rotate first, notify second, postmortem third. The weekly habit exists so rotation is rehearsed, not invented under stress. Log which systems received the new credential and which automations still hold the old one.

If phishing succeeded, isolate the machine, reset passwords from a clean device, and review git and cloud access from the last seven days. The same secrets pass checklist applies, just with urgency labels. Write dates in ISO format in the incident notes so the next weekly block can verify closure.

## Common mistakes and misconceptions

Waiting for headlines before patching. Weekly hygiene exists to shrink the window before the headline [1].

Disabling MFA because TOTP felt annoying. Prefer hardware keys or platform passkeys where CISA lists them [1].

`.gitignore` protects secrets. Ignored files can still be copied into tarballs or shared screens. Keep secrets out of the working tree entirely [3].

Trusting CI to redact logs automatically. Many pipelines echo env vars on failure. Read [CI log secret leak patterns](/blog/ci-log-secret-leak-patterns).

Storing production passwords in chat scrollback. Password managers exist; chat is not a vault.

All-day security sprints once a quarter. They rot by week three. The calendar block wins.

Block twenty minutes on your calendar, run the checklist once, and log what you skipped so next week has a shorter list. When headlines spike, vocabulary and triage from [zero-day awareness without panic](/blog/zero-day-awareness-without-panic) fit inside the same slot; shell history habits from [hist-key](/blog/hist-key) and a boring VPS checklist from [boring production box checklist](/blog/boring-production-box-checklist) keep the access side aligned with what you actually deploy.

Send this to the friend who doomscrolls CVEs instead of patching what they run.

Image: Abstract desk of hygiene markers: a glowing ring, a folder slab, cyan-ringed cylinders, and a curved row of stepping discs on a dark grid, no people.
https://fullbytedeveloper.com/media/developer-security-hygiene-weekly/developer-security-hygiene-weekly-venice.webp
Twenty minutes: four CISA pillars plus a secrets and access lane.

## Sources

1. [CISA: Four cybersecurity essentials for businesses, accessed 2026-12-03](https://www.cisa.gov/resources-tools/resources/four-cybersecurity-essentials-businesses)
2. [CISA: Project Upskill checklist, accessed 2026-12-03](https://www.cisa.gov/resources-tools/resources/project-upskill-checklist)
3. [CISA: Product security bad practices (hardcoded secrets), accessed 2026-12-03](https://www.cisa.gov/resources-tools/resources/product-security-bad-practices)
4. [Full Byte Developer: Zero-day awareness without panic](https://fullbytedeveloper.com/blog/zero-day-awareness-without-panic)
5. [Full Byte Developer: CI log secret leak patterns](https://fullbytedeveloper.com/blog/ci-log-secret-leak-patterns)
6. [Full Byte Developer: Shell history API key habits](https://fullbytedeveloper.com/blog/hist-key)
