google/sandboxed-api
Generate sandboxes for C/C++ libraries automatically observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 99
- Release rhythm 8
- 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: n/a
- age_days: 2736
- days_rel: 694
- days_push: 7
- n_releases_24m: 1
Adoption not part of the score
1758 stars · 199 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Google's Sandboxed API (SAPI) automatically generates sandboxes for individual C/C++ libraries, isolating them from the host program using the underlying Sandbox2 technology. It lets developers sandbox a library once and reuse it anywhere with tightly scoped security policies.
Use cases
- sandbox a C/C++ library to contain code execution vulnerabilities
- isolate untrusted third-party libraries without modifying their source code
- apply tightly scoped seccomp-bpf syscall policies per library
- reuse sandbox policies across multiple projects that use the same library
- run untrusted code in a Linux sandbox with namespaces and resource limits
- sandbox individual components of a larger program instead of the whole program
When to choose
- you need fine-grained sandboxing of specific C/C++ libraries on Linux
- you want to isolate code execution vulnerabilities in third-party libraries
- you want reusable sandbox policies instead of reimplementing them per project
- you need a security boundary for your own C/C++ code in production
When to avoid
- you need to sandbox whole programs or CLI tools rather than libraries (use Sandbox2, NSJail, or Minijail directly)
- your project is not on Linux
- you need sandboxing for non-C/C++ languages or managed runtimes
- you need a general-purpose container or VM-level isolation solution
Facets
library · maturity active
security developer-tools security developer-tools backend cpp sandboxing seccomp-bpf sandbox2 c-cpp-libraries security-hardening google linux bazel
2 sources
- readme: https://github.com/google/sandboxed-api · fetched 2026-08-28 · 52759ad0b934
- homepage: https://developers.google.com/sandboxed-api/ · fetched 2026-08-29 · 2dfe8b83e0b0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/sandboxed-api | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="google/sandboxed-api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem