pufferlib

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill demonstrates exceptional security awareness and incorporates best practices to protect the execution environment. The bundled tools are designed for safe, deterministic, and bounded operation.- [COMMAND_EXECUTION]: The skill provides several Python scripts (scripts/*.py) for validating environment contracts, benchmarking vectorization, and generating training plans. These scripts operate locally on synthetic or verified data and include resource caps to prevent exhaustion. The benchmark_vectorization.py script uses the multiprocessing module for performance testing in a controlled manner.- [EXTERNAL_DOWNLOADS]: The documentation describes procedures for installing PufferLib and its dependencies from PyPI and official GitHub repositories. These operations are explicitly tied to verified hashes and specific commit pins. The skill proactively warns against insecure installation methods and recommends the use of sandboxed environments and lockfiles.- [INDIRECT_PROMPT_INJECTION]: The skill includes tools that process training configurations and model metadata. This potential attack surface is thoroughly secured:
  • Ingestion points: scripts/validate_plan.py processes JSON training plans, and scripts/inspect_checkpoint.py analyzes model checkpoint files.
  • Boundary markers: Strict JSON parsing is implemented via strict_json_loads, and the resolve_local_path function prevents directory traversal by confining file access to an explicit root directory.
  • Capability inventory: Capability is limited to local diagnostics and synthetic environment simulation; the skill explicitly avoids executing or deserializing untrusted model code (e.g., via torch.load).
  • Sanitization: The secret_key_paths function in _common.py scans input data for keywords associated with credentials (API keys, secrets, etc.) and rejects any configuration containing them.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 01:32 PM