Vulnerability Management Policy

CategorySecurity
Version1.0
StatusApproved
Approved2026-03-25 by Mishkin Berteig
Next Review2027-03-25
IDPOL-8
Document versionpolicies/vulnerability-management.md at commit 9c72db400a23 (SHA-256 8cd9a80d2a9a)

Linked Controls

Vulnerability Management Policy

Purpose

This policy establishes requirements for identifying, assessing, and remediating vulnerabilities across the MaxGood.work platform.

Scope

All MaxGood.work production and staging infrastructure, applications, containers, and dependencies.

Vulnerability Scanning

Automated Scanning

Scanning Frequency

Scan Type Frequency
Dependency audit (pip/npm) Prior to every push to remote (MGSecurityAssessment L1)
Container image scan Prior to every push to remote (MGSecurityAssessment L1)
Static code analysis Prior to every push to remote (MGSecurityAssessment L2)
Infrastructure assessment Quarterly

Patch Management

Severity-Based Response

Severity Response Examples
Critical (CVSS 9.0+) Must be patched before push; blocks deployment Remote code execution, auth bypass
High (CVSS 7.0-8.9) Must be patched before push, or a managed exception recorded in the repo's ./MGSecurityAssessment.conf Privilege escalation, data exposure
Medium (CVSS 4.0-6.9) Within 30 days Limited impact vulnerabilities
Low (CVSS 0.1-3.9) Next scheduled maintenance Informational findings

Patch Process

  1. Vulnerability identified through scanning or advisory notification
  2. Security Officer assesses severity and impact
  3. For Critical/High: push blocked until resolved (or managed exception for High). For Medium/Low: Kanban Zone card created for remediation
  4. Patch developed, tested in Docker development environment, deployed to staging
  5. Verified in staging before production deployment
  6. Kanban Zone card moved to completion

Operating System and Runtime Patching

Penetration Testing

MaxGood.work employs a continuous, AI-driven security assessment system (MGSecurityAssessment) that replaces traditional annual external penetration testing.

Assessment Layers

Layer Scope Frequency
L1 — Dependency & CVE Intelligence All repos' dependencies scanned against NVD, OSV.dev, GitHub Advisory Database Prior to every push to remote
L2 — Static Analysis & Configuration bandit, semgrep, hadolint, prowler across all codebases Prior to every push to remote
L3 — Active Endpoint Testing OWASP Top 10 against all services in Docker Compose dev environment Prior to every push to remote
L4 — AI Agent Security Assessment Business logic adversary, attack chain synthesis, social engineering, independent attestation Monthly (attestation refresh), quarterly (full assessment)

Layer 4 Model

Layer 4 runs the same reviewers as the pre-commit red-team review (policies/change-management.md → "Automated Red-Team Review Engine"): two primaries, GPT-6 Luna and Claude Haiku 5.5 on AWS Bedrock with the developer's own AWS identity, and the model alias amazing on the self-hosted private-ai gateway (PRIVATE_AI_BASE_URL and PRIVATE_AI_API_KEY from the workspace-root .env) as the decider of their disputes. Every Layer 4 agent and the attestation run on both primaries; the attestation filter treats a finding as covered by a SCAN_EXCEPTION: attestation only when both primaries agree it is covered with the same attestation, and keeps it otherwise.

Each Layer 4 run has a 480-second budget and spends at most US$0.10 of Bedrock, within the developer's US$1.00 daily limit. It analyses its context in parts of at most 32,000 characters, highest priority first: the pushed repository's code, then the most severe Layer 1-3 findings, then the other repositories' code. The parts the budget or the spending limit does not reach are recorded as Layer 4 PARTIAL. When Bedrock is unreachable or the daily limit is reached, Layer 4 is recorded as Layer 4 NOT RUN. Both notices never block a push. A push is blocked by a Critical Layer 4 finding in the repository being pushed, or in no identifiable repository; a Critical Layer 4 finding in another repository is reported in the scan output and its evidence and does not block the push, and it is tracked on a Kanban Zone card for remediation.

Independence

MGSecurityAssessment is a separate repository with its own CI/CD. The development team consumes its output but does not control its rules or scoring.

Attestation

The attestation agent (Layer 4d) produces a formal security assessment of the full security posture: an executive summary, a risk assessment, CVSS 3.1 base scores for the most critical findings of Layers 1-4, a SOC 2 control mapping, remediation priorities and an attestation statement. Each scored finding is reported with its source, advisory identifier, code location, score and vector, and its severity is set from the score (9.0 and above Critical, 7.0 High, 4.0 Medium, otherwise Low). The narrative sections are reported as one summary finding, taken from the first primary that gives a valid answer.

Run Modes

Mode Trigger Layers
Full assessment Manual / quarterly All
Change assessment Pre-deploy CI/CD L1–L3 (changed files)
Continuous monitoring Daily L1 only
Attestation refresh Monthly L4d only
Targeted probe Manual Any single layer

Evidence and Findings

Host Hardening

Container Hardening

AWS Infrastructure Hardening

Virtual Machine Hardening (Lightsail Servers)

MaxGood.work administers two Lightsail instances in ca-central-1: mg-wordpress (Debian 12, the blog) and MaxGood.work-n8n (Ubuntu 24.04 with Docker, the Easypanel host). The baseline for both:

← Back to Policy Library