← Back to the engagement portal  · Xari · Lodestar LNK9
Confidential — Lodestar engagement · remediation guidance for the Xari dev team
Xari, LLC · Cyber-Physical Systems Security

LodeStar Companion App — Remediation Plan

Lodestar v2.0.15 · com.xari.lodestar · §6 MASVS · 2026-06-12
7
actionable items
5
quick wins (≤ ½ day)
1
priority-1 (do first)
65→
risk score today (improves as items close)

Every finding from the audit, paired with a concrete fix, an effort estimate and an owner. Most are pipeline/process hardening — separating dev and prod builds, tightening signing and key restrictions — not rewrites. Closing the quick wins alone lifts the posture materially before the next build. Items are ordered P1 → P4.

Remediation items

P1 Non-production backend endpoint shipped in release build ★ quick win
Surface: MASVS-CODE · MOB-001 Effort: M (1–2 days) Owner: Mobile + CI/CD
A development/staging API base URL is embedded in the shipped, production-signed app. Dev backends are commonly weaker (verbose errors, looser auth, test data) and widen the attack surface against the firearm's command/cloud path.
Fix
OWASP MASVS-CODE · MASTG-TEST build-config
P2 App signed with a development identity ★ quick win
Surface: MASVS-RESILIENCE · MOB-001 Effort: S (2–4 h) Owner: Release engineering
The signing certificate names a Development/Debug identity rather than a guarded production release key — review the release signing process and key custody.
Fix
OWASP MASVS-RESILIENCE · Android app signing
P2 No Network Security Config
Surface: MASVS-NETWORK · MOB-001 Effort: S (2–4 h) Owner: Mobile
No explicit network_security_config.xml. Cleartext is off by default for targetSdk≥28, but an explicit config (+ cert pinning) is recommended for a safety-critical app.
Fix
OWASP MASVS-NETWORK · Android NSC / iOS ATS
P2 Firebase API key embedded ★ quick win
Surface: MASVS-CODE · MOB-001 Effort: S (2–4 h) Owner: Backend / Firebase
A Firebase/Google API key is shipped in the app. This is normal for Firebase but MUST be locked down with API key restrictions + Firebase Security Rules, or it enables abuse of the project's backend.
Fix
OWASP MASVS-CODE · Firebase API key restrictions
P3 1 app-owned exported component(s) ★ quick win
Surface: MASVS-PLATFORM · MOB-004 Effort: XS (~30 min) Owner: Mobile
Exported components are reachable by other apps on the device. Confirm each validates its caller and cannot be coerced into a privileged action.
Fix
OWASP MASVS-PLATFORM · Android exported components
P3 Sentry DSN embedded ★ quick win
Surface: MASVS-CODE · MOB-001 Effort: XS (~30 min) Owner: Mobile / Observability
A Sentry DSN is embedded (expected for crash reporting); confirm it is ingestion-only and rate-limited so it cannot be abused.
Fix
OWASP MASVS-CODE
P4 Proprietary BLE GATT contract recovered (15 UUIDs)
Surface: MASVS-CODE · BLE-003 Effort: — (—) Owner: Firmware + Mobile (design)
The app's custom BLE service/characteristic UUIDs were recovered from the binary. These are the LNK9 command channel — classify which characteristic commands the sear and gate it under the safety interlock when probing (BLE-003).
Fix
Proposal §1/§2 (BLE spine) · BLE-003 / CRYPTO-003