Skip to content

Security: bitanon/microbench

SECURITY.md

Security policy

Supported versions

Security fixes are published in new releases on pub.dev. We recommend using the latest release compatible with your Dart SDK. Older major or minor lines may not receive backports; ask in a report if you need a fix on a specific version line.

Reporting a vulnerability

Do not open a public issue, pull request, or discussion for undisclosed security vulnerabilities. That can put users at risk before a fix is available. Use Report a vulnerability (private vulnerability reporting) in the Security tab.

What to include

Helpful information for triage and fixes:

  • A short description of the issue and the affected component (e.g. the microbench command, ReportFile, a renderer).
  • The affected version(s) or commit, if known, and your environment (Dart SDK, platform) if relevant.
  • Steps to reproduce or a minimal proof of concept, when it is safe to share.
  • Impact (confidentiality, integrity, availability) and any suggested mitigation, if you have one.

Our process

  • We aim to acknowledge new reports within a few business days.
  • We will work with you on coordinated disclosure: we prefer to fix the issue, ship a release, and only then publish an advisory, unless there is a strong reason to do otherwise.
  • We may ask follow-up questions or for a re-test of a pre-release fix.

Scope (in)

microbench is a development tool, usually a dev dependency. Reports we want to see include:

  • The microbench command running a program or arguments other than the ones given, or writing outside its output folder.
  • ReportFile or --out/--save writing to a path other than the one given.
  • Renderers producing HTML or Markdown that injects markup from benchmark, group or column names, where those come from data you do not control.

Scope (out of scope or lower priority)

  • Code in your own benchmarks: microbench runs whatever run() does, by design.
  • Running dart run microbench on an untrusted benchmark file. Compiling and running it is its purpose; only run files you trust.
  • Inaccurate or noisy timing. That is a bug worth an ordinary issue, not a vulnerability.
  • Automated tool output without a clear, reproducible security impact.

We appreciate responsible disclosure and will credit reporters in release notes or advisories when they wish to be named.

There aren't any published security advisories