Skip to main content

Module execution

Module execution 

Source
Expand description

Static execution prerequisites.

Execution metadata is not a command string: it names either one regular payload file or one dotted Python module. Checking the file set proves those names can resolve without importing a package, running an __init__.py, or starting the application — so the check itself cannot be the thing that executes box code before the trust chain has finished.

Functions§

assert_execution_files
Confirms optional execution metadata names something runnable in a payload or archive.