Home /Examples/lib/examples/antivirus/BASIC-integrity-preflight.md

BASIC-integrity-preflight.md

lib/examples/antivirus/BASIC-integrity-preflight.md · 22 line(s) · markdown

Antivirus example (basic): run the integrity preflight

This is a real repository-integrity check, not a malware scan. It confirms that the files covered by the manifest still match their recorded SHA-256 digests.

From the repository root:

python3 tools/verify-before-execution.py \
  --manifest security/sha256-manifest.json \
  --root .

A PASS does not mean the repository is malware-free, that every file is covered, or that a live scanner ran. It only means "the covered files are unchanged since the manifest was recorded." Understanding that scope is the whole point of the basic example.