GrapheneOS/hardened_malloc
Hardened allocator designed for modern systems. It has integration into Android's Bionic libc and can be used externally with musl and glibc as a dynamic library for use on other Linux-based platforms. It will gain more portability/integration over time. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 97
- Release rhythm 39
- 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: 496
- age_days: 2932
- days_rel: 192
- days_push: 20
- n_releases_24m: 2
Adoption not part of the score
1975 stars · 157 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
hardened_malloc is a security-focused general purpose memory allocator implementing the malloc API with extensive hardening against heap corruption vulnerabilities. It integrates with Android's Bionic libc and can be used as a dynamic library with musl and glibc on Linux-based platforms.
Use cases
- replace glibc malloc with a hardened allocator
- harden a Linux application against heap exploitation
- secure memory allocation on Android via Bionic integration
- reduce heap fragmentation and metadata overhead
- mitigate use-after-free and double-free vulnerabilities
- load a hardened allocator into existing binaries via LD_PRELOAD
When to choose
- you need strong protection against heap corruption exploits on Android or Linux
- you want a malloc replacement with quarantine, canaries, and write-after-free detection
- you are building a security-focused OS or hardened software distribution
When to avoid
- you need maximum allocator micro-benchmark performance over security
- you target 32-bit platforms or non-Linux operating systems
- you need Windows or macOS support
Facets
library · maturity active
security cryptography security operating-systems developer-tools cross-platform memory-allocator malloc hardening exploit-mitigation slab-allocator quarantine bionic musl glibc c android linux
6 sources
- readme: https://github.com/GrapheneOS/hardened_malloc · fetched 2026-08-28 · cd406b85b649
- homepage: https://grapheneos.org/ · fetched 2026-08-29 · fd2048a5631b
- site_page: https://grapheneos.org/features · fetched 2026-08-29 · 0c04eca55939
- site_page: https://grapheneos.org/install · fetched 2026-08-29 · 1069f5fe9080
- site_page: https://grapheneos.org/faq · fetched 2026-08-29 · 8f5ac8ce4a47
- site_page: https://grapheneos.org/releases · fetched 2026-08-29 · 5690feec0727
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| GrapheneOS/hardened_malloc | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="GrapheneOS/hardened_malloc")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem