mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
792 B
792 B
0.8.10
Minor Analysis Improvements
- Calls to
I18n.translateas well as Rails helper translate methods now propagate taint from their keyword arguments. The Rails translate methods are also recognized as XSS sanitizers when using keys marked as html safe. - Calls to
Arel::Nodes::SqlLiteral.neware now modeled as instances of theSqlConstructionconcept, as well as propagating taint from their argument. - Additional arguments beyond the first of calls to the
ActiveRecordmethodsselect,reselect,order,reorder,joins,group, andpluckare now recognized as sql injection sinks. - Calls to several methods of
ActiveRecord::Connection, such asActiveRecord::Connection#exec_query, are now recognized as SQL executions, including those via subclasses.