smarques84/MockLocationDetector
An android library to help detect mock locations observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
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: 3748
- days_rel: n/a
- days_push: 918
- n_releases_24m: 0
Adoption not part of the score
1813 stars · 1147 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An Android library written in Java that detects whether a device's location data comes from a mock (spoofed) provider. It offers static methods to check a Location object for mock providers, scan for apps holding the ALLOW_MOCK_LOCATIONS permission, and inspect the system mock-locations setting.
Use cases
- detect if a gps location is spoofed or mocked on android
- check whether apps with allow mock locations permission are installed
- prevent location cheating in delivery or ride-hailing apps
- verify location authenticity for attendance or check-in apps
- guard against fake gps in android games or apps
- validate location data before trusting it in an android app
When to choose
- you need to detect GPS spoofing in an Android app
- you want a simple static-method API with no extra dependencies
- you must support older Android APIs with fallback checks
When to avoid
- you need detection on non-Android platforms
- you require actively maintained anti-spoofing techniques against modern mock apps
- your project needs a permissively licensed dependency with explicit licensing support beyond Apache 2.0
Facets
library · maturity maintenance
security developer-tools sdk android-tools security mobile-development jvm mock-location gps-spoofing-detection anti-fraud location-integrity java gradle android mobile
1 source
- readme: https://github.com/smarques84/MockLocationDetector · fetched 2026-08-28 · 7ec6263dde00
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| smarques84/MockLocationDetector | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="smarques84/MockLocationDetector")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem