REA Snap / Flatpak notes (unofficial)
Snap and Flatpak ship apps as bundled filesystems, not as a dedicated REA package type in 6.7.x.
Mental model
- No first-class Snap/Flatpak inspector in the advertised skill catalog — refuse to invent
inspect_snap. - Local authorized bundle → try admitted archive inventory; if refused, extract with host tools you trust, then analyze the inner ELF/PE/JS with existing routes.
- Store scraping is out of scope — only packages you are authorized to retain.
- Sandbox metadata (plugs/permissions) is host/policy documentation, not an REA Evidence schema.
Minimal path
- Confirm authorization for the
.snap/.flatpak/ installed tree. - Prefer extracting to a disposable lab directory with absolute paths (rea-absolute-paths).
- Run the appropriate REA route on the inner binary or app dir (native provider, JS analyze, etc.).
- Save Evidence; record that the container format was handled outside REA if needed.
Scope we will not cover
- No Snap Store / Flathub scraping.
- No sandbox escape cookbooks.
- No claiming REA mounts every squashfs automatically.
RepoRead is unofficial. Prefer the reverse-engineer-anything skill and host packaging docs.
FAQ
Does REA unpack Snap or Flatpak store packages automatically?
No inspect_snap or inspect_flatpak tool is advertised in rea-agents 6.7.0. Do not invent one. Prefer host tooling your lab licenses, then bring extracted authorized files into routes that exist.
Can I open a local .snap or .flatpak as an archive?
Only if the file happens to match an admitted archive form the session understands. Many bundles are squashfs/OCI-adjacent containers — expect refusal or a shallow member list rather than a full app graph.
How does this differ from deb/rpm notes?
rea-deb-rpm-notes covers classic distro packages. Snap/Flatpak add sandbox metadata and runtime mounts — still not a first-class REA inventory API in 6.7.0.
Is environment-export related?
rea-container-images documents REA's agentenv Dockerfile export — that is not Snap/Flatpak reverse engineering.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).