Introducing File Diff: Enhancing Malware Cleanup Transparency
This enhancement allows our customers to view the exact differences (in unified format diff) between infected and cleaned files.
What is the File Diff Feature?
The file diff feature displays a side-by-side comparison between the original infected file and the cleaned version. This highlights exactly what code was removed during cleanup, making it easier to understand the nature of the infection and verify the effectiveness of the cleaning process.
How to Use the File Diff Feature
Accessing the new diff feature is simple through the Imunify UI:
-
Click on the view icon next to any cleaned file on the Malware Scanner tab.

-
Navigate to the new "Diff" tab that appears in the file view interface
- Review the highlighted differences showing exactly what code was removed during cleanup, with a clear comparison between the infected and cleaned versions.
Command Line Interface
You can view file diffs using the following CLI command:
imunify360-agent malware malicious diff
Argument Description
--id ID View diff for a specific file by ID. IDs can be obtained via malware malicious list
--user USER Administrators can filter results by user. Regular users can only see their own files.
--json Return data in JSON format for programmatic processing.
--verbose, -v Display additional information for detailed analysis.
Visit our official documentation portal to learn more about how to maximize the security benefits of Imunify360.