diffusers-ascend-weight-prep
Warn
Audited by Socket on Oct 20, 2026
1 alert found:
AnomalyAnomalyscripts/generate_fake_weights.py
LOWAnomalyLOW
scripts/generate_fake_weights.py
This utility downloads or reads model metadata and generates fake model weights. It is not inherently malicious, but loading untrusted transformer metadata with trust_remote_code=True can execute repository-supplied Python code, and unchecked metadata component names can affect filesystem paths. Treat untrusted model repositories and metadata as unsafe; severity is moderate. No suspicious hardcoded domains, IP addresses, credentials, or explicit data exfiltration are present.
Confidence: 98%Severity: 58%
Audit Metadata