Keep rejected BASE credentials out of Ego eval logs
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- github-actions, javascript, node.js
Research direction
Read tools/eval/lobby-flavio-ego.mjs, especially the BASE parsing and credential validation at lines 12 and 21. Add regression coverage that runs the script with sentinel values in malformed and credentialed URLs, then check that neither stdout nor stderr contains the sentinel. The issue is done when both error paths use fixed or sanitized messages and the tests pass.
Written by the indexing model from the issue text.
Description
Severity: low (eval/CI credential disclosure).
The copy merged to staging in b03a6c39e536826dcf9fa8206da1b0a659c75261 reflects the raw BASE value into process errors:
tools/eval/lobby-flavio-ego.mjs:12constructsnew URL(BASE)before validation. Node'sERR_INVALID_URLincludes the raw input for malformed URLs.tools/eval/lobby-flavio-ego.mjs:21rejects URL credentials but interpolates the originalBASEinto the thrown error, copying the rejected username/password into stderr and CI logs.
I reproduced both paths at b03a6c3 in child processes with a fake sentinel. The credentialed-URL and malformed-URL cases both exited 1, and captured output contained the sentinel in each case. No credential or sentinel value is included here.
Please catch parsing failures and use fixed error messages that never include the raw BASE. If an origin is useful diagnostically, log only a sanitized origin with credentials removed. Add regression coverage that spawns the script with a sentinel in both inputs and asserts its absence from stdout/stderr.
The same code was flagged on the unmerged #1441 head in this review; this issue tracks the copy already present on staging.
- Dominant language
- JavaScript
- Stars
- 262
- Forks
- 42
- Avg merge
- 1d 41m
- Merged PRs (30d)
- 212
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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 corosolto/client
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
corosolto/client#1480 · 2 comments ·
Maintainers usually reply within 1 day
-
crash em produção: Falha ao abrir entrada: Failed to execute 'querySelector' on 'Document': '#javaporcos-intro:modal' is not a valid selector.Possibly taken @nunreasonable claimed this today. Openbugfix crash-auto
corosolto/client#1504 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
crash em produção: Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document': '#javaporcos-intro:modal' is not a valid selector.Possibly taken @nunreasonable claimed this today. Openbugfix crash-auto
corosolto/client#1503 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 1/100
corosolto/client#1502 · 1 comment ·
Maintainers usually reply within 1 day
-
crash em produção: RangeError: Maximum call stack size exceeded.Possibly taken @nunreasonable claimed this 2 days ago. Openbugfix crash-auto
corosolto/client#1496 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in corosolto/client
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
babalae/bettergi-scripts-list#3905 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug] "Configure Colota" opens Colota with "Invalid configuration: No configuration data in URL"Open
Difficulty 1/5 1-3 hours Newbie friendliness 87/100
dedicatedcode/reitti#1445 ·
Maintainers usually reply within 1 day
-
New tool: Uncle DeskPossibly taken @github-actions claimed this today. Opensubmission triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
kausalflow/tools#384 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
area: css
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day