Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Manifest Guard — Android Manifest SecurityNew to Visual Studio Code? Get it now.
Manifest Guard — Android Manifest Security

Manifest Guard — Android Manifest Security

TandemResistentia

|
1 install
| (0) | Free
Local diagnostics for AndroidManifest.xml — flags exported components, debuggable, cleartext, and backup foot-guns before you ship to Play.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Manifest Guard — Android Manifest Security

Local VS Code diagnostics that flag Play/security foot-guns in AndroidManifest.xml before you ship — exported components, debuggable, cleartext traffic, and loose backup settings.

Not a snippet pack. Peer Marketplace listings insert uses-permission text; Manifest Guard audits risky attributes into the Problems panel.

Runs fully offline. No network, no telemetry, no accounts.

60-second win

  1. Open an AndroidManifest.xml with android:exported="true" and no permission, or android:debuggable="true".
  2. Open Problems — see MG001 / MG002 / MG003 / MG004.
  3. Fix the attribute → diagnostics clear on save.
  4. Optional: Manifest Guard: Rescan Workspace from the Command Palette, or click the status bar when a Manifest is focused.

Rules (v1)

Code Check Severity Fix
MG001 Component android:exported="true" without android:permission (activity / service / receiver) Warning Add a protecting permission, or set exported="false" if the entry point is not needed
MG002 android:debuggable="true" on <application> or a component Error Remove debuggable from the release Manifest (quick-fix available)
MG003 android:usesCleartextTraffic="true" Warning Prefer network security config, or set false
MG004 android:allowBackup="true" without fullBackupContent / dataExtractionRules Warning Add backup/extraction rules, or set allowBackup="false"

Settings

Setting Purpose
manifestGuard.include Globs to find Manifests (default **/AndroidManifest.xml)
manifestGuard.exclude Skip build/merged Manifests (**/build/**, etc.)
manifestGuard.rules.MG00N.enabled Turn a rule on/off
manifestGuard.rules.MG00N.severity Override severity (default keeps the rule default)

Keywords

android manifest · exported · debuggable · cleartext · allowBackup · play security

Privacy

This extension analyzes files in your workspace locally. It does not send Manifest contents anywhere.

Non-goals

Snippet / autocomplete packs · full Android Studio Lint / AGP · logcat / ADB · Gradle integration.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft