pytorch-patterns
Pass
Audited by Gen Agent Trust Hub on Mar 24, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill is entirely composed of documentation and instructional code snippets for PyTorch development. No malicious patterns, obfuscation, or unauthorized access attempts were identified.
- [INDIRECT_PROMPT_INJECTION]: The skill defines patterns for data ingestion, which is a standard surface for indirect injection in machine learning contexts.
- Ingestion points: The
ImageDatasetclass inSKILL.mddefines a mechanism for reading image files from a local directory. - Boundary markers: Not present in the educational code snippets.
- Capability inventory: The skill demonstrates file reading (
Image.open), model checkpointing (torch.save/torch.load), and JIT compilation (torch.compile). - Sanitization: The skill mitigates risks by explicitly recommending
weights_only=Truewhen usingtorch.load, which prevents arbitrary code execution during model deserialization.
Audit Metadata