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. An earlier doc here promised "zip-slip and archive-safety checks applied before an upload is trusted", which never existed in this class — archive traversal is rejected by zip4j during extraction, which is a fact about a dependency and not something this file does.

    • 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