Skip to content

v4.2.2

Choose a tag to compare

@mabt mabt released this 11 Jun 22:08
· 15 commits to main since this release

Changes

  • Fix false positives on media images: SF-006 (PHP in image) is now context-aware — it only fires when <?php starts 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_image with 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