Skip to main content

pytorch-patterns

Provides best practices and patterns for building efficient and reproducible deep learning applications using PyTorch.

Install this skill

or
30/100

Security score

The pytorch-patterns skill was audited on May 18, 2026 and we found 4 security issues across 1 threat category, including 1 critical. Review the findings below before installing.

Categories Tested

Security Issues

high line 183

Eval function call - arbitrary code execution

SourceSKILL.md
183model.eval() # Always set eval mode — disables dropout, uses running BN stats
critical line 339

Eval function call - arbitrary code execution

SourceSKILL.md
339| `model.train()` / `model.eval()` | Always set mode before train/eval |
high line 353

Eval function call - arbitrary code execution

SourceSKILL.md
353# Bad: Forgetting model.eval() during validation
high line 359

Eval function call - arbitrary code execution

SourceSKILL.md
359model.eval()
Scanned on May 18, 2026
View Security Dashboard
Installation guide →