Skip to content

1212 - #80

Open
biff990 wants to merge 5 commits into
Y80:mainfrom
biff990:main
Open

1212#80
biff990 wants to merge 5 commits into
Y80:mainfrom
biff990:main

Conversation

@biff990

@biff990 biff990 commented Aug 18, 2026

Copy link
Copy Markdown

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 46142cac8f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/middleware.ts

console.log(
'envs:',
process.env.AUTH_SECRET,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Stop logging the session encryption secret

Whenever the middleware module initializes, this prints AUTH_SECRET to deployment logs. Because Auth.js uses this value to protect JWT session cookies, anyone with access to retained or aggregated logs can obtain the key and potentially decrypt or forge authenticated sessions; remove the log or restrict it to non-sensitive metadata.

Useful? React with 👍 / 👎.

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.

2 participants