Where.src/shared/log.js:45-53 (debugFetch logs the method, URL and body
at debug level); src/popup/views/settings.js:410-416 (the settings toggle
raises the runtime log level).
What is wrong. With debug mode on, every RPC and explorer request is logged
to the console with its full URL and request body. A user who has configured an
RPC endpoint with a key or token embedded in the URL writes that secret to the
browser console, where it persists in logs. The README says debug mode raises
the log level (true), but does not state this consequence.
Why it matters. A configured RPC URL bearing a credential is exposed in the
console log whenever debug mode is on.
Reproduction. Configure an RPC URL containing a token; enable debug mode;
open the extension console — the URL with the token is printed on every request.
Acceptable. Log the request origin and path without the query string (and
without any credential-bearing path segment) in debugFetch, or state the
consequence next to the debug toggle.
Definition of done.
debugFetch does not log URL query strings (or otherwise redacts
credentials) by default.
If any URL detail is still logged, the debug toggle's help text states it.
A test asserts a tokened URL is not logged verbatim.
Model: fable-5-1 (review); opus-4-8 (filing)
Severity: privacy.
**Where.** `src/shared/log.js:45-53` (`debugFetch` logs the method, URL and body
at debug level); `src/popup/views/settings.js:410-416` (the settings toggle
raises the runtime log level).
**What is wrong.** With debug mode on, every RPC and explorer request is logged
to the console with its full URL and request body. A user who has configured an
RPC endpoint with a key or token embedded in the URL writes that secret to the
browser console, where it persists in logs. The README says debug mode raises
the log level (true), but does not state this consequence.
**Why it matters.** A configured RPC URL bearing a credential is exposed in the
console log whenever debug mode is on.
**Reproduction.** Configure an RPC URL containing a token; enable debug mode;
open the extension console — the URL with the token is printed on every request.
**Acceptable.** Log the request origin and path without the query string (and
without any credential-bearing path segment) in `debugFetch`, or state the
consequence next to the debug toggle.
**Definition of done.**
- [ ] `debugFetch` does not log URL query strings (or otherwise redacts
credentials) by default.
- [ ] If any URL detail is still logged, the debug toggle's help text states it.
- [ ] A test asserts a tokened URL is not logged verbatim.
Model: fable-5-1 (review); opus-4-8 (filing)
Plan. One PR on a branch cut from next, base next.
debugFetch in src/shared/log.js logs only the HTTP method, the URL's origin (scheme://host[:port]) and, for a JSON-RPC body, its method name. No path (RPC providers commonly put the key there), no query string, no full body.
With nothing credential-bearing logged, the debug toggle's help text needs no warning; it stays as it is unless it claims full URLs are logged.
Test: a fetch to an RPC URL with a key in the path and a token in the query logs neither, and still logs the origin and the JSON-RPC method; it fails against current next.
Model: opus-5-5
Plan. One PR on a branch cut from `next`, base `next`.
- `debugFetch` in `src/shared/log.js` logs only the HTTP method, the URL's origin (`scheme://host[:port]`) and, for a JSON-RPC body, its `method` name. No path (RPC providers commonly put the key there), no query string, no full body.
- With nothing credential-bearing logged, the debug toggle's help text needs no warning; it stays as it is unless it claims full URLs are logged.
- Test: a fetch to an RPC URL with a key in the path and a token in the query logs neither, and still logs the origin and the JSON-RPC method; it fails against current `next`.
Model: opus-5-5
Built in #436. Debug mode now logs a request's HTTP method, its URL's origin and, for a JSON-RPC call, the method name; never the URL's path or query string or the body. The balance refresh and token lookup log the RPC endpoint by its origin too. The README's DEBUG Mode Policy says what debug mode logs.
Model: opus-5-5
Built in https://git.eeqj.de/sneak/AutistMask/pulls/436. Debug mode now logs a request's HTTP method, its URL's origin and, for a JSON-RPC call, the method name; never the URL's path or query string or the body. The balance refresh and token lookup log the RPC endpoint by its origin too. The README's DEBUG Mode Policy says what debug mode logs.
Model: opus-5-5
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Severity: privacy.
Where.
src/shared/log.js:45-53(debugFetchlogs the method, URL and bodyat debug level);
src/popup/views/settings.js:410-416(the settings toggleraises the runtime log level).
What is wrong. With debug mode on, every RPC and explorer request is logged
to the console with its full URL and request body. A user who has configured an
RPC endpoint with a key or token embedded in the URL writes that secret to the
browser console, where it persists in logs. The README says debug mode raises
the log level (true), but does not state this consequence.
Why it matters. A configured RPC URL bearing a credential is exposed in the
console log whenever debug mode is on.
Reproduction. Configure an RPC URL containing a token; enable debug mode;
open the extension console — the URL with the token is printed on every request.
Acceptable. Log the request origin and path without the query string (and
without any credential-bearing path segment) in
debugFetch, or state theconsequence next to the debug toggle.
Definition of done.
debugFetchdoes not log URL query strings (or otherwise redactscredentials) by default.
Model: fable-5-1 (review); opus-4-8 (filing)
clawbot referenced this issue2026-10-03 14:21:22 +02:00
Plan. One PR on a branch cut from
next, basenext.debugFetchinsrc/shared/log.jslogs only the HTTP method, the URL's origin (scheme://host[:port]) and, for a JSON-RPC body, itsmethodname. No path (RPC providers commonly put the key there), no query string, no full body.next.Model: opus-5-5
Built in #436. Debug mode now logs a request's HTTP method, its URL's origin and, for a JSON-RPC call, the method name; never the URL's path or query string or the body. The balance refresh and token lookup log the RPC endpoint by its origin too. The README's DEBUG Mode Policy says what debug mode logs.
Model: opus-5-5