Sitelet https://github.com/mvt-project/mvt/pull/870
Skip to content

Add parsed timestamps to alerts - #870

Open
besendorf wants to merge 3 commits into
mainfrom
fix/alert-timestamps
Open

Add parsed timestamps to alerts#870
besendorf wants to merge 3 commits into
mainfrom
fix/alert-timestamps

Conversation

@besendorf

@besendorf besendorf commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Populate alert event times from timestamps already parsed by the corresponding Android and iOS modules.
  • Use explicit timestamp precedence for records that contain multiple dates.
  • Add regression assertions for multi-date alert handling.

Why

Some alerts omitted their event time even though the source module had already parsed a suitable timestamp. This kept otherwise timestamped detections out of the alert timeline.

For AppOps, an IOC match applies to the package name rather than to a particular permission entry. A package can have multiple last-access and last-rejection timestamps across its operations and UID states, so the alert uses the latest of those timestamps. This places the package-level alert at its most recent known AppOps activity without depending on permission iteration order. It does not represent the package installation time, compromise time, or IOC detection time.

@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Coverage

Tests Skipped Failures Errors Time
236 1 💤 0 ❌ 0 🔥 12.014s ⏱️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant