Skip to content

Security Hardening: Disable allowBackup and Fix Release Signing Config#90

Merged
JesseScott merged 1 commit intomainfrom
sentinel/security-hardening-v1-16388618784446715307
Jan 14, 2026
Merged

Security Hardening: Disable allowBackup and Fix Release Signing Config#90
JesseScott merged 1 commit intomainfrom
sentinel/security-hardening-v1-16388618784446715307

Conversation

@google-labs-jules
Copy link
Contributor

This change implements two key security hardenings identified during the Sentinel scan:

  1. Data Leakage Prevention: Disabling allowBackup mitigates the risk of sensitive data being extracted from the device via ADB or cloud backups.
  2. Secure Release Build: Removing the debug signing configuration from the release build prevents the accidental creation of insecurely signed release artifacts. Release builds will now be unsigned by default, requiring a proper release key to be provided during the signing process (e.g., via CI/CD or local properties).

PR created automatically by Jules for task 16388618784446715307 started by @JesseScott

1.  **Modified `app/androidApp/src/main/AndroidManifest.xml`**:
    *   Added `android:allowBackup="false"` to the `<application>` tag. This prevents application data from being backed up via adb or cloud backup services, reducing the risk of sensitive data extraction.

2.  **Modified `app/androidApp/build.gradle.kts`**:
    *   Removed `signingConfig = signingConfigs.getByName("debug")` from the `release` build type. This ensures that release builds are not insecurely signed with the debug key, adhering to secure release management practices.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

@JesseScott JesseScott marked this pull request as ready for review January 14, 2026 17:46
@JesseScott JesseScott merged commit cc815eb into main Jan 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant