mirror of
https://github.com/games-on-whales/wolfmanager.git
synced 2026-10-15 13:02:05 +00:00
[GH-ISSUE #29] Insecure Cookie Configuration for Production #16
Labels
No labels
a11y
bug
enhancement
enhancement
good first issue
pull-request
question
refactor
security
shadcn
tech-debt
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolfmanager#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @salty2011 on GitHub (Jun 13, 2025).
Original GitHub issue: https://github.com/games-on-whales/wolfmanager/issues/29
Summary
The application currently uses a static cookie configuration that allows session cookies to be transmitted over unsecured HTTP connections, which introduces the risk of session hijacking in production environments.
File
src/lib/auth.ts:53Issue
secure: false, which permits cookies to be sent over unencrypted HTTP connections.Risk
Impact
MEDIUM – Risk of session theft over unencrypted network channels.
Mitigation
secureflag to be environment-based:Benefits of Fixing
Tags:
security,cookie,session-hijacking,production,bugPlease address this issue before the next production release.