Sample audits · Open-source projects and documentation, eight more

android/nowinandroid

Google's reference app for modern Android development.

Summary card for this audit: 42 findings after review, 0 High, 6 Medium, 21 Low, 15 Info
Auditedandroid/nowinandroid at commit a49ed253d75e61a2b6ab80a8da677b57437b08eb
Date11 October 2026 (audited again; first audit 11 October 2026)
How it ranlocal run on our workstation, full audit, Standard review
Verdict after reviewPass with notes (Fail if a High finding remains after review, otherwise Pass with notes)
0
High after review
6
Medium after review
21
Low after review
15
Info after review
0
excluded on review

Compared with the first audit

Same commit as the first audit: the project's default branch has no later commits (checked 11 October 2026), so nothing could have been fixed upstream in between. Each finding of the first audit (11 October 2026) was checked again against the code audited now. 27 findings in the first audit; 27 still open (18 found again, 9 not reported again but still present). This audit has 42 findings after review, 25 of them new.

First auditFindingReviewed rating thenNowIn this audit
#1Article link launch can crash / any schemeLowStill open#1
#2Jetifier not pinnedInfoStill opennot reported again
#3Deep-link no duplicate guardInfoStill opennot reported again
#4FTS MATCH raw user inputLowStill open#37
#5Placeholder google-services keyInfoStill opennot reported again
#6Two scrollbar gesture writersInfoStill open#3
#7Compose foundation pinned alphaInfoStill open#8
#8Onboarding rule on some write pathsInfoStill open#14
#9Placeholder topic rowsInfoStill open#13
#10BACKEND_URL placeholderLowStill open#18
#11Sync failures logged at infoLowStill open#28
#12headerImageUrl requiredLowStill open#19
#13Topic sync no size capInfoStill open#36
#14Tuning values compiled inInfoStill opennot reported again
#15No override path for UI textInfoStill opennot reported again
#16Prefs writes handle IOException inconsistentlyLowStill open#16
#175_000 sharing timeout copiedInfoStill opennot reported again
#18Repeated UI-state hierarchiesInfoStill opennot reported again
#19Release APK without checksumInfoStill open#27
#20Release workflow skips verificationInfoStill opennot reported again
#21Release script copies uncheckedInfoStill opennot reported again
#22ListToMapMigration never registeredMediumStill open#12
#23FTS duplicate rows each syncMediumStill open#34
#24Push-topic subscribe aborts syncMediumStill open#33
#25Swallowed cursor write reports successLowStill open#17
#26Undo remembers only last bookmarkLowStill open#39
#27Release signed with debug keyLowStill open#32
How to read this page

Each finding keeps the number it has in the audit report. The rating shown first is the one after review; the first automated rating is listed with it. 20 findings were first rated Medium or High; 6 of them are Medium or High after review. Text marked "From the report" is quoted from the audit report; fixes are suggestions and were not tested. Code locations link to the file and line at the audited commit.

Medium after review (6)

