Skip to content

Commit 4517411

Browse files
committed
Add security audits to portable Linux smoke tests
Portable binaries now get the same security-strings, security-install, and security-network audits as regular Linux/macOS builds. Closes gap where the portable (musl static) binary was smoke-tested but not security-audited.
1 parent 8967d7c commit 4517411

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/_smoke.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,10 @@ jobs:
191191
tar -xzf codebase-memory-mcp${SUFFIX}-linux-${{ matrix.arch }}-portable.tar.gz
192192
chmod +x codebase-memory-mcp
193193
scripts/smoke-test.sh ./codebase-memory-mcp
194+
195+
- name: Security audits (standard only)
196+
if: matrix.variant == 'standard'
197+
run: |
198+
scripts/security-strings.sh ./codebase-memory-mcp
199+
scripts/security-install.sh ./codebase-memory-mcp
200+
scripts/security-network.sh ./codebase-memory-mcp

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,14 @@ jobs:
197197
cp install.ps1 binaries/ 2>/dev/null || true
198198
ls -la binaries/
199199
200+
- name: Security audits on all release binaries
201+
run: |
202+
for bin in binaries/codebase-memory-mcp*; do
203+
[ -f "$bin" ] || continue
204+
echo "--- Auditing: $(basename "$bin") ---"
205+
scripts/security-strings.sh "$bin"
206+
done
207+
200208
- name: VirusTotal scan
201209
uses: crazy-max/ghaction-virustotal@936d8c5c00afe97d3d9a1af26d017cfdf26800a2 # v5.0.0
202210
id: virustotal

0 commit comments

Comments
 (0)