Snap access to local packages dpkg data

You can use strict mode by using The system-files interface to access /var/lib/snapd/hostfs. I suggest you take a look at the cvescan snap that is doing precisely this.