Allow repo-local leading-slash paths in blind-sheet leak scan
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 22/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- devtools
Research direction
The work is in the blind-sheet leak scanner's handling of leading-slash path tokens, resolved against the case repoRoot. Read the scanner's token-matching and containment code, then the existing refusal tests, before adding regression fixtures for in-root, traversal, one-segment and private-root tokens. Done means in-root tokens pass unchanged, out-of-root and private-root tokens are still refused, and the frozen #460 exporter is untouched. The issue is blocked until an operator assigns an owner after #460 grading finishes.
Written by the indexing model from the issue text.
Description
Status
Backlog, dev-only follow-up after #460 grading. Owner: unassigned; operator assigns implementation after the campaign's blind grading and reconciliation finish. Do not change the frozen #460 exporter or its binding.
Problem
The blind-sheet leak scanner can refuse a leading-slash path token even when that path resolves to a file inside the selected case's repository root. Rewriting such text is not acceptable because it is graded content.
Acceptance
- For a leading-slash path token, resolve it relative to the case
repoRootusing containment-safe path handling. - Accept the token unchanged only when it resolves inside that
repoRootand is not under machine-private roots (/home,/tmp,/Users,/var, eval directories, or worker home). - Continue refusing tokens that resolve outside
repoRootor under private roots; do not rewrite or redact graded text. - Check each matched token independently and preserve the existing refusal behavior for other leak classes.
- Add regression fixtures for leading-slash tokens with and without a directory component (for example
/src/x.tsand a one-segment token), traversal/out-of-root paths, and private-root paths. Exercise containment for short tokens too; do not broadly exempt arbitrary unresolved slash strings. - Land only as a dev-only repo-runner change after #460 grading is complete; do not alter that campaign's frozen exporter or results.
Next step
After #460 blind grading and reconciliation, operator assigns an implementation owner; then add the containment-safe path check and tests in a separate PR.
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 1
- Avg merge
- 1h 24m
- Merged PRs (30d)
- 192
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 0xPolygon/codegenie
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
Maintainers usually reply within 1 day
-
bug stage7-harness
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
stage7-harness
Difficulty 5/5 Over a week Newbie friendliness 5/100
0xPolygon/codegenie#480 · 1 comment ·
Maintainers usually reply within 1 day
-
bug stage7-harness
Difficulty 4/5 3-5 days Newbie friendliness 18/100
0xPolygon/codegenie#475 · 1 comment ·
Maintainers usually reply within 1 day
All issues in 0xPolygon/codegenie
Similar issues
-
P3
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug L3 level 1 needs-review wocs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
SatyamPandey-07/WorkSphere#10739 · 1 comment ·
Maintainers usually reply within 1 day
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
assistant-ui/assistant-ui#10946 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
openclaw/openclaw#206303 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day