Skill Wiki v0.1.0
rule @security/rule-parameterize-sql-queries

Parameterize Sql Queries

Every SQL query that includes any data — user input, configuration, computed values, anything not a literal in the source — must use parameterised queries (prepared statements) where the SQL structure is fixed and the va…

Skill
@security
Domain
security
Version
0.1.0
Quality
4.0
Edges
4 out · 4 in
Tokens
102/270/289
$ prime install @security/rule-parameterize-sql-queries

Projection

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

ParameterizeSqlQueries [rule] v0.1.0

Every SQL query that includes any data — user input, configuration, computed values, anything not a literal in the source — must use parameterised queries (prepared statements) where the SQL structure is fixed and the values are bound by the driver. Building queries by string concatenation, string formatting, or template substitution is forbidden.

Source

prime-system/examples/security-appsec/primes/compiled/@security/rule-parameterize-sql-queries/atom.yaml

Compiled at 2026-05-10