Please do not open a public issue for security vulnerabilities.
Instead, report privately via GitHub Security Advisories: https://github.com/redstone-md/g3/security/advisories/new
Include a description, reproduction steps, affected version/commit, and impact. We aim to acknowledge reports within a few days.
- Secrets: never commit
.env. ProvideG3_*values via your platform's secret manager. - Encryption key:
G3_ENCRYPTION_KEYencrypts stored Google refresh tokens. If unset, a key is generated in the data dir — keep that directory private and backed up. - Sessions are opaque, hashed-at-rest tokens in httpOnly cookies. Run the panel behind HTTPS and
set
G3_DEV=falseso the session cookie isSecure. - S3 access keys: secrets are shown once on creation and stored encrypted. Rotate (revoke + recreate) if leaked.
- Keep dependencies updated and run
npm audit/go vetperiodically.