Skip to content

Security: Release build signed with debug key #2

@0xharkirat

Description

@0xharkirat

Priority: Critical

android/app/build.gradle.kts line 37 uses the debug keystore for release builds:

signingConfig = signingConfigs.getByName("debug")

Anyone with Android SDK tooling has the same debug key and could sign a malicious APK that Android treats as an "update" to Hark. Google Play will also reject this.

Recommended fix

  • Set up a dedicated release signing config with a securely stored keystore
  • Document the signing setup for contributors (without committing the keystore)
  • Add key.properties to .gitignore (already done)

Files

  • android/app/build.gradle.kts (line 37)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions