Skip to content

chore: enroll the Hub in OSS Scanner - #1459

Merged
dunglas merged 4 commits into
mainfrom
chore/oss-scanner
Oct 24, 2026
Merged

dunglas merged 4 commits into
mainfrom
chore/oss-scanner

Conversation

@dunglas

@dunglas dunglas commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Enrolls the Hub in Anthropic's OSS Scanner.

  • .oss-scanner/Dockerfile: builds the library, the Caddy module and the hub binary with the release build tags, compiles every test binary (plain and -race), and runs both suites without failing the build on test failures.
  • .oss-scanner/threat_model.md: entry points, what matters most, how to run a hub offline, and how we rate severity.
  • SECURITY.md: lists contact+security@mercure.rocks for Hub reports too, since the scanner sends reports to an address listed there.
  • TestNewBoltTransport assumed /test.db is not writable, which panics when tests run as root (as in the scanner image) and aborts the whole package. It now uses a regular file as the parent directory.

@dunglas
dunglas merged commit a5c87f1 into main Oct 24, 2026
47 checks passed
@dunglas
dunglas deleted the chore/oss-scanner branch October 24, 2026 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant