shivang0/GuardModel Security Scan
Scan ML model files for malicious code, vulnerabilities, and security risks
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Directory to scan (default: repository root) | no | . |
| config | Path to config file | no | .guardmodel.yml |
| fail-on | Minimum severity to fail (critical, high, medium, low, none) | no | high |
| output-sarif | Generate SARIF output | no | true |
| output-json | Generate JSON output | no | true |
| comment-on-pr | Post comment on PR with results | no | true |
| max-file-size | Maximum file size to scan (e.g., 5GB) | no | 5GB |
Outputs
| name | description |
|---|---|
| status | Scan status (passed, failed, error) |
| findings-count | Total number of findings |
| critical-count | Number of critical findings |
| high-count | Number of high findings |
| medium-count | Number of medium findings |
| low-count | Number of low findings |
| sarif-file | Path to SARIF output file |
| json-file | Path to JSON output file |
| scan-duration | Scan duration in milliseconds |