Repository navigation
Add Blink App Support for Android - #1196
Conversation
Add Blink App camera information: Created and updated timestamps for cameras Camera names Camera serial numbers Network type Camera Model
Added artifacts for Camera Entitlements, Syncmodule information, and Syncmodule entitlements.
Fixed reimport, the first __artifacts_v2__ with the import statement was present twice. Believe I fixed bad indentation, my local pylint didn't see anything.
Fix indentation (again)
|
Thanks for the contribution! This PR changes artifact modules without test data for them. A small fixture with each artifact change lets reviewers run the module against real data, and the committed case keeps guarding the module after merge.
Adding a fixture Generate it from your extraction with the helper (details in create_module_test_cases.md): It writes Size rules:
If your extraction cannot be shared:
If none of those fit, say so here and we will work it out. The PR can still be reviewed and merged with the gap recorded in the artifact's This is a request, not a gate. Nothing here blocks review. |
|
I may be able to use the helper. Let me verify there is no sensitive data. If that isn't possible, I will likely make a copy and sanitize the real db file. Thanks! |
|
I edited data that was sensitive from the original BlinkRoom db file, nothing is particularly identifying but just to be cautious. I've attached it here, it is not very large. I hope to eventually get my hands on some Blink cameras to be able to control actual tests, there's much more data that could be gleaned from the app, I just don't have a way of testing without cameras to connect. Thank you for your time! |
The entitlement table's primary key is (target, target_id, name), so target_id on its own does not name a device. Both entitlement artifacts joined on target_id alone, which lets one device's entitlements attach to another when a camera id and a sync module id collide. Both joins now also match entitlement.target against the device's own type column, and the target is reported as a column. Row counts on the tested file are unchanged at 26 and 4. The artifacts read the first BlinkRoom the seeker returned, so a second Android user's container was dropped. They now read every container through unique_files, which collapses the duplicate storage views of one file. Measured against a tree holding one container under two spellings, a second user, and a decoy package: every artifact doubles exactly and the decoy contributes nothing. Also in this change: - paths pick up the -wal and -shm sidecars, and are a tuple rather than a bare string. - The four timestamp columns are declared datetime, so they reach LAVA as epoch values and sort and filter. They are stored as ISO 8601 text with an explicit UTC offset. - Blink Syncmodule Information and Blink Syncmodule Entitlements both headed a column "Syncmodule Local Storage Status" while reading two different columns, local_storage_status and local_storage_enabled. The information artifact now reports local_storage_compatible, local_storage_enabled and local_storage_status separately and the entitlements artifact reports none of them. - Timestamps lead the column order, and the camera and sync module ids are reported so a row can be tied to its entitlements. - notes on all four artifacts record what was measured, what is reported as stored, and what is not established. Category is Blink so the four group under the app. Co-Authored-By: Frahm <[email protected]> Co-Authored-By: Claude Opus 5 <[email protected]>
|
Merged. Thank you for this, Christian. Good first contribution, and you picked an app nobody I pushed one commit to your branch before merging rather than sending you back round, so the The The artifacts also read only the first The rest is smaller. The path pattern picks up the If you do get cameras to work with, there is more in that database than we are reading. Thanks again. |
|
Quick follow up, Christian. The BlinkRoom you attached is now committed as the module's test case, so the parsers stay The module grew while I was in there. Your four tables are now nine artifacts, covering If you would rather the file was not in the repo, say the word and I will pull it. Thanks again, for the parsers and for sending the sample. |
|
Wow! Thank you very much for your time, review, and edits. I appreciate the time spent explaining the issues I had, this is definitely a learning experience for me. This started off as a small project on my own, as we had several back to back cases involving Blink cameras and information related to them. I hope to be able to contribute more in the future! I've told our people to keep an eye out for cameras, there is a lot more info that can be acquired if I could validate and test. I also have an iOS extraction with the app, and I am working on that one (time permitting) as well. I will be sure to improve my PR for that one when I am done with it. As for the test file, thank you for sanitizing it completely. I am more than comfortable leaving it in the repo. I appreciate all of your work and look forward to contributing in the future! |
BlinkApp had no committed fixture, so nothing guarded it after merge. This adds one case covering all nine artifacts, built from the BlinkRoom database Christian Frahm supplied on PR abrignoni#1196 and sanitized here before committing. What was changed: the camera, sync module, network, account and subscription identifiers were renumbered, the hardware serial numbers were replaced with same-length synthetic values, and the camera and network names were replaced, with the message text rewritten so it still names the camera it named. Every relationship moved together, so the entitlement joins, the key_value_pair keys that embed a camera id, clip_list_tab and message.network_id all still resolve. What was not changed, because the artifacts' notes measure it: every timestamp, the IANA time zone on the network row, the local offset on the key_value_pair value that corroborates that zone, the type and target codes the entitlement joins depend on, the entitlement names and statuses, the subscription plan and cycle values, and the autoincrement ids on message and tracking_event. The file was VACUUMed and then scanned byte by byte for every original value in every encoding SQLite uses for it, the rowid varint included, with each scan proven against the unsanitized copy first. Zero hits. Row counts are unchanged in every table and the nine artifacts report the same counts as on the original. run_test_cases passes 9 of 9 against the recorded baselines and 18 of 18 on the storage view arithmetic. Co-Authored-By: Frahm <[email protected]> Co-Authored-By: Claude Opus 5 <[email protected]>
Add Blink App Support for Android
This module adds support for 4 Blink artifacts:
All artifacts are present in the BlinkRoom database.
Test Device
This data was collected from a Samsung SM-A166U (A16 5G) running Android 16 with the 2025-10-01 security patch.
python admin/scripts/check_artifact_output.py <report folder>on that report and fixed or documented every finding. An empty or constant column is often a real result (no group chats, coarse location denied); the fix for those is to say so in the artifact'snotes, which is also what stops the checker reporting them.--Syncmodule Entitlements holds constant values on 4 columns. This is expected.
--compare <multi-container report>reads the scaling for you: it should be exactly double.notes,descriptionandsample_datasay only what the data shows, and the numbers were re-derived from the finished run.Anything reviewers should know
I cancelled the original PR for this app because it was poorly done. And this is my first PR and I am a git newcomer.