pufferlib

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFE
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill provides instructions for installing PufferLib via PyPI and GitHub. It includes specific SHA-256 hashes and immutable commit pins (e.g., commit 25647630e1b15330bb3153a5a0d3ff8d234c3acf) to ensure supply chain integrity. The documentation explicitly warns users to audit build scripts that fetch external assets like Raylib or Box2D.
  • [COMMAND_EXECUTION]: The skill bundles several Python utility scripts (e.g., benchmark_vectorization.py, env_contract_validator.py) meant for local use. These scripts are designed to be dependency-free, relying only on the Python standard library, and use safe multiprocessing contexts (spawn/forkserver) to avoid issues with native libraries.
  • [CREDENTIALS_UNSAFE]: Proactive security measures are implemented in scripts/_common.py, which uses regular expressions to detect and reject potential credentials (API keys, tokens, secrets) in training plans. This prevents sensitive information from being accidentally processed or logged.
  • [INDIRECT_PROMPT_INJECTION]: To mitigate risks from untrusted training configurations, the skill utilizes scripts/validate_plan.py to enforce strict schema validation, type checking, and resource capping on all training plans before they are accepted for use.
  • [DYNAMIC_EXECUTION]: The scripts/inspect_checkpoint.py tool is designed for safety by hashing and inspecting binary headers of model checkpoints without performing unsafe deserialization via torch.load or pickle. It uses low-level file descriptors with O_NOFOLLOW to prevent symlink-based attacks during inspection.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 03:30 PM