validating-tpm-measured-boot-attestation

Pass

Audited by Gen Agent Trust Hub on Aug 17, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The scripts/agent.py script uses the subprocess module to execute tpm2-tools binaries for reading PCRs, replaying event logs, and generating attestation quotes. Evidence: The run function in scripts/agent.py executes commands like tpm2_pcrread, tpm2_eventlog, and tpm2_quote to interact with system hardware.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes data from the system's TPM event log and tool outputs, which constitutes an ingestion point for potentially untrusted data. 1. Ingestion points: Data is read from /sys/kernel/security/tpm0/binary_bios_measurements and captured from CLI tool output in scripts/agent.py. 2. Boundary markers: The skill does not implement explicit boundary markers to isolate processed system data from the agent's internal instructions. 3. Capability inventory: The skill has capabilities for subprocess execution (subprocess.run) and file writing (Path.write_text) in scripts/agent.py. 4. Sanitization: Output from system tools is parsed using regular expressions to extract specific hexadecimal values before being included in reports.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 17, 2026, 04:01 PM
Security Audit — agent-trust-hub — validating-tpm-measured-boot-attestation