Please report security vulnerabilities to security@awsys.co. Do not open a public GitHub issue.
This repository enforces strict secret hygiene:
- Pre-commit hook (
.githooks/pre-commit): Blocks any commit containingawsys_API keys,.envfiles, or common secret patterns. Activate withgit config core.hooksPath .githooks. - GitHub Actions (
.github/workflows/secret-scan.yml): Every push and PR is scanned with gitleaks. - GitHub secret scanning: Enabled automatically on this public repository.
.gitignore: All.env*files, credential files, and key files are blocked.
- Never hardcode API keys in source files — not even in tests.
- Never commit
.envfiles — copy.env.exampleto.env.testlocally. - Use environment variables for all secrets in tests and CI.
- Rotate immediately if a key is accidentally committed — assume it is compromised.
cp .env.example .env.test
# Edit .env.test and add your AWSYS_API_KEY
# This file is gitignored and will never be committed- Rotate the key immediately (generate a new one in your AWSYS dashboard).
- Contact security@awsys.co.
- Use
git filter-repoor BFG Repo Cleaner to purge the history. - Force-push the cleaned history (coordinate with the team).