Sprint 1: Security hardening — fixes, dependency checks, CI#23
Merged
cluster2600 merged 1 commit intomainfrom Feb 18, 2026
Merged
Sprint 1: Security hardening — fixes, dependency checks, CI#23cluster2600 merged 1 commit intomainfrom
cluster2600 merged 1 commit intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sprint 1 security hardening pass on ALBATOR macOS hardening scripts. Addresses issue #2 ('vibe coded & broken?') with comprehensive fixes across permissions, static analysis, dependency guards, and CI infrastructure.
What
check_dependencies()guard to 4 core scripts (app_security.sh,encryption.sh,privacy.sh,reporting.sh)log()function (separate declare and assign)tests/test_security.sh.shfiles now passshellcheck -S errorandbash -n.github/workflows/core-tests.ymlruns shellcheck + syntax check on every push--doctorflag)Why
Issue #2 reported that scripts were 'vibe coded & broken' — missing +x permissions, syntax errors, no dependency guards before critical commands like
fdesetup,spctl,diskutil. Without guards, these commands fail silently or with cryptic errors on systems with non-standard configurations.How
Manually audited each of the 14 shell scripts:
-S errorseverity leveldocs/SPRINT1_SUMMARY.mdanddocs/2026-02-18-improvements.mdTesting
CI now runs these on every push automatically.
Checklist
shellcheck -S errorbash -nsyntax checkdocs/SPRINT1_SUMMARY.md