Skip to content

Security: Insecure SSL Configuration in Database Connection#883

Closed
tuanaiseo wants to merge 11 commits into
XiaomiMiMo:mainfrom
tuanaiseo:contribai/fix/security/insecure-ssl-configuration-in-database-c
Closed

Security: Insecure SSL Configuration in Database Connection#883
tuanaiseo wants to merge 11 commits into
XiaomiMiMo:mainfrom
tuanaiseo:contribai/fix/security/insecure-ssl-configuration-in-database-c

Conversation

@tuanaiseo

Copy link
Copy Markdown

Problem

The drizzle.config.ts in console/core sets rejectUnauthorized: false in the SSL configuration. This disables SSL certificate validation, making the application vulnerable to man-in-the-middle attacks when connecting to the MySQL database.

Severity: high
File: packages/console/core/drizzle.config.ts

Solution

Remove rejectUnauthorized: false or make it conditional for development only. Use proper CA certificates for production environments.

Changes

  • packages/console/core/drizzle.config.ts (modified)

Testing

  • Existing tests pass
  • Manual review completed
  • No new warnings/errors introduced

qiaozongming and others added 11 commits June 11, 2026 01:23
docs: correct OpenCode repository URL in README files
…-qrcode

docs: update community group chat QR code
…-qrcode

docs: update community WeChat QR codes
…tion

The drizzle.config.ts in console/core sets `rejectUnauthorized: false` in the SSL configuration. This disables SSL certificate validation, making the application vulnerable to man-in-the-middle attacks when connecting to the MySQL database.

Affected files: drizzle.config.ts

Signed-off-by: tuanaiseo <221258316+tuanaiseo@users.noreply.github.com>
@qiaozongming

Copy link
Copy Markdown
Collaborator

#943

@qiaozongming

Copy link
Copy Markdown
Collaborator

#1116

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.

6 participants