rule @community/rule-sql-prepared-statements

Sql Prepared Statements

User-supplied values must NEVER be interpolated or concatenated into SQL query strings. All SQL queries with external input must use parameterized queries (prepared statements) with typed parameter binding.…

Skill
@community
Domain
security
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
103/357/951
$ aoe install @community/rule-sql-prepared-statements

Projection

Always in _index.xml · the agent never has to ask for this.

SqlPreparedStatements [rule] v1.0.0

User-supplied values must NEVER be interpolated or concatenated into SQL query strings. All SQL queries with external input must use parameterized queries (prepared statements) with typed parameter binding. ORM raw() / execute() escape hatches with string formatting are prohibited. This rule applies to every SQL dialect and every database driver.

Source

aoe-engine/examples/frontend-design/primes/compiled/@community/rule-sql-prepared-statements/atom.yaml