fix: remove leaked filesystem paths from browser-use print statements#1424
Open
Esc1200 wants to merge 1 commit into
Open
fix: remove leaked filesystem paths from browser-use print statements#1424Esc1200 wants to merge 1 commit into
Esc1200 wants to merge 1 commit into
Conversation
Replace hardcoded status file paths, screenshot paths, and receipt paths with generic descriptions to prevent internal filesystem layout disclosure in CLI output. Fixes 4 locations in browser-use probe/open/screenshot/task handlers.
ifeoluwaaj
pushed a commit
to ifeoluwaaj/spark-cli
that referenced
this pull request
Jun 26, 2026
…acing CLI output Consolidates nine spark-compete Wave-1 path-redaction PRs (all @Esc1200) into one coherent pass — credited as a single systemic group (ruleset v2 §5.2), not nine fixes: - vibeforge1111#1406 secret file path leak in error message - vibeforge1111#1408 redact paths from spawn failure errors - vibeforge1111#1421 redact SPARK_HOME from purge safety error - vibeforge1111#1422 generic text for manifest_path in SystemExit messages - vibeforge1111#1424 redact browser-use print paths (basename reference kept) - vibeforge1111#1429 remove internal path leaks from CLI prints - vibeforge1111#1430 redact hook/log paths from list output - vibeforge1111#1409 redact internal paths from gaps markdown report - vibeforge1111#1426 remove operator/log path leaks Maintainer completion: - narrowed _PATH_REDACT_RE to anchor POSIX paths to known roots + ~ + Windows drives, so URL paths (/api/v2/users) and slashy text (and/or, 3/4) are no longer over-redacted; - removed compete-packet-operator-path-leak.json accidentally committed in vibeforge1111#1426. Co-authored-by: Esc1200 <Esc1200@users.noreply.github.com> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replace hardcoded filesystem paths in browser-use CLI print statements with generic descriptions to prevent internal path disclosure.
Changes
Why
These print statements exposed internal filesystem paths (e.g.,
/home/user/.spark/status.json) which could reveal directory structure information to users or in logs.Severity
MEDIUM — Information disclosure of internal filesystem layout.
Testing