Object SecurityScans.Companion

  • All Implemented Interfaces:

    
    public class SecurityScans.Companion
    
                        

    The scans themselves. Static because they hold no state: each takes a path and returns findings.

    There is exactly one, scanUsingNekodetector. Archive safety is not done here — zip4j rejects traversal during extraction, so that guarantee belongs to a dependency rather than to this class.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final List<String> scanUsingNekodetector(Path destination) Uses MCRcortex's nekodetector to detect files infected by the fractureiser malware.
      final KotlinLogger getLog() Logger for the scans below, so a scan that could not run leaves a trace of why.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait