feat: implement tuppence a bag honeypot#96
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@coderabbitai review |
|
Warning Review limit reached
More reviews will be available in 47 minutes and 29 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Adds a honeypot short-circuit to the op.get CLI path so requests for the special honeypot/tuppence credential return a dummy value and emit a dedicated audit event.
Changes:
- Intercepts honeypot path requests in
runGet()and returns a generated dummy token to stdout. - Emits a new Chronicle audit event (
op.get.honeypot) on honeypot interception.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| const path = parseCredentialPath(pathArg); | ||
|
|
||
| // Tuppence a Bag Honeypot Intercept | ||
| // If the path asks for the honeypot credential, return a dummy credential immediately. | ||
| if (path.vault === "honeypot" && path.item === "tuppence") { |
| // Tuppence a Bag Honeypot Intercept | ||
| // If the path asks for the honeypot credential, return a dummy credential immediately. | ||
| if (path.vault === "honeypot" && path.item === "tuppence") { | ||
| const dummyToken = `chitty_honey_${Math.random().toString(36).substring(2, 15)}_${Date.now()}`; |
| if (path.vault === "honeypot" && path.item === "tuppence") { | ||
| const dummyToken = `chitty_honey_${Math.random().toString(36).substring(2, 15)}_${Date.now()}`; | ||
| process.stdout.write(`${dummyToken}\n`); | ||
| await logEvent({ | ||
| service: "chitty-1p-bridge", | ||
| event: "op.get.honeypot", | ||
| actor: opts.actor, | ||
| data: { path: pathArg, triggered: true }, | ||
| }); | ||
| return 0; |
Adds a honeypot intercept for op://honeypot/tuppence credentials that immediately returns a dummy credential and logs an op.get.honeypot event