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_pathsdetector inscripts/_common.pyto 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.pyvalidates checkpoint headers and hashes without usingtorch.loadorpickle.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_pathutility 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.pyexplicitly 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.pyandscripts/_common.py, effectively sanitizing input before it reaches processing logic.
Audit Metadata