Skip to content

Conversation

@quexten
Copy link
Contributor

@quexten quexten commented Jan 15, 2026

🎟️ Tracking

No ticket

📔 Objective

Adds a deep-dive to memory hardening in Bitwarden. Some teams were asking about this, so this seemed like a good central place for discovery, since hardening applies to all clients, and also the SDK, and is not very discoverable next to the code. (We do also document these individually in the code in the relevant sections though).

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation
    team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed
    issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@quexten quexten requested review from a team and eligrubb and removed request for a team January 15, 2026 13:43
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 15, 2026

Deploying contributing-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3b0c40f
Status: ✅  Deploy successful!
Preview URL: https://9018d2e9.contributing-docs.pages.dev
Branch Preview URL: https://km-memory-hardening.contributing-docs.pages.dev

View logs

@quexten quexten changed the title km/memory hardening Add memory hardening deep-dive Jan 15, 2026
@quexten quexten requested review from Thomas-Avery and removed request for eligrubb January 15, 2026 13:45
@quexten quexten added the ai-review Request a Claude code review label Jan 15, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2026

Logo
Checkmarx One – Scan Summary & Details84f0af51-94f0-4fa4-809e-cd7fd2cabf78

Fixed Issues (1)

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
HIGH CVE-2026-21884 Npm-react-router-5.3.4

@claude
Copy link
Contributor

claude bot commented Jan 15, 2026

Claude finished @quexten's task in 1m 29s —— View job


Re-Review Summary: Approved

This PR adds valuable documentation about Bitwarden's memory hardening strategies, covering zeroizing, process reload, process isolation, and key protection mechanisms.

Previous Feedback Status

Issue Status
Citation rendering (inline hyperlinks) Resolved
"MacOS" capitalization (should be "macOS") Resolved

All feedback from previous reviews has been addressed:

  • Citation rendering was updated to use inline hyperlinks per @withinfocus's request
  • Both instances of "MacOS" were renamed to "macOS" (the correct Apple capitalization)

Review Assessment

Documentation Quality: The content is technically accurate, well-organized, and provides useful context about memory hardening techniques across Bitwarden clients.

Structure: Follows the established patterns for deep-dive documents in this repository.

No Issues Found: The PR is ready for merge.


Generated by Claude Code

@quexten quexten marked this pull request as ready for review January 15, 2026 13:58
@quexten quexten requested review from a team as code owners January 15, 2026 13:58
Copy link
Member

@coltonhurst coltonhurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quexten this is awesome, thanks for the write-up.

Is it worth linking files or paths to make it easy for new readers to dig into the code?

(Totally optional, I know that we might not want to link to code because the code can be moved and the links break. We could link to PR's / commits instead, though I think linking to live code on main would be nice if we are confident it won't move for a while.)

Copy link
Contributor

@withinfocus withinfocus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also support some linking here to relevant codebases which will aid in discovery and automation around the hardening practice.

@quexten
Copy link
Contributor Author

quexten commented Jan 19, 2026

Added links to both the code-bases, and relevant API docs for the OS features.

Copy link
Contributor

@withinfocus withinfocus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but I think the citation approach needs slight improvement.

withinfocus
withinfocus previously approved these changes Jan 20, 2026
Copy link
Contributor

@withinfocus withinfocus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the "macOS" if you can.

@quexten
Copy link
Contributor Author

quexten commented Jan 21, 2026

Renamed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review Request a Claude code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants