Skip to content

Comments

Fix unprotected Prisma methods#931

Open
timokoessler wants to merge 1 commit intomainfrom
prisma-fix-unprotected
Open

Fix unprotected Prisma methods#931
timokoessler wants to merge 1 commit intomainfrom
prisma-fix-unprotected

Conversation

@timokoessler
Copy link
Member

@timokoessler timokoessler commented Feb 12, 2026

Summary by Aikido

Security Issues: 0 🔍 Quality Issues: 1 Resolved Issues: 0

⚡ Enhancements

  • Added extractSQLFromObject helper to parse various Prisma SQL inputs.
  • Expanded SQL_OPERATIONS_TO_PROTECT to include $queryRaw and $executeRaw.

🔧 Refactors

  • Replaced direct string check with extractSQLFromObject inside inspectSQLQuery.

More info

@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

1 participant