Apply CodeRabbit security best practices for secrets and access control. Use when securing API keys, implementing least privilege access, or auditing CodeRabbit security configuration. Trigger with...
Use documented CodeRabbit Security and tools while retaining independent scanners and human review. AI findings cannot prove absence of vulnerabilities.
references/official-docs.md and re-check any time-sensitive contract before execution.Treat Git-provider sessions, CodeRabbit web sessions, CLI credentials, and CodeRabbit API keys as separate credentials. Use only an already-approved session or secret-manager reference, never print a secret, and do not place credentials in .coderabbit.yaml, source files, logs, or deliverables.
Classify threat model, sensitive paths, languages, builds, checks, and requirements.
Map risks to supported tools, guidance, external gates, or manual controls.
Configure supported layers and retain provider security checks.
Test safe seeded fixtures, record gaps, and define escalation.
Require security approval before disabling tools, excluding sensitive paths, or accepting high-risk findings. Keep analysis and drafts local until approval is explicit, and record who approved the action and its scope.
A threat-control matrix, patch, independent-gate inventory, fixture evidence, gaps, and escalation. Include source dates, unknowns, and the exact boundary between observed fact and recommendation.
| Condition | Response |
|---|---|
| Current contract is unclear or docs disagree | Stop mutation, cite both sources, and request owner resolution. |
| Required access or approval is missing | Produce a draft and evidence plan only. |
| Validation or pilot behavior differs from expectation | Restore the prior state and retain the failed evidence. |
| Output contains secrets or private code | Stop, quarantine the artifact, redact it, and notify the data owner. |
Enable secret and IaC tools while keeping provider scanning.
Test SkillSpector with a synthetic unsafe MCP fixture.
references/official-docs.md.