Skip to content
vetkitChecksChangelogDocumentation

vetkit.android.manifest.shared-user-id

The Android app declares android:sharedUserId. Apps sharing a user ID share data and permissions, so a weakness in one of them exposes the other; the attribute is deprecated.

Last updated:

Suite: Security

xml

The Android app declares android:sharedUserId. Apps sharing a user ID share data and permissions, so a weakness in one of them exposes the other; the attribute is deprecated.

Category: SECURITY · Engine rule severity: INFO

How to fix it

Remove android:sharedUserId and exchange data through explicit, permission-protected IPC.

Rule pattern example

The engine’s matching pattern, not a confirmed exploit. Metavariables and ellipses describe matching syntax.

android:sharedUserId="$UID"

References

Source: packages/engine/rules/sast/mobile.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.