Skip to content

Security: sekacorn/ModelSwapBench

SECURITY.md

Security Policy

Reporting a vulnerability

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.

Published advisories

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.

Security posture

ModelSwapBench is local-first and privacy-preserving by default:

  • No hosted providers by default. Benchmark data never leaves the machine unless you pass --allow-hosted and set privacy.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.

Supported versions

v0.1.x (beta) receives security fixes on a best-effort basis.

Learn more about advisories related to sekacorn/ModelSwapBench in the GitHub Advisory Database