From eba1898591c5d9675ae1764bf2d64ef6641ff30c Mon Sep 17 00:00:00 2001 From: Jannik Hollenbach Date: Wed, 18 Feb 2026 17:46:01 +0100 Subject: [PATCH] Update nikto docker image for the nikto 2.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nikto now requires some additional perl packages. Nikto uses a older alpine version some of the deps have moved since: perl-json-pp → no longer a separate package; it's bundled into perl-json (which pulls in JSON::PP) perl-time-piece and perl-time-seconds → these are core Perl modules, bundled in the main perl package in newer Alpine versions perl-libxml → renamed to perl-xml-libxml perl-md5 → no longer separate; bundled in the main perl package (Digest::MD5 is a core module) Signed-off-by: Jannik Hollenbach --- scanners/nikto/Chart.yaml | 2 +- scanners/nikto/scanner/Dockerfile | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/scanners/nikto/Chart.yaml b/scanners/nikto/Chart.yaml index 46f9471d54..cdaf3b673d 100644 --- a/scanners/nikto/Chart.yaml +++ b/scanners/nikto/Chart.yaml @@ -10,7 +10,7 @@ type: application # version - gets automatically set to the secureCodeBox release version when the helm charts gets published version: v3.1.0-alpha1 # appVersion - Nikto doesn't really version its releases -appVersion: 2.5.0 +appVersion: 2.6.0 kubeVersion: ">=v1.11.0-0" annotations: diff --git a/scanners/nikto/scanner/Dockerfile b/scanners/nikto/scanner/Dockerfile index 4618f0cfd5..6bdbd8324b 100644 --- a/scanners/nikto/scanner/Dockerfile +++ b/scanners/nikto/scanner/Dockerfile @@ -16,6 +16,11 @@ COPY --chown=root:root --chmod=755 wrapper.sh /wrapper.sh RUN apk add --update --no-cache --virtual .build-deps \ perl \ perl-net-ssleay \ + perl-json \ + perl-io-socket-ssl \ + perl-xml-writer \ + perl-mime-base64 \ + perl-xml-libxml \ && addgroup -g 1001 nikto \ && adduser -G nikto -s /bin/sh -D -u 1001 nikto