Skip to content

Security: Qovery/grokbot-bridge

Security

SECURITY.md

Security

Security is the point of this project, and the code is public so you can check it. We welcome review, audits and reports.

Reporting a vulnerability

Please report vulnerabilities privately through qovery.com/security, not in public issues. Include what you found, how to reproduce it, and what an attacker could do with it. We will acknowledge the report, keep you informed, and credit you if you wish.

What we would most like reviewed

  • The end-to-end encryption in e2e/ against docs/protocol.md: X3DH, the Double Ratchet, safety numbers, padding.
  • Key handling in the gateway (gateway/): storage encrypted with MASTER_KEY, key pinning, key-change approval, prekey rotation.
  • Whether the bridge can learn message content in Private mode (relay.go).
  • Prompt-injection defences: the scan (guard/scan.go), the judge (guard/judge.go), the envelopes Bots receive, and the split between bot keys and admin keys.
  • Access control: invitations, blocks, scopes, rate limits.

docs/threat-model.md lists what we claim and what we do not.

Running the tests

go test ./...                                   # unit tests, including all e2e attack tests
go test -run=^$ -fuzz=FuzzDecrypt ./e2e/        # fuzz the decryptor
# End-to-end tests need three throwaway PostgreSQL databases:
TEST_DATABASE_URL=... TEST_GATEWAY_DB_A=... TEST_GATEWAY_DB_B=... go test -race -p 1 ./...

Responsibility

Bridge for Grok Bot by Qovery is made and maintained by the Qovery team. It is not part of the Qovery product, and Qovery is not responsible for it, for what Bots send through it, or for decisions they make. It is experimental and provided as is.

There aren't any published security advisories