Repository navigation
AntiAgent v0.4.3
Summary
Security hardening and test correctness patch: enforces monotonic workspace configuration merging to prevent untrusted repositories from re-enabling globally disabled artifact writes, corrects the supervisor bypass verification to mock the live evaluator.supervisor.review() method, and introduces automated GitHub Actions CI testing across Python versions.
Architectural & Functional Highlights
| Area / Component | Improvement |
|---|---|
Monotonic Workspace Config Merging (config.py) |
Strictly blocks untrusted workspace .antiagent.json files from re-enabling auto_approve_artifact_writes when globally disabled by the user. Enforces strict boolean type validation (isinstance(v, bool)) to reject malformed values ("true", 1, null). |
Supervisor Review Bypass Verification (tests/test_artifact_directory.py) |
Corrected mock target from stale review_tool_call to live AntiAgentEvaluator.supervisor.review(), with a fail-loud assertion ensuring artifact mutations never reach the LLM review path. |
Automated CI Workflow (.github/workflows/tests.yml) |
Added GitHub Actions CI test suite running automatically on push and pull requests to main across Python 3.9 and 3.12 matrices. |
Verification Proof
- All 331 unit tests passed (
python3 -m unittest discover tests) with 0 failures and 0 errors. - Added comprehensive regression tests in
tests/test_artifact_directory.py(TestArtifactConfigMonotonicSecurity, 7 tests) andtests/test_security_audit.py(test_workspace_config_cannot_re_enable_artifact_writes).
📥 Which download is right for you?
| Package | Operating System | Description |
|---|---|---|
AntiAgent.dmg |
macOS | Recommended for Mac. Drag-and-drop installer to /Applications. |
AntiAgent-Windows.zip |
Windows (Public Beta) | Recommended for Windows (Beta). Extract and double-click AntiAgent.bat. |
AntiAgent.pkg |
macOS | Standard auto-launching installer package for enterprise / MDM. |
AntiAgent.zip |
macOS | Standalone portable .app bundle archive. |
ℹ️ Windows Support (Public Beta): The Windows standalone app mode is currently in Public Beta. If you encounter any platform-specific quirks or edge cases, please submit an issue on GitHub!
⚡ 1-Line Terminal Installs
- macOS:
curl -fsSL https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.sh | bash - Windows (PowerShell):
irm https://raw.githubusercontent.com/aiden-guan/AntiAgent/main/install.ps1 | iex - Cross-Platform CLI:
pip install antiagent && antiagent install --global