REA container-layer notes (unofficial)
Container layers become REA inputs after extraction. Do not invent a first-class OCI reverse-engineering product for 6.7.x.
Mental model
- Authorize the image/tarball (your build, customer deliverable, lab corpus).
- Extract layers/filesystem with host tools — outside REA.
- Route each interesting file through the matching REA lane (native, JS, Android, archive).
- Keep Evidence per member path; record that OCI handling happened outside REA.
Minimal path
# host: save/extract an authorized image to a disposable lab directory
# then, examples of re-entry (choose what matches the member):
npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json
# or native/static routes on /absolute/path/to/binary
Compare
| Need | Page / posture |
|---|---|
| agentenv Dockerfile export | rea-container-images |
| Layer/FS reverse engineering | This page — extract then known routes |
| deb/rpm inside a layer | rea-deb-rpm-notes after extract |
| Snap/Flatpak bundles | rea-snap-flatpak |
Scope we will not cover
- No registry credential theft or mass Hub scraping.
- No container escape / privilege-escalation cookbooks.
- No claiming REA mounts every overlayfs automatically.
RepoRead is unofficial. Prefer CLI/agent-environment docs for export, and host OCI tools for layers.
FAQ
Does REA inventory arbitrary OCI/Docker images?
No general inspect_oci_image / layer walker is advertised in rea-agents 6.7.0. rea-container-images covers environment-export Dockerfiles for agentenv — a different feature.
How do I analyze a local image I am authorized to hold?
Extract layers or filesystem trees with host tooling your lab licenses (docker save/skopeo/umoci/etc. per your policy), then point REA at absolute paths of ELF/PE/JS/apk members.
Are layer tarballs just archives?
Often yes — gzip/tar members. Inventory if admitted; otherwise extract, then re-enter known routes.
Can RepoRead pull from Docker Hub for me?
No. No registry scraping or credential theft.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).