Report a suspected vulnerability privately with Report a vulnerability on the repository's Security tab (direct link: github.com/sekacorn/ModelSwapBench/security/advisories/new). This is GitHub's private vulnerability reporting: the report stays private between you and the maintainers until an advisory is published. Please do not open a public issue. We aim to acknowledge within a few days.
| Advisory | Affected | Fixed in |
|---|---|---|
GHSA-gqgx-c3hr-wrm5: credentials and tokens in a model's base_url were written to run artefacts and logs |
<= 0.1.0b4 |
0.1.0b5 |
All advisories: github.com/sekacorn/ModelSwapBench/security/advisories.
ModelSwapBench is local-first and privacy-preserving by default:
- No hosted providers by default. Benchmark data never leaves the machine
unless you pass
--allow-hostedand setprivacy.allow_hosted_providers. - No telemetry, no auto-upload, no account.
- Safe YAML. Benchmark files are parsed with
yaml.safe_load; arbitrary Python is never executed. No custom-code evaluators in v0.1. - Secret hygiene. API keys are read from environment variables by name and are never written to results or reports. Logs and reports are redacted.
- Path safety. All run artifacts are written within the storage directory; traversal and symlink escapes are blocked. Deletion is scoped and confirmed.
- Bounded resources. Concurrency, output size, retries, and timeouts are capped to mitigate runaway cost and denial-of-service.
- Untrusted output. Model output is treated as untrusted and HTML-escaped in reports.
See THREAT_MODEL.md for the full analysis.
v0.1.x (beta) receives security fixes on a best-effort basis.