Analytics are filled with ominous and scarily-worded and utterly-benign messages. You’re effectively looking for needles in ever-increasing haystacks, without knowing what the needles look like, or even if there are any needles. And the quantity of haystacks to search will always be increasing.
Absent use of massively expensive and sophisticated exploit tooling typically used for espionage and political targeting and similar, there are no common exploits. This per available information.
If you are an investigative journalist, political dissident, with access to sensitive or classified information, senior in government or private organization, or with access to financial data or great wealth, or similar roles, the calculations here will shift and you will want to acquire security advice tailored to your situation.
For most of us, what messes do arise typical involve password and passcode compromises, and such.
If you have identified security issues with HP SMART app, collect evidence of that and report that to HP, and remove the app.
Consider using a printer with AirPrint support, as that avoids the need to load vendor drivers for most printing and scanning tasks.
Most new apps on iOS and iPadOS use SwiftUI. If you have identified a security exploit involving SwiftUI, collect relevant details of that and report that to Apple.
Wipe and re-install the current released version and not any beta (per the footer here), and run Safety Check:
… Personal Safety User Guide - Apple Support