REA Snap / Flatpak notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Snap and Flatpak ship apps as bundled filesystems, not as a dedicated REA package type in 6.7.x.

Mental model

  1. No first-class Snap/Flatpak inspector in the advertised skill catalog — refuse to invent inspect_snap.
  2. 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.
  3. Store scraping is out of scope — only packages you are authorized to retain.
  4. Sandbox metadata (plugs/permissions) is host/policy documentation, not an REA Evidence schema.

Minimal path

  1. Confirm authorization for the .snap / .flatpak / installed tree.
  2. Prefer extracting to a disposable lab directory with absolute paths (rea-absolute-paths).
  3. Run the appropriate REA route on the inner binary or app dir (native provider, JS analyze, etc.).
  4. 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).

Sources