Skip to content

fix: the database migration file checkpoint_1 in...#12438

Open
orbisai0security wants to merge 795 commits into
mindsdb:developfrom
orbisai0security:fix-v001-encrypt-llm-log-api-key
Open

fix: the database migration file checkpoint_1 in...#12438
orbisai0security wants to merge 795 commits into
mindsdb:developfrom
orbisai0security:fix-v001-encrypt-llm-log-api-key

Conversation

@orbisai0security
Copy link
Copy Markdown

Summary

Fix critical severity security issue in mindsdb/migrations/versions/2025-05-21_9f150e4f9a05_checkpoint_1.py.

Vulnerability

Field Value
ID V-001
Severity CRITICAL
Scanner multi_agent_ai
Rule V-001
File mindsdb/migrations/versions/2025-05-21_9f150e4f9a05_checkpoint_1.py:149

Description: The database migration file checkpoint_1.py at line 149 contains API key references. Migration files are committed to version control and distributed with the codebase. If actual API key values are hardcoded rather than referencing environment variables, any developer, CI/CD system, or attacker with repository read access can extract and use these credentials to authenticate against MindsDB APIs or connected third-party services, bypassing all normal authentication flows.

Changes

  • mindsdb/migrations/versions/2025-05-21_9f150e4f9a05_checkpoint_1.py

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

Automated security fix by OrbisAI Security

tino097 and others added 30 commits February 27, 2026 21:02
Co-authored-by: Minura Punchihewa <minurapunchihewa17@gmail.com>
Co-authored-by: Max Stepanov <stpmax@yandex.ru>
dependabot Bot and others added 29 commits April 15, 2026 20:34
Bumps [python-multipart](https://github.com/Kludex/python-multipart) from 0.0.20 to 0.0.26.
- [Release notes](https://github.com/Kludex/python-multipart/releases)
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md)
- [Commits](Kludex/python-multipart@0.0.20...0.0.26)

---
updated-dependencies:
- dependency-name: python-multipart
  dependency-version: 0.0.26
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Jorge Torres <jorge.torres.maldonado@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Stepanov <stpmax@yandex.ru>
Co-authored-by: Lucas Koontz <lucas.emanuel.koontz@gmail.com>
Co-authored-by: Minura Punchihewa <49385643+MinuraPunchihewa@users.noreply.github.com>
Co-authored-by: Jorge Torres <jorge.torres.maldonado@gmail.com>
Co-authored-by: Konstantin Sivakov <konstantin.sivakov@gmail.com>
Co-authored-by: Zoran Pandovski <zoran.pandovski@gmail.com>
Automated security fix generated by Orbis Security AI
@orbisai0security orbisai0security requested a review from a team as a code owner May 15, 2026 02:25
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.