Skip to content

Add secret_key, CSP headers, fix debug mode#690

Closed
Akshita-2307 wants to merge 1 commit into
komalharshita:mainfrom
Akshita-2307:fix/app-security
Closed

Add secret_key, CSP headers, fix debug mode#690
Akshita-2307 wants to merge 1 commit into
komalharshita:mainfrom
Akshita-2307:fix/app-security

Conversation

@Akshita-2307
Copy link
Copy Markdown

Summary

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

Someone is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added gssoc-2026 type:bug Something isn't working labels May 29, 2026
@Akshita-2307
Copy link
Copy Markdown
Author

Program: GSSoC

Copy link
Copy Markdown
Owner

@komalharshita komalharshita left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution.

I reviewed the changes and found that part of this PR overlaps with security fixes that have already been addressed in more recent pull requests, particularly the removal of hardcoded debug mode configuration.

Additionally, the proposed Content Security Policy introduces broader behavioral changes that would require project-wide validation to ensure existing frontend functionality is not affected. The secret key fallback implementation also changes session behavior across application restarts.

Since the branch is now out of date and has merge conflicts with the current main branch, and the primary issue has already been addressed elsewhere, I am closing this pull request.

Thank you for your contribution and interest in improving the project's security.

@komalharshita komalharshita added duplicate This issue or pull request already exists and removed type:bug Something isn't working labels Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists gssoc-2026

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Missing secret_key, hardcoded debug=True and incomplete security headers in app.py

2 participants