12. Medium A preferences migration is never registered, so upgrading users lose follows and bookmarks
First rating: High · Reviewed rating: Medium · Review: rated too high · also in the first audit (#22)
From the report
Evidence
migrations = listOf(
    IntToStringIdsMigration,
),
Why it matters

ListToMapMigration exists in the main source set and has unit tests, but it is not in the DataStore's migration list. The registered migration moves old integer ids into the legacy string lists. Nothing then moves those lists into the map fields the app reads now. A user upgrading from the list-format storage silently loses every followed topic and bookmark, with no error.

Suggested fix, not tested

Register it after the existing one: listOf(IntToStringIdsMigration, ListToMapMigration). Add a test that opens the store from a legacy-format file.

31. Medium The topic screen crashes when the topic cannot be loaded
First rating: High · Reviewed rating: Medium · Review: rated too high · new in this audit
From the report
Evidence
TopicUiState.Error -> TODO()
Why it matters

TopicViewModel maps any upstream exception to TopicUiState.Error. One example is a topic id with no database row, such as one opened from a link before topics have synced, which fails when the missing row is mapped to the model. Kotlin's TODO() then throws NotImplementedError during composition, and the app crashes on the main thread.

Suggested fix, not tested

Render a real error state (a message with back or retry) for TopicUiState.Error.

33. Medium A push-subscription failure aborts the whole background sync
First rating: Medium · Reviewed rating: Medium · Review: confirmed · also in the first audit (#24)
From the report
Evidence
syncSubscriber.subscribe()

// First sync the repositories in parallel
Why it matters

In the production flavour this awaits a Firebase topic subscription with no error handling. On devices without Google Play services, or when the subscription call fails, the exception leaves doWork before any repository is synced, so the offline cache is never refreshed.

Suggested fix, not tested

Wrap the subscription in a try/catch that rethrows CancellationException and logs other failures, or run it after the data sync.

34. Medium The full-text search table gains a duplicate copy of everything on every sync
First rating: Medium · Reviewed rating: Medium · Review: confirmed · also in the first audit (#23)
From the report
Evidence
newsResourceFtsDao.insertAll(
    newsResourceDao.getNewsResources(
Why it matters

The search entities have no key mapped to the row id, so the "replace" conflict strategy never matches an existing row. Each successful sync appends a full copy of all news and topics. The database grows without bound, the "search ready" count is inflated, and edited items stay searchable under their old text.

Suggested fix, not tested

Map the source id to the row id so replace works, or clear and refill the search tables in one transaction.

35. Medium Topic links removed on the server stay in the local database
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
From the report
Evidence
newsResourceDao.insertOrIgnoreTopicCrossRefEntities(
    newsResourceTopicCrossReferences = networkNewsResources
Why it matters

A changed news item is upserted in place, so no cascade delete fires, and its topic links are only ever added. When the server removes a topic from an item, the item keeps appearing in that topic's feed and notifications.

Suggested fix, not tested

In one transaction with the upsert, delete the existing links for each changed item before inserting the new set.

38. Medium A corrupted preferences file crashes the app on every launch
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
From the report
Evidence
DataStoreFactory.create(
    serializer = userPreferencesSerializer,
    scope = CoroutineScope(scope.coroutineContext + ioDispatcher),
Why it matters

The serializer throws CorruptionException on unreadable data, and no corruption handler is set. User data is read at start-up, so one damaged file crashes the app on every launch until the user clears app data.

Suggested fix, not tested

Pass corruptionHandler = ReplaceFileCorruptionHandler { UserPreferences.getDefaultInstance() }.

Low after review (21)

1. Low Article links are launched with no handler check and no scheme check
First rating: Medium · Reviewed rating: Low · Review: rated too high · also in the first audit (#1)
From the report
Evidence
customTabsIntent.launchUrl(context, uri)
Why it matters

The URL comes from synced backend data through Uri.parse(userNewsResource.url) at three call sites (NewsFeed, NewsResourceCardList, ForYouScreen). Nothing checks that a browser or Custom Tabs handler exists, or that the scheme is http or https. On a device with no browser, a tap on a card throws ActivityNotFoundException and crashes the app. A non-web scheme from the backend is handed to whatever app claims it.

Suggested fix, not tested

Accept only http and https before launching. Wrap launchUrl in a try/catch for ActivityNotFoundException and fall back to a chooser or a short message.

3. Low Two coroutines drive the scrollbar at the same time
First rating: Medium · Reviewed rating: Low · Review: rated too high · also in the first audit (#6)
From the report
Evidence
snapshotFlow { pressedOffset }.collect { pressedOffset -> ...
    onThumbMoved(currentThumbMovedPercent)
snapshotFlow { draggedOffset }.collect { draggedOffset -> ... onThumbMoved(currentTravel)
Why it matters

The press handler runs a stepping loop with delay inside a plain collect. A press that turns into a drag therefore has two writers on onThumbMoved and interactionThumbTravelPercent at once, and the press loop keeps running to its old target after the finger has moved or lifted. The result is a thumb and list position that jitter and jump.

Suggested fix, not tested

Give the gesture one owner. Use collectLatest, or cancel the press loop when a drag starts or the press ends.

6. Low Notification permission is requested without context
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
From the report
Evidence
if (status is Denied && !status.shouldShowRationale) {
    notificationsPermissionState.launchPermissionRequest()
Why it matters

The system permission dialog appears as soon as the home screen is composed, before the user has done anything that needs notifications. Requests like this are more often denied, and a user who denies twice can no longer be asked.

Suggested fix, not tested

Ask after a related action, such as following a topic, or show a short explanation first.

7. Low Scrollbar thumb touch target is 12dp
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
From the report
Evidence
Vertical -> width(12.dp).fillMaxHeight()
Horizontal -> height(12.dp).fillMaxWidth()
Why it matters

The draggable thumb sits at the screen edge and is well below a comfortable touch size, so it is hard to grab.

Suggested fix, not tested

Keep the visual thumb thin but give the touch area at least 48dp, for example with transparent padding on the track.

11. Low Placeholder image uses hard-coded light colours
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
From the report
Evidence
android:pathData="M0,0h364v182h-364z"
android:fillColor="#FCFCFC"
Why it matters

In dark theme, loading and error states show a bright, full-bleed light rectangle.

Suggested fix, not tested

Take the fill from a theme attribute or a night-qualified colour resource.

13. Low Placeholder topic rows can reach the topic list with blank names
First rating: Medium · Reviewed rating: Low · Review: rated too high · also in the first audit (#9)
From the report
Evidence
fun NetworkNewsResource.topicEntityShells() =
    topics.map { topicId ->
        TopicEntity(
Why it matters

News sync inserts empty-named "shell" topic rows to satisfy the foreign key. The topic reader query (SELECT * FROM topics) does not exclude them. Topic and news sync run in parallel, so if topic sync has not yet filled a shell, or fails, the interests list shows topics with blank names. Nothing checks after sync that no shell rows remain.

Suggested fix, not tested

Mark shell rows explicitly (or filter name <> '' in reader queries), and check after sync that no shells remain.

15. Low The search index is rebuilt after every sync, even when nothing changed
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
From the report
Evidence
if (syncedSuccessfully) {
    searchContentsRepository.populateFtsData()
Why it matters

A sync with an empty change list still reads every news item and topic and rewrites the search tables, which wastes battery and I/O on every app start and push-triggered sync (see also finding 34).

Suggested fix, not tested

Have the repositories report whether anything changed, and rebuild only then.

16. Low Failed follow and bookmark writes are swallowed and then reported as done
First rating: Medium · Reviewed rating: Low · Review: rated too high · also in the first audit (#16)
From the report
Evidence
niaPreferencesDataSource.setTopicIdFollowed(followedTopicId, followed)
analyticsHelper.logTopicFollowToggled(followedTopicId, followed)
Why it matters

setTopicIdFollowed, setNewsResourceBookmarked and setFollowedTopicIds catch IOException, log it and return normally (NiaPreferencesDataSource.kt:88). The repository then logs analytics for a change that never happened, and the user sees no error. Sibling setters (theme, dark mode, viewed state) do not catch at all, so the same failure behaves two different ways.

Suggested fix, not tested

Choose one policy. Either let the exception propagate, or return a success flag. Log analytics only after the write has committed.

17. Low A failed sync-version save still counts as a successful sync
First rating: Medium · Reviewed rating: Low · Review: rated too high · also in the first audit (#25)
From the report
Evidence
} catch (ioException: IOException) {
    Log.e("NiaPreferences", "Failed to update user preferences", ioException)
}
Why it matters

updateChangeListVersion swallows the failure, so changeListSync still returns success and the worker records a successful sync. The version was never saved. The next sync processes the same changes again and, because notifications are posted before the version is committed, notifies the user about the same news again.

Suggested fix, not tested

Propagate the failure, or return a result, so the sync reports failure and retries. Record notified ids, or commit the version before notifying.

18. Low A missing backend URL silently becomes a cleartext placeholder
First rating: Medium · Reviewed rating: Low · Review: rated too high · also in the first audit (#10)
From the report
Evidence
}.orElse("http://example.com")
Why it matters

A production build made without BACKEND_URL in local.properties compiles without any warning and ships pointing at an http placeholder host. Cleartext traffic is blocked by default at the app's target SDK, so every sync fails. The only trace is an info-level log.

Suggested fix, not tested

Fail the build for production variants when the value is missing, require https, and keep any placeholder to the demo flavour.

19. Low The network model rejects news items without a header image
First rating: Medium · Reviewed rating: Low · Review: rated too high · also in the first audit (#12)
From the report
Evidence
val headerImageUrl: String,
val publishDate: Instant,
val type: String,
Why it matters

The database entity and the domain model both allow a missing header image. The wire model requires it and has no defaults. One item with a null or absent image fails deserialization for the whole fetched batch, so sync fails and retries indefinitely with no news loaded.

Suggested fix, not tested

Declare headerImageUrl: String? = null, and give the other optional fields defaults, as the topic model already does.

20. Low User-visible text is hard-coded on the topic screen
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
From the report
Evidence
Text("FOLLOWING")
...
Text("NOT FOLLOWING")
Why it matters

The follow labels, the "Error" text (line 253) and the "Loading news" accessibility description (line 249) bypass string resources. They cannot be translated, and they are inconsistent with the rest of the app.

Suggested fix, not tested

Move them to the feature's strings.xml and load them with stringResource.

26. Low The minified production build is never built or tested in CI
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
From the report
Evidence
run: ./gradlew :app:assemble -PminifyWithR8=false
Why it matters

Release builds are minified by default (app/build.gradle.kts:46), but CI builds every variant with minification off and runs instrumented tests only on demo debug. If R8 strips serialization, Retrofit or Room classes, the failure would reach users undetected.

Suggested fix, not tested

Add a CI job that builds the production release with R8 enabled and runs a smoke test on it.

28. Low Sync failures are logged at info level and retried without limit
First rating: Low · Reviewed rating: Low · Review: confirmed · also in the first audit (#11)
From the report
Evidence
Log.i(
    "suspendRunCatching",
    "Failed to evaluate a suspendRunCatchingBlock. Returning failure Result",
Why it matters

Sync failures are logged at info level under a generic tag, and the worker returns retry indefinitely (SyncWorker.kt:84). A persistent failure (findings 18, 19, 36) becomes a silent retry loop that is hard to spot in logs.

Suggested fix, not tested

Log at warning or error level with a tag that names the repository and step, and cap retries using the attempt count.

32. Low Release builds are signed with the debug key
First rating: Medium · Reviewed rating: Low · Review: rated too high · also in the first audit (#27)
From the report
Evidence
// TODO: Abstract the signing configuration to a separate file to avoid hardcoding this.
signingConfig = signingConfigs.named("debug").get()
Why it matters

The release build type uses the debug signing configuration, and the release workflow publishes that APK as a GitHub release asset. A debug key is not protected, so anyone can produce an APK with the same signature, and users cannot trust updates. The catalog app (app-nia-catalog/build.gradle.kts:62) does the same.

Suggested fix, not tested

Sign release builds with a private key supplied from CI secrets or an untracked keystore file. Keep a debug-signed variant only for local, non-distributed builds.

36. Low Large change lists can exceed the database's query parameter limit
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
From the report
Evidence
filterNewsIds = changedIds.toSet(),
Why it matters

Network fetches are chunked, but the database queries and deletes receive the whole change list in one IN (...) clause. On older Android versions the limit is 999 parameters. After a long offline period the query throws, the sync version is never advanced, and every retry fails the same way.

Suggested fix, not tested

Chunk these id lists (for example 500 per query) for the queries and the deletes, and for the topic id list sent in one request.

37. Low Search text is inserted into the full-text query without escaping
First rating: Medium · Reviewed rating: Low · Review: rated too high · also in the first audit (#4)
From the report
Evidence
val newsResourceIds = newsResourceFtsDao.searchAllNewsResources("*$searchQuery*")
Why it matters

Quotes, parentheses, operators and column filters typed by the user are parsed as query syntax. The query then fails with a database error, and searches such as text containing a quote, or "kotlin:", show a failure instead of results.

Suggested fix, not tested

Split the input into terms, quote each term (doubling embedded quotes) or strip operator characters, then add the wildcard.

39. Low Undo after removing two bookmarks quickly restores only one
First rating: Medium · Reviewed rating: Low · Review: rated too high · also in the first audit (#26)
From the report
Evidence
shouldDisplayUndoBookmark = true
lastRemovedBookmarkId = newsResourceId
Why it matters

Only the most recent removal is remembered. The snackbar effect is keyed on a boolean that is already true, so a second removal does not start a new snackbar. Undo restores only the second item, and the first removal is lost.

Suggested fix, not tested

Keep a list of removed ids, or key the effect on a value that changes with each removal.

40. Low Typed search text is sent to the analytics service
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
From the report
Evidence
extras = listOf(element = Param(key = SEARCH_QUERY, value = query)),
Why it matters

In the production flavour, free text typed by the user is sent to a third-party analytics backend. Search input can contain personal data, and nothing asks for consent.

Suggested fix, not tested

Log only derived values, such as query length or result count, or add explicit consent and disclose it.

41. Low The CI coverage gate never runs
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
From the report
Evidence
if: matrix.api-level == 30
Why it matters

The test matrix is [26, 34], but the local-test, coverage-report, coverage-threshold (min-coverage-overall: 40) and coverage-upload steps all require API level 30. None of them ever runs, so the coverage requirements are not enforced.

Suggested fix, not tested

Change the conditions to a level that is in the matrix (for example 34), or add 30 to the matrix.

42. Low Running the release workflow by hand creates a release named after a branch
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
From the report
Evidence
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
Why it matters

The workflow can be started manually (workflow_dispatch). In that case github.ref is a branch ref such as refs/heads/main, so the release is created with a wrong tag and name. The release actions it uses are also archived and no longer maintained.

Suggested fix, not tested

Take the tag from a validated dispatch input, or allow only tag pushes, and move to a maintained release action.

Info after review (15)

2. Info Shell profiling is enabled in the main manifest
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence
<profileable android:shell="true" tools:targetApi="q" />
Why it matters

This element sits in the main source set, so it ships in release APKs and lets anyone with adb profile the production app. It exists for benchmarking.

Suggested fix, not tested

Move it to a benchmark or debug source-set manifest, so release builds do not carry it.

4. Info The first frame can show the wrong theme
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence
var themeSettings by mutableStateOf(
    ThemeSettings(
        darkTheme = resources.configuration.isSystemInDarkTheme,
Why it matters

The splash screen is released once the ViewModel state has loaded. The saved theme preference, and the edge-to-edge bar styling, are applied later by a separate collector. A user who chose a theme different from the system setting can see a frame in the wrong theme.

Suggested fix, not tested

Keep the splash until themeSettings has been applied, or derive the first value from the already-loaded UI state.

5. Info Catalog window theme is always light
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence
<style name="Theme.NiaCatalog" parent="android:Theme.Material.Light.NoActionBar" />
Why it matters

The Compose content follows the system dark setting, but the window background is fixed to light. There is no values-night variant (we searched the catalog res tree). The window flashes light before the dark Compose content draws.

Suggested fix, not tested

Add a values-night theme, or use a DayNight parent.

8. Info Compose foundation is pinned to an alpha outside the BOM
First rating: Low · Reviewed rating: Info · Review: rated too high · also in the first audit (#7)
From the report
Evidence
androidxComposeFoundation = "1.8.0-alpha07"
Why it matters

Every other Compose artifact gets its version from the (alpha) BOM, while foundation is pinned to its own pre-release version. Mixed Compose versions are a common cause of runtime API mismatches.

Suggested fix, not tested

Take foundation from the BOM, as foundation-layout already does, and prefer the stable BOM for a shipped app.

9. Info One key constant serves three unrelated roles
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence
private const val SEARCH_QUERY = "searchQuery"
Why it matters

The same string is the saved-state key, the analytics event type and the analytics parameter key. Renaming it for one purpose silently changes the other two. A saved-state key change also drops restored state.

Suggested fix, not tested

Use separate, clearly named constants for each role.

10. Info Scrollbar returns early before its effects
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence
if (onThumbMoved == null) return

// Process presses
LaunchedEffect(Unit) {
Why it matters

Whether the composable's effects exist depends on an early return. The effects are keyed on Unit, so they also keep the first onThumbMoved lambda they see, even after it changes.

Suggested fix, not tested

Call the effects unconditionally, check the callback inside them, and wrap it in rememberUpdatedState.

14. Info Onboarding flag and followed topics are kept consistent only on some write paths
First rating: Low · Reviewed rating: Info · Review: rated too high · also in the first audit (#8)
From the report
Evidence
if (followedTopicIds.isEmpty() && followedAuthorIds.isEmpty()) {
    shouldHideOnboarding = false
Why it matters

The rule "onboarding hidden implies something is followed" is applied when follows change, but setShouldHideOnboarding writes the flag without checking it. The check also depends on a legacy author field that nothing writes any more.

Suggested fix, not tested

Route every write of the flag through one guarded function, and drop the legacy author condition.

21. Info The For You screen file holds several separable parts
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence

Evidence: the 620-line file holds the feed grid, the onboarding topic selector, NotificationPermissionEffect() (about line 449) and DeepLinkEffect() (about line 466).

Why it matters

Unrelated state and behaviour in one file make changes riskier and reviews harder as features are added.

Suggested fix, not tested

Move onboarding and the permission and deep-link effects into their own files.

22. Info The search screen file holds several separable parts
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence

Evidence: the 605-line file holds SearchToolbar and SearchTextField, RecentSearchesBody, SearchResultBody and EmptySearchResultBody.

Why it matters

Same reason as finding 21. The view model also mixes search state with bookmark, follow and viewed writes.

Suggested fix, not tested

Split the toolbar, the recent-searches body and the results body into separate files.

23. Info Image loading and card click logic are duplicated
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence
var isLoading by remember { mutableStateOf(true) }
var isError by remember { mutableStateOf(false) }
Why it matters

This repeats the load, error and placeholder logic of DynamicAsyncImage. The card click wiring (analytics, open the tab, mark viewed) is also copied in NewsFeed.kt and NewsResourceCardList.kt, and the topic screen keeps its own card list. Fixes such as the one for finding 1 must be applied several times.

Suggested fix, not tested

Reuse DynamicAsyncImage with parameters, and extract one shared card-click handler.

24. Info Repeated taps launch overlapping writes
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence
fun updateNewsResourceSaved(newsResourceId: String, isChecked: Boolean) {
    viewModelScope.launch {
        userDataRepository.setNewsResourceBookmarked(newsResourceId, isChecked)
Why it matters

Every tap starts a new coroutine with no ordering per item. The same pattern is in the bookmarks, topic, search and interests view models. Rapid toggles can finish out of order.

Suggested fix, not tested

Serialize writes per item, for example with a mutex or a conflated channel keyed by id.

25. Info The news sync step mixes storage, viewed state and notifications
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence
niaPreferencesDataSource.setNewsResourcesViewed(changedIds, true)
...
notifier.postNewsNotifications(
Why it matters

One lambda fetches and stores data, writes per-user viewed state and decides on notifications. That coupling is part of why finding 17 re-notifies.

Suggested fix, not tested

Keep the repository to fetch and store. Move first-sync viewed marking and the notification decision into a separate component that runs after the change set is committed.

27. Info The published APK ships without a checksum
First rating: Low · Reviewed rating: Info · Review: rated too high · also in the first audit (#19)
From the report
Evidence
asset_path: app/build/outputs/apk/demo/release/app-demo-release.apk
Why it matters

Users who download the release asset have no way to check that it is complete and unmodified.

Suggested fix, not tested

Publish a SHA-256 checksum and the expected size next to the APK.

29. Info The sync start-up call is duplicated in two places
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence

Evidence: workManager.enqueueUniqueWork(SYNC_WORK_NAME, ExistingWorkPolicy.KEEP, SyncWorker.startUpSyncWork()) is repeated in initializers/SyncInitializer.kt:30-34.

Why it matters

The work name and policy must stay identical in both places, as a code comment says, but they have no single owner.

Suggested fix, not tested

Route both call sites through one helper.

30. Info The lint check keeps a hand-copied component table
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
From the report
Evidence
val METHOD_NAMES = mapOf(
    "MaterialTheme" to "NiaTheme",
Why it matters

The mapping from Material components to design-system components is maintained by hand in the lint module. A new design-system wrapper is not enforced until someone remembers to update the table.

Suggested fix, not tested

Move the mapping into a small shared JVM module, or generate it from the design system.

Want this for your code?

Upload a ZIP or link a public GitHub repo, pick the areas and the depth, and get findings by severity with fixes.