awnumar/memguard
Software sandbox for storage of sensitive information in memory. observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 81
- Release rhythm 45
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 3420
- days_rel: 371
- days_push: 117
- n_releases_24m: 2
Adoption not part of the score
2756 stars · 135 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MemGuard is a pure Go library that securely stores sensitive information in memory, encrypting it with XSalsa20Poly1305 and bypassing the garbage collector via direct system calls. It adds guard pages, canary values, memory locking, and constant-time operations to reduce exposure of secrets like keys and passwords.
Use cases
- store encryption keys securely in memory in a Go application
- prevent secrets from being swapped to disk
- protect passwords from cold-boot attacks
- avoid garbage collector leaking sensitive buffers
- safely wipe secrets when a session ends
- detect buffer overflows touching sensitive data
When to choose
- you write Go software handling keys, tokens, or passwords
- you need defense-in-depth against memory disclosure and core dumps
- you want a pure-Go, cross-platform secret storage enclave
When to avoid
- your language is not Go
- you only need secrets at rest on disk (use a secrets manager or vault)
- you need a full HSM or hardware-backed key store
Facets
library · maturity active
security cryptography secrets-management security privacy developer-tools go windows cross-platform memory-security sensitive-data guard-pages cold-boot-attack pure-go linux macos
1 source
- readme: https://github.com/awnumar/memguard · fetched 2026-08-28 · c5ff2e1df662
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| awnumar/memguard | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="awnumar/memguard")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem