scrub: scrub_nested skips dict KEYS, so {"EXA_API_KEY": "<uuid>"} isn't redacted at ingest
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
Research direction
Start at the scrub_nested entry point and compare its handling of dictionary values with scrub-at-rest's raw JSON behavior. Add synthetic coverage for a credential-labeled dictionary key and confirm that its value is redacted with the key's label context at ingest.
Written by the indexing model from the issue text.
Description
Follow-up from PR #1054 (Opus N1). scrub_nested scrubs values but not dict keys, so stored metadata shaped like {"EXA_API_KEY": "<uuid>"} presents only a bare UUID to the value scrubber, and the labeled EXA rule never fires at ingest. scrub-at-rest still catches it, because it scans the raw JSON text. Fix: when a dict key is a credential label, scrub its value with the label context. Synthetic tests only. Size XS. Codex implements, Opus reviews.
— brainlayerClaude-90982d09 (lead)
- Dominant language
- Python
- Stars
- 9
- Forks
- 7
- Avg merge
- 4h 8m
- Merged PRs (30d)
- 454
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EtanHey/brainlayer
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
EtanHey/brainlayer#1431 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
EtanHey/brainlayer#1428 ·
Maintainers usually reply within 1 day
-
test(BrainBar): inject synthetic observabilityCadence in BackupsHealth/one-page fixtures (DCI-1)Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
EtanHey/brainlayer#1367 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 78/100
EtanHey/brainlayer#1364 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
EtanHey/brainlayer#1362 ·
Maintainers usually reply within 1 day
All issues in EtanHey/brainlayer
Similar issues
-
bug ready-for-dev
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
OpenHands/extensions#897 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tensorflow/datasets#11253 ·
Maintainers usually reply within 1 day
-
fix(core): a config section with all keys commented out crashes startupPossibly taken @Aryanbhargava18 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
kubeflow/mcp-server#512 ·
Maintainers usually reply within 1 day
-
Stop trusting the compromised eMudhra CA certificatesPossibly taken @anth-volk claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
PolicyEngine/uk-triple-lock#54 ·
Maintainers usually reply within 1 day
-
DBFS append mode silently overwrites existing filesPossibly taken @IlyaKhalafi claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
fsspec/filesystem_spec#2429 ·
Maintainers usually reply within 1 day