medium · M6 · MASVS-PRIVACY-1 · PTKD-REVIEW-PLAY-VPN-SERVICE
VpnService needs a Play declaration and a core VPN use
The app declares a VpnService. Google Play permits it only for apps whose core feature is a VPN or one of the listed exceptions (parental control, app usage tracking, device security, network tools, web browsers, carrier services), asks for a declaration in Play Console, and requires the use to be documented on the listing with traffic encrypted to the tunnel endpoint.
How it is exploited
Not an attack: an app adds a local VpnService to block ads or measure traffic. Play treats any VpnService as a device-level tunnel; without a core VPN use, a declaration and a listing note, the update is rejected, and routing other apps' traffic for monetization is banned outright.
Why it matters
A rejected update or removal under the VPN Service policy; if the tunnel is unencrypted, user traffic is exposed.
How to fix it
- Find what declares the service (your code or an SDK's merged manifest).
- If a VPN is not the core feature, remove it (tools:node="remove" for an SDK's service).
- If it is, complete the VpnService declaration in Play Console, describe the VPN on the store listing, and encrypt all traffic to the tunnel endpoint.
Does your app have this?
PTKD checks your build or your source project for PTKD-REVIEW-PLAY-VPN-SERVICE and every other check in this knowledge base.
Scan your appReferences
Related checks (M6)
- PII in a response over a cacheable/first-party channel
- Supabase view in the public schema exposes auth.users
- Ads start before the user's consent (text search)
- Device/user PII sent to a third party
- Google Play restricted or sensitive permission
- Privacy manifest has invalid keys or values
- Missing Apple privacy manifest (PrivacyInfo.xcprivacy)
- Required-reason API used without a declared reason