dbt-migration-ms-sql-server
Fail
Audited by Socket on Mar 13, 2026
1 alert found:
Obfuscated FileObfuscated Filetranslation-references/transact-built-in-procedures.md
HIGHObfuscated FileHIGH
translation-references/transact-built-in-procedures.md
The procedure is not an obvious backdoor or malware, but it constructs and executes SQL by concatenating caller-supplied inputs without escaping or validation. This makes it vulnerable to SQL/statement injection (via value and identifier parameters) and fragile due to inconsistent NULL/empty handling. Recommended: do not deploy this as-is in environments where callers may supply untrusted input; harden by input validation, identifier quoting/escaping, and escaping of literal values before EXECUTE IMMEDIATE.
Confidence: 98%
Audit Metadata