pinata-security-cli 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinata-security-cli",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "AI-powered test coverage analysis and generation tool. Find security blind spots before attackers do.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -110,6 +110,35 @@ detectionPatterns:
110
110
  confidence: high
111
111
  description: Detects Sequelize literal with interpolation
112
112
 
113
+ # Generic template literal SQL patterns
114
+ - id: ts-template-sql-select
115
+ type: regex
116
+ language: typescript
117
+ pattern: "`SELECT.*\\$\\{.*\\}`"
118
+ confidence: high
119
+ description: Detects SELECT query with template literal interpolation
120
+
121
+ - id: ts-template-sql-insert
122
+ type: regex
123
+ language: typescript
124
+ pattern: "`INSERT.*\\$\\{.*\\}`"
125
+ confidence: high
126
+ description: Detects INSERT query with template literal interpolation
127
+
128
+ - id: ts-template-sql-update
129
+ type: regex
130
+ language: typescript
131
+ pattern: "`UPDATE.*\\$\\{.*\\}`"
132
+ confidence: high
133
+ description: Detects UPDATE query with template literal interpolation
134
+
135
+ - id: ts-template-sql-delete
136
+ type: regex
137
+ language: typescript
138
+ pattern: "`DELETE.*\\$\\{.*\\}`"
139
+ confidence: high
140
+ description: Detects DELETE query with template literal interpolation
141
+
113
142
  # Go patterns
114
143
  - id: go-fmt-sprintf-query
115
144
  type: regex