Repository navigation
v4.2.2
Changes
- Fix false positives on media images: SF-006 (PHP in image) is now context-aware — it only fires when
<?phpstarts a printable ASCII run containing a dangerous PHP token (eval,base64_decode,$_POST...), or when the file itself starts with<?php. Random byte sequences in compressed JPEG/PNG data are no longer flagged. - Tightened built-in YARA rule
php_in_imagewith the same logic; removed the noisy<?=and<?triggers. - Removed the media path whitelist — real malware in
media/catalog/,media/CrmTicket/etc. is now detected instead of being skipped. - Fix version display: scan banner and HTML report footer showed hardcoded "v4.0".
Full Changelog: v4.2.1...v4.2.2