AGENTS.md@assistant/src/security ยท diff
git:20260325.c9fd5f1 to git:20260724.ecced08
1 added, 1 removed. Audit A to A.
# Security โ Agent Instructions
## Integration API Key Patterns
- When adding a new third-party integration, check whether the service uses a recognizable API key prefix (e.g., `lin_api_`, `sk-ant-`, `ghp_`). If it does, add a corresponding entry to `PREFIX_PATTERNS` in `secret-patterns.ts`. This is the single source of truth for prefix-based secret detection โ ingress blocking, tool output scanning, and log redaction all consume this list.
+ When adding a new third-party integration, check whether the service uses a recognizable API key prefix (e.g., `lin_api_`, `sk-ant-`, `ghp_`). If it does, add a corresponding entry to `PREFIX_PATTERNS` in `packages/service-contracts/src/secret-detection.ts` (`@vellumai/service-contracts/secret-detection`). This is the single source of truth for prefix-based secret detection โ ingress blocking, tool output scanning, log redaction, and the web composer guard all consume this list. `secret-patterns.ts` in this directory is a re-export that preserves existing daemon import paths.
OAuth-only services with opaque access tokens (no fixed prefix) do not need a pattern.