Archive and Backup Content Classification
Decide which compressed or backup artifacts get opened and which are skipped, because an unread archive is a coverage claim nobody has actually tested
Use when: archives, database dumps or backup files exist inside the readable boundary
Avoid when: the boundary excludes archives in writing and no compressed artifact is readable
Procedure
- List every archive and backup artifact with its type, size and whether it is tracked.
- Decide per artifact whether to open it, using the boundary and the size as the constraint, and record the decision.
- For opened artifacts, extract to a temporary directory outside the tree and scan the contents as a nested surface.
- Record which members of an archive produced findings and at what depth, since a value two levels deep is still in scope.
- Delete temporary extractions when finished and record that the deletion happened.
- Classify artifacts that were not opened as uncovered, with the reason, rather than as clean.
Signals
- An archive exists and no plan step decides whether to open it
- A backup dump sits in the tree and was counted as scanned because its container was listed
- Temporary extraction directories were left behind after a session
- An artifact was reported clean without ever being opened
Patterns
1. Artifact decision
artifact: data-backup.tgz | type: tarball | decision: open | members scanned: 142 | findings at depth: 2 | temp deleted: yes
2. Unopened label
unopened artifact -> label uncovered with reason (size, boundary, tool limit); never label it clean
3. Depth record
record the deepest member scanned so coverage is stated as a measured depth rather than a yes
Pitfalls
- Calling an unopened archive clean because its filename looked harmless
- Leaving extracted copies of sensitive content in a temporary directory
- Reporting coverage over an archive when only its member list was read
Done when
- Every archive has an open or uncovered decision with a reason and, if opened, a scanned depth
- Temporary extraction is confirmed deleted and recorded