Repository navigation
v0.22.1
Security hardening: private log, overlay taps, stricter updater URL, safer release notes
Fixes from a security audit of the app and the release pipeline. Neither audit found an exploitable issue; these close the gaps it listed. These commits landed on the #63 branch after it was merged, so they were not in v0.22.0.
App
- Private log: the log moves from
Android/data, readable by other apps on Android 9–10 (raw car data with Record car data on), to app-private storage. The old file moves over once and is always deleted; at most 512 KB is copied, in whole lines. Get the log out with Share or Save to Download on the Log screen. - Overlay taps: taps are ignored while another app draws over the main, Settings and Log screens and their dialogs.
- Microntek: status lines are capped at 200 a day, so faked broadcasts cannot flood the log, and a broadcast with unreadable extras is dropped instead of crashing the app.
- Vendor car app:
com.tw.car's profile is read only when it is a system app, so a sideloaded fake cannot change the detected car. - Updater: the APK URL must be an https
github.comrelease asset of this repository, checked withURI, with no.., query or user info.
Release pipeline
- Release notes: they come from the pull request only when the repository owner wrote it, matched by account id. Anyone else's pull request gets generated notes, because an author can still edit a merged pull request before the release is approved.
Checked:
sh test.shpasses (25 suites, with new LogMigration, DownloadUrl and car-data tests), and the build passes.- On the emulator: v0.21.0 wrote its log to
Android/data. After installing this build, that file was gone and the private log held its lines plus the new ones. Save to Download wrote the full log.
Merging releases v0.22.1 (fix/).
🤖 Generated with Claude Code