oasisfeng/condom
一个超轻超薄的Android工具库,阻止三方SDK中常见的有害行为,而不影响应用自身的功能。(例如严重影响用户体验的『链式唤醒』) observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3447
- days_rel: n/a
- days_push: 1059
- n_releases_24m: 0
Adoption not part of the score
2480 stars · 168 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Project Condom is an ultra-lightweight Android library that wraps the app Context before passing it to third-party SDKs, blocking harmful behaviors like chained background process wake-ups. It requires only minimal code changes, wrapping SDK initialization calls with CondomContext.wrap().
Use cases
- prevent third-party push SDKs from launching massive background processes
- stop chain wake-ups between apps with similar SDKs
- improve app startup speed on low-end devices
- control when SDKs may launch external apps via OutboundJudge
- protect app components in separate processes from unwanted SDK behavior
When to choose
- your app embeds third-party SDKs known for aggressive background behavior
- you want minimal-code protection against SDK process spam
- you need fine-grained control over outbound component launches
When to avoid
- your SDK core functionality depends on specific external apps like Facebook SDK or Google Play services
- you need full permission management rather than behavior blocking
Facets
library · maturity maintenance
security developer-tools middleware android-tools mobile-development security developer-tools jvm android sdk-hardening context-wrapping background-process-prevention third-party-sdk-protection
1 source
- readme: https://github.com/oasisfeng/condom · fetched 2026-08-28 · 9635c169a667
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| oasisfeng/condom | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="oasisfeng/condom")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem