Redact API keys from MCP responses#146
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis PR implements API key redaction verification by extending logger redaction patterns to cover ChangesAPI Key Redaction in Tool Responses
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Fixes #136.
Summary
pcsk_...Pinecone key prefixesTests
Using Node 24.14.0 from the local bundled runtime because the system Node 22.11.0 is below several package engine ranges.
npm test -- src/core/server/tool-response-redaction.test.ts src/core/server/tools/query-tool.test.ts src/alliance/tools/guided-query-tool.test.tsnpm run typechecknpm run lintnpm run format:checknpm run buildnpm testgit diff --checkSummary by CodeRabbit
Bug Fixes
Tests