pufferlib

Pass

Audited by Gen Agent Trust Hub on Sep 2, 2026

Risk Level: SAFE
Full Analysis
  • [DATA_EXPOSURE_AND_EXFILTRATION]: The skill implements a secret_key_paths detector in scripts/_common.py to identify and block credential-bearing keys (like API tokens or private keys) from being included in training plans or checkpoint metadata. It also correctly advises using environment variables for logging service credentials rather than hardcoding them.
  • [DYNAMIC_EXECUTION]: To protect against malicious model files, scripts/inspect_checkpoint.py validates checkpoint headers and hashes without using torch.load or pickle.load. This prevents the execution of arbitrary code during the inspection process, a common attack vector in machine learning pipelines.
  • [DATA_EXPOSURE_AND_EXFILTRATION]: The bundled scripts use a robust resolve_local_path utility that prevents path traversal attacks (e.g., using ../) and optionally rejects symbolic links, ensuring all file operations are confined to a designated root directory.
  • [COMMAND_EXECUTION]: While the skill provides tools to generate training commands, scripts/train_template.py explicitly only provides a preview of the command for human review and does not execute the generated commands itself.
  • [INDIRECT_PROMPT_INJECTION]: The skill manages the attack surface for external data by using strict JSON schema validation, numerical bounds checking, and type enforcement in scripts/validate_plan.py and scripts/_common.py, effectively sanitizing input before it reaches processing logic.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 2, 2026, 01:28 PM