create-model-verification-card
Pass
Audited by Gen Agent Trust Hub on Jul 22, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
shlex.splitfor safe command parsing and includes a validation script (scripts/validate_card.py) that proactively blocks shell command substitution (backticks, dollar-parenthesis) and dangerous redirection patterns in the model cards. - [DATA_EXFILTRATION]: The skill implements a strict privacy boundary. The
validate_card.pyscript contains extensive regex patterns to detect and block the accidental inclusion of sensitive information such as IP addresses (IPv4 and IPv6), email addresses, absolute file paths, and scheduler job metadata. - [CREDENTIALS_UNSAFE]: The skill explicitly forbids and scans for hardcoded secrets, tokens (e.g., HF_TOKEN, ACCESS_TOKEN), and API keys within the verification cards through the
SECRET_ASSIGNMENT_REandSECRET_FLAG_REdetectors in the validation script. - [DYNAMIC_EXECUTION]: The static analysis warning regarding
eval()inscripts/verify_hf_inference.pyis a false positive. The code callsmodel.eval(), which is a standard PyTorch library method used to set a model to evaluation mode, not the dangerous Pythoneval()function. - [DYNAMIC_EXECUTION]: The
yaml.load()call inscripts/validate_card.pyis used with a custom_UniqueKeyLoaderthat inherits fromyaml.SafeLoader. This ensures that only standard YAML scalars are processed, preventing unsafe object deserialization attacks.
Audit Metadata