test(nightly): public mobile apps at pinned commits; two scanner fixes they exposed #482

Merged
sharang merged 1 commits from feat/mobile-public-samples into main 2026-10-06 00:59:33 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 48c80dbe18 test(nightly): public mobile apps at pinned commits; two scanner fixes they exposed
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 7m58s
iOS readiness, story 5. The nightly now also scans two public apps,
fetched at pinned commits like the Zephyr and CODESYS samples (not
committed; skipped where the env var is unset):

- nalexn/clean-architecture-swiftui (MIT): a current SwiftUI app (iOS 18,
  Swift 5) with Swift packages but no Package.resolved;
- android/nowinandroid (Apache-2.0): a large current Android app with
  version catalogs and two application modules (app, app-nia-catalog,
  which become variants).

What they found, fixed here:

- mobsfscan failed on every SwiftUI app: semgrep reports a file it parses
  only in part (newer Swift syntax) as an error object, which our report
  type read as a string, so the whole sast_mobile stage was skipped as
  "did not complete". Errors are now read as objects or text; semgrep's
  warnings (level "warn") do not fail the run, and neither kind is logged
  with its message, which quotes the scanned code (counts only).
- gitleaks' generic-api-key flagged 30 Firebase Storage download URLs
  (`?alt=media&token=<uuid>`) in nowinandroid; such a token only makes
  one stored file public and ships with the app by design. A global
  allowlist (line regex) drops those lines; checked with the image's
  gitleaks 8.21.2 (`[allowlist]`, as it predates `[[allowlists]]`), and a
  real key on another line is still reported.

Baselines: swiftui completes with only the sbom_dependencies skip;
nowinandroid has 63 components and 7 mobsfscan findings, labelled by app
module.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-06 02:51:11 +02:00