You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Security: mugilnimbus/Model-Lab
Security
docs/SECURITY.md
Security
The application is for the local machine owner. It binds loopback and has no authentication or multi-user authorization. Do not expose it as a public service.
Boundary
Protection / limit
Untrusted input
Checkpoints, configuration, Hub responses, names and exported attributes are treated as data
Model code
Inspection does not execute downloaded code; Transformers uses trust_remote_code=False
PyTorch
CPU fake tensors and weights_only=True; no unrestricted pickle fallback
Parsing
Header, count, nesting, transfer and operation bounds; malformed data fails explicitly
File selection
Directory/shard containment; browser folders confined to model root; linked entries excluded
Browser
Escaped text, HTTPS-only external source links and foreign-origin rejection for writes
Local clients
Origin checks do not authenticate command-line clients or hostile local processes
Workers
Owned processes, bounded protocol and deadlines; not an OS sandbox
Windows lifetime
Kill-on-close Job Objects and graceful runtime release
Private data
Data
Handling
HF credentials
Local HF_ACCESS_TOKEN/HF_TOKEN or ignored .env, including docs/.env; never browser/job arguments