mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-11 09:25:35 +08:00
Respect nested .gitignore files during indexing, security audit all variants
Nested .gitignore support (fixes #178): - Load per-subdirectory .gitignore during walk, match paths relative to the gitignore's directory via local_rel_path() - Root and nested gitignores stack independently - Owned gitignores collected and freed at walk end (avoids use-after-free from borrowed pointers on the iterative stack) Security: - Run security-strings/install/network + ClamAV + Windows Defender on ALL binary variants (standard + UI), not just standard - Whitelist UI bundle URLs (React, Three.js, Google Fonts, Tailwind, W3C) Co-Authored-By: dLo999 <dLo999@users.noreply.github.com>
This commit is contained in:
@@ -62,8 +62,7 @@ jobs:
|
||||
env:
|
||||
SMOKE_DOWNLOAD_URL: http://localhost:18080
|
||||
|
||||
- name: Security audits (standard only)
|
||||
if: matrix.variant == 'standard'
|
||||
- name: Security audits
|
||||
run: |
|
||||
scripts/security-strings.sh ./codebase-memory-mcp
|
||||
scripts/security-install.sh ./codebase-memory-mcp
|
||||
@@ -76,7 +75,7 @@ jobs:
|
||||
scripts/security-fuzz-random.sh ./codebase-memory-mcp 60
|
||||
|
||||
- name: ClamAV scan (Linux)
|
||||
if: matrix.variant == 'standard' && startsWith(matrix.os, 'ubuntu')
|
||||
if: startsWith(matrix.os, 'ubuntu')
|
||||
run: |
|
||||
sudo apt-get update -qq && sudo apt-get install -y -qq clamav > /dev/null 2>&1
|
||||
sudo sed -i 's/^Example/#Example/' /etc/clamav/freshclam.conf 2>/dev/null || true
|
||||
@@ -86,7 +85,7 @@ jobs:
|
||||
clamscan --no-summary ./codebase-memory-mcp
|
||||
|
||||
- name: ClamAV scan (macOS)
|
||||
if: matrix.variant == 'standard' && startsWith(matrix.os, 'macos')
|
||||
if: startsWith(matrix.os, 'macos')
|
||||
run: |
|
||||
brew install clamav > /dev/null 2>&1
|
||||
CLAMAV_ETC=$(brew --prefix)/etc/clamav
|
||||
@@ -149,15 +148,13 @@ jobs:
|
||||
env:
|
||||
SMOKE_DOWNLOAD_URL: http://localhost:18080
|
||||
|
||||
- name: Security audits (standard only)
|
||||
if: matrix.variant == 'standard'
|
||||
- name: Security audits
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
scripts/security-strings.sh ./codebase-memory-mcp.exe
|
||||
scripts/security-install.sh ./codebase-memory-mcp.exe
|
||||
|
||||
- name: Windows Defender scan (standard only)
|
||||
if: matrix.variant == 'standard'
|
||||
- name: Windows Defender scan
|
||||
shell: pwsh
|
||||
run: |
|
||||
& "C:\Program Files\Windows Defender\MpCmdRun.exe" -SignatureUpdate 2>$null
|
||||
@@ -192,8 +189,7 @@ jobs:
|
||||
chmod +x codebase-memory-mcp
|
||||
scripts/smoke-test.sh ./codebase-memory-mcp
|
||||
|
||||
- name: Security audits (standard only)
|
||||
if: matrix.variant == 'standard'
|
||||
- name: Security audits
|
||||
run: |
|
||||
scripts/security-strings.sh ./codebase-memory-mcp
|
||||
scripts/security-install.sh ./codebase-memory-mcp
|
||||
|
||||
Reference in New Issue
Block a user