Object SecurityScans.Companion
-
- All Implemented Interfaces:
public class SecurityScans.CompanionThe 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.
-
-
Field Summary
Fields Modifier and Type Field Description private final KotlinLoggerlogpublic final static SecurityScans.CompanionINSTANCE
-
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 KotlinLoggergetLog()Logger for the scans below, so a scan that could not run leaves a trace of why. -
-
Method Detail
-
scanUsingNekodetector
final List<String> scanUsingNekodetector(Path destination)
Uses MCRcortex's nekodetector to detect files infected by the fractureiser malware. The code can be found at MCRcortex/nekodetector
Initially provided via a plugin, available at Griefed/spc-nekodetector-plugin
-
getLog
final KotlinLogger getLog()
Logger for the scans below, so a scan that could not run leaves a trace of why.
-
-
-
-