Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,20 @@ CLAUDE.md
.rooignore
.bolt/
.v0/

# === SECURITY: Credential patterns — added per Issue #5520 ===
*.pem
*.key
*.p12
*.pfx
*.jks
*.keystore
*.tokencache
credentials.json
service-account.json
.env
.env.*
!.env.example
*.secret
secrets.yaml
secrets.yml
31 changes: 31 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Security Policy — Google ADK

## Reporting a Vulnerability

If you discover a security vulnerability in this repository, please report it via:

- Google OSS VRP: https://bughunters.google.com
- Or open a GitHub Security Advisory

## Credential Handling

**NEVER** commit any of the following to this repository:

- OAuth access tokens (`ya29.*`)
- API keys (`AIzaSy*`)
- Service account JSON keys
- Private keys (`.pem`, `.key`)
- `.env` files with real credentials
- Any form of password or secret

Use environment variables or a secrets manager instead.

## Pre-commit Checks

Run before committing:
```bash
pip install detect-secrets
detect-secrets scan --all-files
```

Reported by: @k4w1992-lgtm | Google Issue: #504158909