Skip to content

🛡️ Sentinel: [HIGH] Fix sensitive credentials exposure in input fields#78

Open
bobdivx wants to merge 1 commit into
devfrom
sentinel-hide-api-keys-18404683273273866353
Open

🛡️ Sentinel: [HIGH] Fix sensitive credentials exposure in input fields#78
bobdivx wants to merge 1 commit into
devfrom
sentinel-hide-api-keys-18404683273273866353

Conversation

@bobdivx
Copy link
Copy Markdown
Owner

@bobdivx bobdivx commented May 16, 2026

🚨 Severity: HIGH
💡 Vulnerability: Sensitive credentials (TMDB API keys, C411 API keys, tracker passkeys) were being rendered in <input type="text"> fields across multiple settings panels, exposing them to shoulder-surfing and browser autofill/caching vulnerabilities.
🎯 Impact: Potential leakage of user secrets leading to unauthorized access to their integrated services or tracker accounts.
🔧 Fix: Changed all identified sensitive credential input fields to use <input type="password"> combined with autoComplete="off".
Verification: Verified that building and testing pass successfully and that UI components now render the input values safely masked as password fields. Recorded learning in .jules/sentinel.md.


PR created automatically by Jules for task 18404683273273866353 started by @bobdivx

Replaces plain text inputs with password type inputs and disables auto-complete for API keys and passkeys to prevent shoulder surfing and auto-fill leaks.

Co-authored-by: bobdivx <6737167+bobdivx@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
popcorn-client Ready Ready Preview, Comment May 16, 2026 6:44am

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enhances security by masking sensitive credentials, such as TMDB and C411 API keys and tracker passkeys, by changing input types from 'text' to 'password' and adding 'autoComplete="off"' across several configuration components. It also includes a documentation update in '.jules/sentinel.md' regarding these security practices and a minor path correction in '.astro/content.d.ts'. The reviewer suggests using 'autoComplete="new-password"' instead of '"off"' to more reliably prevent browser autofill and password-saving prompts, which are often triggered by password-type fields.

<input
type="text"
type="password"
autoComplete="off"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

While autoComplete="off" is a good start, modern browsers often ignore it for fields with type="password" to encourage the use of password managers. For sensitive fields like API keys that should not be saved as the site's login credentials, using autoComplete="new-password" is generally more effective at preventing browser autofill and "Save password?" prompts.

Suggested change
autoComplete="off"
autoComplete="new-password"

<input
type="text"
type="password"
autoComplete="off"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

Consider using autoComplete="new-password" instead of "off". Modern browsers frequently ignore off for password-type inputs, whereas new-password is a stronger hint to disable autofill and prevent the browser from offering to save these credentials as the account password.

Suggested change
autoComplete="off"
autoComplete="new-password"

<input
type="text"
type="password"
autoComplete="off"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

Consider using autoComplete="new-password" instead of "off". Modern browsers frequently ignore off for password-type inputs, whereas new-password is a stronger hint to disable autofill and prevent the browser from offering to save these credentials as the account password.

Suggested change
autoComplete="off"
autoComplete="new-password"

<input
type="text"
type="password"
autoComplete="off"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

Consider using autoComplete="new-password" instead of "off". Modern browsers frequently ignore off for password-type inputs, whereas new-password is a stronger hint to disable autofill and prevent the browser from offering to save these credentials as the account password.

Suggested change
autoComplete="off"
autoComplete="new-password"

<input
type="text"
type="password"
autoComplete="off"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

Consider using autoComplete="new-password" instead of "off". Modern browsers frequently ignore off for password-type inputs, whereas new-password is a stronger hint to disable autofill and prevent the browser from offering to save these credentials as the account password.

Suggested change
autoComplete="off"
autoComplete="new-password"

<input
type="text"
type="password"
autoComplete="off"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

Consider using autoComplete="new-password" instead of "off". Modern browsers frequently ignore off for password-type inputs, whereas new-password is a stronger hint to disable autofill and prevent the browser from offering to save these credentials as the account password.

Suggested change
autoComplete="off"
autoComplete="new-password"

<input
type="text"
type="password"
autoComplete="off"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

Consider using autoComplete="new-password" instead of "off". Modern browsers frequently ignore off for password-type inputs, whereas new-password is a stronger hint to disable autofill and prevent the browser from offering to save these credentials as the account password.

Suggested change
autoComplete="off"
autoComplete="new-password"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant