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. Thebenchmark_vectorization.pyscript uses themultiprocessingmodule 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.pyprocesses JSON training plans, andscripts/inspect_checkpoint.pyanalyzes model checkpoint files. - Boundary markers: Strict JSON parsing is implemented via
strict_json_loads, and theresolve_local_pathfunction 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_pathsfunction in_common.pyscans input data for keywords associated with credentials (API keys, secrets, etc.) and rejects any configuration containing them.
Audit Metadata