Files
slp-modular-cms/aidlc-docs/features/andreaslop-site-hosting/construction/build-and-test/security-test-instructions.md
T
2026-11-07 01:27:11 +01:00

992 B

Security Test Instructions

  • Dependency scan: dotnet list SlpModularCms.sln package --vulnerable --include-transitive (CI gate vulnerability-scan fails when it prints "has the following vulnerable packages") and cd frontend && pnpm audit --prod.
  • Setup token: unit tests cover only-exact-token-passes (PBT), uniform 401, no token in logs, whitespace-only token rejected at startup, limiter on both endpoints (configuration). Manual after the first deploy (manual-steps 16-17): wrong token gives the Dutch error and a setup_token_rejected log line, right token creates the owner, then remove the token from shared/env.
  • Forwarded headers: tests prove an untrusted peer cannot spoof; wildcard/unparsable proxy entries fail at startup. Manual: after the first deploy the visitor address (not 192.168.1.102) should be what the limiter/logs see.
  • Headers: CSP byte-identical to nginx (asserted); verify with curl -I https://test.andreaslop.nl/ (manual-steps 14).