ITWorx Security Hardening
An executed security-hardening programme translating risk into testable technical controls across fifteen repositories, with evidence for scanning, remediation, recovery and incident response.
Technical foundation · Docker · Trivy · Python
From risk register to demonstrably verified technical controls
Screenshot 1 of 1
Evidence recorded on .Status and results describe that check; current availability may differ.
Follow-up on . The recorded restore test, incident exercises and control mapping were reviewed again.
Programme overview
From identified risk to verifiable evidence
19
risks in the initial assessment
15
repositories scanned
0
High / Critical in the recorded scan
1 + 2
restore test + IR exercises
Repository vulnerability scan recorded on 16 August 2026. These scan findings do not include all operational risks; the open measures and scope boundaries below remain part of the result.
From risk to proof
- 1
Discover
Scope, assets and risks inventoried
- 2
Decide
Treatment and owner assigned per material risk
- 3
Remediate
Dependencies, authentication and detection improved
- 4
Verify
Scans, restore, probes and exercises executed
Demonstrated
Nineteen risks assessed, each with an assigned treatment and owner
Final scan in August 2026: zero High/Critical findings across fifteen repositories
One restore test and two incident-response exercises executed
Still open
Roll out the proven segmentation design in production
Complete the remaining hardening of administrative access
Extend restore testing and activate the new operator authentication
Recorded 16 August 2026
Case narrative
The problem, approach and result.
Problem and context
NIS2 and CyberFundamentals describe what an organisation must achieve, not what that looks like on a self-hosted platform. Without a concrete translation step, "knowledge of NIS2" stays a claim instead of a demonstrable result.
Solution
A strictly phased programme: discovery and scope first, without assumptions, then a scored and treated risk register, then concrete technical measures (IAM analysis, network segmentation design, dependency scanning, a restore test, an incident exercise), each backed by evidence. Every claim follows the chain risk → requirement → control → implementation → verification → evidence.
Operational value
This programme shows the full path from regulation to working technical measure: not just what NIS2 and CyFun ask for, but what that concretely becomes on a complex, self-hosted environment — including the places where something is not yet finished, named explicitly rather than hidden.
From risk discovery to proof
- 1
Discovery and scope: establish only what is really running, read-only, assuming nothing
- 2
Initial risk assessment: score nineteen material risks and assign a treatment and owner to each
- 3
IAM and network segmentation: identify gaps and produce a safe design where a live change was too risky
- 4
Vulnerability and supply-chain management: scan, classify, drop nothing
- 5
Backup and recovery: select one platform and execute a restore, not just document that a backup exists
- 6
Monitoring and incident response: walk a realistic scenario and record the result as a formal incident report
Evidence sources and control status
- RAGcoreLive
Full, passing restore test executed against this platform's own production code; dependency scan with zero High/Critical findings.
- Portfolio (deze site)Live
This site's public/private AI-assistant boundary analysed and used as the risk scenario for the incident exercise.
- ITWorx MCP Hub, InfraBinder, AppOps Gateway, DockDeck, VacatureRadar, itworx-knowledge-hubLive
IAM, network and dependency analysis performed; all identified High findings (21 occurrences, 5 repositories) actually patched and reconfirmed at zero via a full rescan. Three repositories received a new, locally-verified CI scan gate.
- ITWorx-Pulse (Server System Monitor)Live
Detection gap found and closed: an existing metric with defined thresholds had no alert rule. New rule added and verified against the platform's own Go validation code.
- Productienetwerk (Unraid-host)In integration
Segmentation designed with a firewall policy and rollback plan, and technical feasibility proven in a disposable VLAN lab (real 802.1Q tagging, five passing connectivity tests). Live rollout to production deliberately not performed because no confirmed out-of-band access existed as a safety net.
Reliability and safety boundaries
Read-only discovery only, until scope and risks were established — nothing changed based on assumptions
No live production change to network, firewall or credentials without a safe, reversible route
Every finding follows the chain risk → control → implementation → verification → evidence, or is explicitly marked NOT VERIFIED
Public evidence automatically scanned for secrets, tokens and internal IP addresses before publication
No inflated maturity scores: documentation and implementation status are always reported separately
Validation
Uniform repository scan
Trivy dependency scans (HIGH/CRITICAL) run locally against the full repository scope, followed by remediation of the five originally-affected repositories (reconfirmed at zero/zero/zero) and a full rescan of all twelve then-current repositories, carried through even when it surfaced one new finding — which was then investigated, safely fixed (toolchain upgrade), and reconfirmed at zero. A later scope reconciliation (twelve → fifteen repositories) gave the three newly-added repositories the same treatment: a baseline scan, not an assumption of 'clean'. One repository had findings requiring a coordinated FastAPI/Starlette framework upgrade - initially deferred with documented reasoning, then safely tested and fixed the same day. One uniform final scan across all fifteen repositories in the same measurement pass confirms: no repository in scope has any remaining open High or Critical finding
CI/CD scan gates
Direct inspection of CI/CD workflow files to confirm which scan steps are actually wired into the workflow versus only documented; across two successive review passes, multiple repositories received a new or fixed, locally-verified scan gate — including closing a silent-skip risk (a scan step that could quietly no-op if a tool was missing) and building a standalone security gate from scratch for a repository that had no CI at all. Of the fifteen repositories in scope, ten now have a fully-authored, no-silent-skip-risk scan gate; five of those sit on the conventional Gitea path. Whether the self-hosted Gitea instance actually triggers these workflows is not yet confirmed — tracked openly rather than assumed
Measured restore test
A full backup → restore → verification cycle executed against the tested platform's own production code, with unambiguous timing (wall-clock vs. tool-measured)
Live boundary probes
Six live boundary probes against the public assistant endpoint, including a prompt-injection attempt
Incident-response exercise
A technical incident exercise with a credential lifecycle against production code, plus an operator-authentication fix verified via unit tests and a live curl check against the running server
Monitoring alert
A new alert rule verified against the monitoring platform's own Go validation code, not a re-implementation
VLAN segmentation lab
A fully local VLAN lab with five connectivity tests (802.1Q tagging, router-on-a-stick, iptables policy)
Authentication review
Read-only inspection of authentication configuration that established the open hardening items factually rather than assuming everything was fine
Design decisions
No measure counts as implemented on documentation alone
Live, potentially destructive changes (network, firewall, credentials) are only executed with a confirmed safe fallback path
Every High/Critical risk gets an explicit treatment decision, not a generic hundred-item threat checklist
Public evidence is automatically checked for secrets and internal infrastructure detail before publication
Open work
Live rollout of the network segmentation design to production, with confirmed out-of-band access as a safety net
Completing the remaining hardening of administrative access in production, with a safe fallback path against lockout
Repeating the restore test for the remaining platforms beyond RAGcore
Actually activating the new operator authentication on the live production deployment
Confirming whether one platform's actual deployed container needs the same .NET runtime fix already applied to that platform's local development toolchain
This is an ongoing programme, not a one-off audit. An independent review after the first pass found defects (a terminology error in the vulnerability figures, a traceability gap in the restore evidence, several overstated claims) that were fixed in a follow-up round — exactly the kind of correction this programme keeps visible rather than hides.
Scope boundaries
No NIS2 compliance or CyFun certification claim
Restore evidence currently covers one platform
Network segmentation is lab-proven, not yet live in production
One production access-hardening item remains open pending a safe fallback route
Read the complete technical scope note
NIS2 compliance or CyFun certification requires an independent audit. The first CyFun mapping was at function level while the official control numbers were unavailable. The recorded evidence covered lab-tested network segmentation and a restore test for one platform. At that point, one administrative-access hardening item was awaiting a safe fallback path.
Key lesson
The biggest gain wasn't in writing policy, but in actually executing a restore and walking through an incident scenario: only then did it become clear that detection, not response, was the weakest link. Evidence before claims works — and it stays uncomfortably honest about what isn't finished yet.
