Added functions forward_static_call(), forward_static_call_array(), register_shutdown_function() and register_tick_function() as psalm sinks
Improve accuracy of rules 1034012 - "Avoid reflection injection (PHP)" and 1034046 - "Avoid second order reflection injection (PHP)"
Handles usage of constants XMLReader::VALIDATE and XMLReader::SUBST_ENTITIES
Improve accuracy of rule 1034054 - "Avoid parsing XML data without restriction of XML External Entity Reference (XXE) (PHP)"
New Support
Customer Ticket Id
Technical Details
Customer Details
Use linux php executable and shared libraries from com.castsoftware.php.runtime82.
Support for Linux
Enhancement/Improvements
Customer Ticket Id
Technical Details
Customer Details
Update to psalm 5.26.1
Upgrade internal library
1.1.0-beta2
Other Updates
Details
Upgrade to Psalm 5.25.0 (with patches).
1.1.0-beta1
Other Updates
Details
Upgrade to Psalm 5.24.0 (with patches).
Rules
Rule Id
New Rule
Details
1034048
FALSE
Added mt_srand(), str_shuffle() and array_rand() as functions triggering a violation for rule "Avoid using insufficient random generator (PHP)".
1034064
FALSE
Added ini_set('session.cookie_httponly', true) as a remediation for rule "Ensure httpOnly option is enabled when creating session (PHP)".
1034072
TRUE
Avoid mixing trusted and untrusted data in HTTP requests (PHP)
1034070
TRUE
Ensure strict mode is enabled when creating session (PHP)
1034068
TRUE
Ensure SameSite option is enabled when creating session (PHP)
1034066
TRUE
Avoid creating application cookie without SameSite option (PHP)
1.1.0-alpha3
Resolved Issues
Customer Ticket Id
Details
46530
Added "$argv" and "$_FILES" as taint sources for the rule "Avoid SQL injection (PHP)"
46596
Fixes an issue wherein the rules provided by this extension are now considered "critical".
Other Updates
Details
Report from Psalm is now stored a LISA sub-directory named "third_party_reports". The detailed results of Psalm no longer appear in standard CAST analysis logs.
The global variable "$argv" was added as a source for taint analysis.