Skip to content

Fix documentation links and implement malware scanner for audit compliance - #56

Merged
makr-code merged 5 commits into
mainfrom
copilot/improve-compliance-measures
Dec 2, 2025
Merged

makr-code merged 5 commits into
mainfrom
copilot/improve-compliance-measures

Conversation

Copilot AI commented Dec 2, 2025 •

Copy link
Copy Markdown
Contributor

Audit identified missing SBOM link and compliance gaps. Documentation had 680+ broken links due to naming convention migration. Malware scanning required for content ingestion (BSI C5 OPS-05, ISO 27001 A.12.2.1).

Documentation Link Fixes

  • README.md: Fixed SBOM, DEVELOPMENT_AUDITLOG, INCIDENT_RESPONSE_PLAN, deployment paths
  • SECURITY.md: All security doc paths corrected to security_* convention
  • DOCUMENTATION_INDEX.md: API, client SDK, PKI, deployment links fixed
  • compliance_dashboard.md: Updated all document paths, added malware scanner entry

Malware Scanner Implementation

New files:

  • include/security/malware_scanner.h
  • src/security/malware_scanner.cpp
  • docs/security/security_malware_scanner.md

Features:

  • SignatureScanner (built-in): PE/ELF/Mach-O in documents, double extensions, archive bombs, EICAR
  • ClamAVScanner (optional): clamd integration via TCP
  • Configurable threat levels (CLEAN → CRITICAL), blocking thresholds
  • Full audit logging, Prometheus metrics
// Integration in ContentManager::importContent()
if (blob.has_value() && malware_filter_) {
    auto scan_result = malware_filter_->scan(blob_data, filename, mime_type, content_id);
    if (malware_filter_->shouldBlock(scan_result)) {
        return Status::Error("Content blocked: " + threat_info);
    }
}
# Config
malware_scan:
  enabled: true
  block_threshold: MEDIUM
  enabled_scanners: [SignatureScanner, ClamAV]

RAII wrappers added for socket/WSA resource management per code review.

Audit Documentation Updates

  • compliance_full_checklist.md: OPS-05 (Malware-Schutz) now ✅, PCI DSS Anti-Malware now ✅
  • compliance_audit_todo.md: Malware scanner added to completed implementations, TODO-COMPLIANCE-005 marked complete
  • security_audit_checklist.md: Added new section "2a) Malware-Schutz (BSI C5 OPS-05)" with implementation details
Original prompt

Wir müssen noch etwas tun um die compliance zu verbessern. es fehlt auch die verlinkte sbom.md


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Improve compliance by adding sbom.md Fix documentation links and implement malware scanner for audit compliance Dec 2, 2025
Copilot AI requested a review from makr-code December 2, 2025 20:57
@makr-code

Copy link
Copy Markdown
Owner

@copilot die audits aktualisieren.

Copilot AI commented Dec 2, 2025

Copy link
Copy Markdown
Contributor Author

@copilot die audits aktualisieren.

Audit-Dokumentation wurde aktualisiert (Commit 4749803):

  • docs/compliance/compliance_full_checklist.md: OPS-05 (Malware-Schutz) auf ✅ gesetzt, PCI DSS Anti-Malware auf ✅, Handlungsbedarf Fix Windows CI: PowerShell quoting and CURL fallback #10 als erledigt markiert
  • docs/compliance/compliance_audit_todo.md: Malware-Scanner zu Sicherheits-Compliance hinzugefügt, TODO-COMPLIANCE-005 als erledigt markiert mit Implementierungsdetails
  • docs/security/security_audit_checklist.md: Neuen Abschnitt "2a) Malware-Schutz (BSI C5 OPS-05)" hinzugefügt, defekte Links korrigiert

@makr-code
makr-code marked this pull request as ready for review December 2, 2025 21:13
@makr-code
makr-code merged commit 4c055ee into main Dec 2, 2025
makr-code added a commit that referenced this pull request Dec 6, 2025
…ures

Fix documentation links and implement malware scanner for audit compliance
@makr-code makr-code added this to the v1.0.2 milestone Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants