eva-cli 4.4.1__tar.gz → 5.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {eva_cli-4.4.1 → eva_cli-5.0.0}/.github/workflows/ci.yaml +3 -3
- {eva_cli-4.4.1 → eva_cli-5.0.0}/.gitignore +1 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/CHANGELOG.md +70 -0
- eva_cli-4.4.1/README.md → eva_cli-5.0.0/PKG-INFO +166 -1
- eva_cli-4.4.1/PKG-INFO → eva_cli-5.0.0/README.md +98 -44
- eva_cli-5.0.0/assets/demo.gif +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/docs/README.md +1 -1
- {eva_cli-4.4.1 → eva_cli-5.0.0}/docs/command-reference.md +96 -1
- {eva_cli-4.4.1 → eva_cli-5.0.0}/docs/eva-sec.md +73 -9
- {eva_cli-4.4.1 → eva_cli-5.0.0}/install.sh +25 -8
- {eva_cli-4.4.1 → eva_cli-5.0.0}/pyproject.toml +35 -6
- {eva_cli-4.4.1 → eva_cli-5.0.0}/rust/eva_fastwalk/Cargo.toml +1 -1
- eva_cli-5.0.0/rust/eva_fastwalk/src/lib.rs +385 -0
- eva_cli-5.0.0/scripts/README.md +250 -0
- eva_cli-5.0.0/scripts/evidence_bundle.py +9 -0
- eva_cli-5.0.0/scripts/linux/analyze_logs.sh +316 -0
- eva_cli-5.0.0/scripts/linux/audit_accounts.sh +363 -0
- eva_cli-5.0.0/scripts/linux/cloud_metadata.sh +241 -0
- eva_cli-5.0.0/scripts/linux/container_triage.sh +332 -0
- eva_cli-5.0.0/scripts/linux/detect_rootkits.sh +414 -0
- eva_cli-5.0.0/scripts/linux/hunt_suspicious_files.sh +351 -0
- eva_cli-5.0.0/scripts/linux/incident_response.sh +385 -0
- eva_cli-5.0.0/scripts/linux/network_forensics.sh +328 -0
- eva_cli-5.0.0/scripts/linux/package_integrity.sh +341 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/test_vm_matrix.py +259 -10
- eva_cli-5.0.0/scripts/triage_orchestrator.py +9 -0
- eva_cli-5.0.0/scripts/validate_triage.py +9 -0
- eva_cli-5.0.0/scripts/windows/Audit-Credentials.ps1 +462 -0
- eva_cli-5.0.0/scripts/windows/Audit-DefenderConfig.ps1 +516 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/windows/Audit-SystemHardening.ps1 +2 -2
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/windows/Audit-UserAccounts.ps1 +2 -2
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/windows/Find-SuspiciousPersistence.ps1 +3 -2
- eva_cli-5.0.0/scripts/windows/Find-Webshells.ps1 +342 -0
- eva_cli-5.0.0/scripts/windows/Get-Autoruns.ps1 +439 -0
- eva_cli-5.0.0/scripts/windows/Get-CloudMetadata.ps1 +362 -0
- eva_cli-5.0.0/scripts/windows/Get-ContainerTriage.ps1 +500 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/windows/Get-HostTriage.ps1 +2 -2
- eva_cli-5.0.0/scripts/windows/Get-IncidentResponse.ps1 +430 -0
- eva_cli-5.0.0/scripts/windows/Get-LogForensics.ps1 +598 -0
- eva_cli-5.0.0/scripts/windows/Get-NetworkForensics.ps1 +542 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/windows/Get-NetworkTriage.ps1 +2 -2
- eva_cli-5.0.0/scripts/windows/Get-ProcessTriage.ps1 +276 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/windows/Get-SecurityEvents.ps1 +4 -3
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/__init__.py +1 -1
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/agent/loop.py +143 -6
- eva_cli-5.0.0/src/eva/agent/tools.py +374 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cache/cache.py +10 -2
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/app.py +2 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/commands/ask.py +55 -1
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/commands/chat.py +12 -1
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/commands/config_cmd.py +308 -0
- eva_cli-5.0.0/src/eva/cli/commands/context.py +37 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/commands/edit.py +15 -3
- eva_cli-5.0.0/src/eva/cli/commands/web.py +429 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/commands/work.py +88 -9
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/commands/workflow.py +22 -1
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/commands/workspace.py +12 -2
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/config/config.py +12 -1
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/indexing/__init__.py +11 -0
- eva_cli-5.0.0/src/eva/indexing/finder.py +145 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/indexing/packer.py +13 -1
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/indexing/repo_index.py +162 -1
- eva_cli-5.0.0/src/eva/indexing/tree.py +114 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/plugins/loader.py +28 -2
- eva_cli-5.0.0/src/eva/plugins/protocol.py +65 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/prompts/__init__.py +0 -1
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/providers/__init__.py +90 -29
- eva_cli-5.0.0/src/eva/providers/gemini_provider.py +332 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/providers/opencode_zen_provider.py +14 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/providers/openrouter_provider.py +14 -0
- eva_cli-5.0.0/src/eva/providers/retry.py +204 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security/__init__.py +6 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security/audit.py +115 -9
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security/sensitive_files.py +7 -2
- eva_cli-5.0.0/src/eva/security_tools/bundle.py +595 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/cli.py +350 -10
- eva_cli-5.0.0/src/eva/security_tools/deps.py +50 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/elf_analyzer.py +13 -3
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/normalizers.py +155 -38
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/pe_analyzer.py +10 -1
- eva_cli-5.0.0/src/eva/security_tools/triage.py +710 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/analyze_logs.sh +316 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/audit_accounts.sh +363 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/audit_hardening.sh +177 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/cloud_metadata.sh +241 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/container_triage.sh +332 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/detect_rootkits.sh +414 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/find_persistence.sh +101 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/host_triage.sh +129 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/hunt_suspicious_files.sh +351 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/incident_response.sh +385 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/network_forensics.sh +328 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/network_triage.sh +103 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/package_integrity.sh +341 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/linux/security_events.sh +104 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Audit-Credentials.ps1 +462 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Audit-DefenderConfig.ps1 +516 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Audit-SystemHardening.ps1 +142 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Audit-UserAccounts.ps1 +103 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Find-SuspiciousPersistence.ps1 +139 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Find-Webshells.ps1 +342 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Get-Autoruns.ps1 +439 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Get-CloudMetadata.ps1 +362 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Get-ContainerTriage.ps1 +500 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Get-HostTriage.ps1 +180 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Get-IncidentResponse.ps1 +430 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Get-LogForensics.ps1 +598 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Get-NetworkForensics.ps1 +542 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Get-NetworkTriage.ps1 +104 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Get-ProcessTriage.ps1 +276 -0
- eva_cli-5.0.0/src/eva/security_tools/triage_scripts/windows/Get-SecurityEvents.ps1 +183 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/utils.py +3 -1
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/workflow.py +145 -7
- eva_cli-5.0.0/src/eva/security_tools/yara_scanner.py +382 -0
- eva_cli-5.0.0/src/eva/web/__init__.py +28 -0
- eva_cli-5.0.0/src/eva/web/explorer.py +72 -0
- eva_cli-5.0.0/src/eva/web/fetcher.py +323 -0
- eva_cli-5.0.0/src/eva/web/imaging.py +290 -0
- eva_cli-5.0.0/src/eva/web/index.py +315 -0
- eva_cli-5.0.0/src/eva/web/searxng.py +145 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/workflows/__init__.py +2 -0
- eva_cli-5.0.0/src/eva/workflows/budget.py +276 -0
- eva_cli-5.0.0/src/eva/workflows/chat_session.py +445 -0
- eva_cli-5.0.0/src/eva/workflows/engine.py +502 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/workspace/__init__.py +8 -0
- eva_cli-5.0.0/src/eva/workspace/git_ops.py +328 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/workspace/gitignore.py +24 -5
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/workspace/session.py +128 -12
- eva_cli-5.0.0/tests/adversarial/test_challenger2_m1_rem.py +425 -0
- eva_cli-5.0.0/tests/adversarial/test_m1_adversarial.py +683 -0
- eva_cli-5.0.0/tests/adversarial/test_m2_adversarial.py +672 -0
- eva_cli-5.0.0/tests/adversarial/test_m2_adversarial_challenger2.py +473 -0
- eva_cli-5.0.0/tests/adversarial/test_m3_adversarial_challenger2.py +625 -0
- eva_cli-5.0.0/tests/adversarial/test_m3_challenger1_adversarial.py +393 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/conftest.py +10 -0
- eva_cli-5.0.0/tests/e2e/conftest.py +63 -0
- eva_cli-5.0.0/tests/e2e/test_tier1_features.py +617 -0
- eva_cli-5.0.0/tests/e2e/test_tier2_boundaries.py +299 -0
- eva_cli-5.0.0/tests/e2e/test_tier3_combinations.py +139 -0
- eva_cli-5.0.0/tests/e2e/test_tier4_scenarios.py +140 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/fixtures/golden/prompts/work_system_prompt.txt +0 -1
- eva_cli-5.0.0/tests/unit/agent/test_agent_tools_bounded.py +81 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cache/test_cache.py +10 -0
- eva_cli-5.0.0/tests/unit/cli/test_audit_cmd.py +81 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cli/test_cli_commands.py +5 -4
- eva_cli-5.0.0/tests/unit/cli/test_config_models.py +97 -0
- eva_cli-5.0.0/tests/unit/cli/test_work.py +121 -0
- eva_cli-5.0.0/tests/unit/cli/test_workflow_provider.py +90 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/golden/test_golden_patches.py +3 -2
- eva_cli-5.0.0/tests/unit/indexing/test_fastwalk_parity.py +106 -0
- eva_cli-5.0.0/tests/unit/indexing/test_polyglot_index.py +105 -0
- eva_cli-5.0.0/tests/unit/plugins/test_workflow_hooks.py +146 -0
- eva_cli-5.0.0/tests/unit/providers/test_context_budget.py +54 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/providers/test_dispatch_caching.py +60 -0
- eva_cli-5.0.0/tests/unit/providers/test_gemini_tools.py +207 -0
- eva_cli-5.0.0/tests/unit/providers/test_retry_backoff.py +98 -0
- eva_cli-5.0.0/tests/unit/security_tools/test_bundle.py +132 -0
- eva_cli-5.0.0/tests/unit/security_tools/test_deps.py +53 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/test_sec_cli.py +121 -0
- eva_cli-5.0.0/tests/unit/security_tools/test_sec_ingest_multi.py +128 -0
- eva_cli-5.0.0/tests/unit/security_tools/test_triage.py +150 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/test_triage_ingest.py +31 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/test_yara.py +66 -0
- eva_cli-5.0.0/tests/unit/security_tools/test_yara_scanner.py +8 -0
- eva_cli-5.0.0/tests/unit/test_challenger2_empirical.py +792 -0
- eva_cli-5.0.0/tests/unit/web/test_web.py +455 -0
- eva_cli-5.0.0/tests/unit/workflows/test_budget_accounting.py +89 -0
- eva_cli-5.0.0/tests/unit/workflows/test_chat_session.py +157 -0
- eva_cli-5.0.0/tests/unit/workspace/test_git_ops.py +203 -0
- eva_cli-5.0.0/tests/unit/workspace/test_workspace_history.py +70 -0
- eva_cli-5.0.0/uv.lock +2583 -0
- eva_cli-4.4.1/assets/demo.gif +0 -0
- eva_cli-4.4.1/rust/eva_fastwalk/src/lib.rs +0 -142
- eva_cli-4.4.1/src/eva/agent/tools.py +0 -176
- eva_cli-4.4.1/src/eva/cli/commands/context.py +0 -20
- eva_cli-4.4.1/src/eva/indexing/finder.py +0 -42
- eva_cli-4.4.1/src/eva/indexing/tree.py +0 -60
- eva_cli-4.4.1/src/eva/plugins/protocol.py +0 -45
- eva_cli-4.4.1/src/eva/providers/gemini_provider.py +0 -181
- eva_cli-4.4.1/src/eva/security_tools/yara_scanner.py +0 -172
- eva_cli-4.4.1/src/eva/workflows/budget.py +0 -162
- eva_cli-4.4.1/src/eva/workflows/chat_session.py +0 -54
- eva_cli-4.4.1/src/eva/workflows/engine.py +0 -306
- eva_cli-4.4.1/src/eva/workspace/git_ops.py +0 -213
- eva_cli-4.4.1/tests/unit/providers/test_context_budget.py +0 -26
- eva_cli-4.4.1/tests/unit/providers/test_gemini_tools.py +0 -58
- eva_cli-4.4.1/tests/unit/workflows/test_chat_session.py +0 -26
- eva_cli-4.4.1/tests/unit/workspace/test_git_ops.py +0 -41
- eva_cli-4.4.1/uv.lock +0 -2724
- {eva_cli-4.4.1 → eva_cli-5.0.0}/.github/workflows/fastwalk-release.yml +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/.github/workflows/release.yml +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/.pre-commit-config.yaml +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/CONTRIBUTING.md +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/Dockerfile +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/LICENSE +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/SECURITY.md +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/assets/demo2.gif +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/assets/demo3.gif +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/assets/demo4.gif +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/assets/demo5.gif +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/assets/eva.png +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/docs/architecture.md +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/docs/configuration.md +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/docs/index.md +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/docs/plugins.md +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/docs/provider-behavior.md +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/docs/security-model.md +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/examples/eva-plugin-hello/README.md +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/examples/eva-plugin-hello/eva_plugin_hello.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/examples/eva-plugin-hello/pyproject.toml +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/examples/sec/local-repo-assessment.yaml +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/examples/sec/passive-zap-baseline.yaml +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/examples/sec/scope.yaml +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/rust/eva_fastwalk/Cargo.lock +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/rust/eva_fastwalk/pyproject.toml +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/linux/audit_hardening.sh +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/linux/find_persistence.sh +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/linux/host_triage.sh +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/linux/network_triage.sh +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/scripts/linux/security_events.sh +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/agent/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cache/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/commands/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/commands/budget.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/commands/cache_cmd.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/commands/security.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli/helpers.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/cli.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/config/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/indexing/io.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/indexing/tokenizer.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/plugins/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/providers/groq_provider.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/providers/llamacpp_provider.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/providers/ollama_provider.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/providers/openai_compat.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/replay/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/replay/crypto.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/replay/player.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/replay/recorder.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security/redaction.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security/sandbox.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security/work_safety.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/analysis/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/analysis/authenticity.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/analysis/binary.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/analysis/metadata.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/analysis/rich_model.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/analysis/steganography.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/analysis/structure_validator.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/core/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/core/audit.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/core/hashing.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/core/image_object.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/core/pipeline.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/core/signing.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/core/vault.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/main.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/algorithms/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/algorithms/adaptive.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/algorithms/cost_functions.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/algorithms/f5_stego.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/algorithms/j_uniward.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/algorithms/stc_embed.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/channels/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/channels/metadata_channel.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/channels/multi_carrier.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/channels/network_covert.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/channels/palette_stego.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/crypto.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/offensive/fs_stego.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/reporting/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/reporting/reports.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/security/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/security/sanitization.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/security/shredder.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/aegis_engine/security/timestomp.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/base.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/entropy.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/gitleaks.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/intel_client.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/models.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/osv.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/registry.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/report.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/rules/yara/aegis_offensive_artifacts.yar +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/rules/yara/cve_exploits.yar +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/rules/yara/embedded_pe.yar +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/rules/yara/obfuscation.yar +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/rules/yara/suspicious_packers.yar +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/rules/yara/webshells.yar +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/runner.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/scope.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/semgrep.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/strings_analyzer.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/syft.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/trivy.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/security_tools/zap.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/shell/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/shell/runner.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/telemetry/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/telemetry/diagnostics.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/telemetry/metrics.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/ui/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/ui/formatter.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/ui/output.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/ui/streaming.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/workflows/builtins/dependency_audit.yaml +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/workflows/builtins/repo_health.yaml +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/workflows/builtins/security_scan.yaml +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/src/eva/workspace/project_context.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/fixtures/golden/patches/sample1_expected.diff +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/fixtures/golden/patches/sample1_fenced.txt +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/fixtures/golden/prompts/analyze_system_prompt.txt +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/fixtures/golden/prompts/ask_system_prompt.txt +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/fixtures/golden/prompts/changes_system_prompt.txt +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/fixtures/golden/prompts/chat_system_prompt.txt +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/fixtures/golden/prompts/commit_system_prompt.txt +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/fixtures/golden/prompts/edit_system_prompt.txt +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/fixtures/golden/prompts/explain_system_prompt.txt +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/test_basic.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/agent/test_loop.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/agent/test_tools.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cache/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cli/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cli/test_ask_repo.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cli/test_changes_command.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cli/test_cli.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cli/test_cli_coverage.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cli/test_cli_more.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cli/test_investigate.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cli/test_lazy_startup.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/cli/test_output_format.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/config/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/config/test_config.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/config/test_config_keys.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/golden/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/golden/test_golden_prompts.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/indexing/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/indexing/test_indexing.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/indexing/test_indexing_more.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/indexing/test_packer.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/indexing/test_repo_index.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/indexing/test_tokenizer_offline.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/plugins/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/plugins/test_plugins.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/providers/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/providers/test_offline_providers.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/providers/test_openai_compat_tools.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/providers/test_provider_coverage.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/providers/test_provider_errors.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/providers/test_provider_tools_protocol.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/providers/test_providers.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/providers/test_providers_more.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/providers/test_repo_caching.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/replay/test_replay.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security/test_allowlist_cli.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security/test_audit.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security/test_audit_chain.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security/test_redaction.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security/test_safety_audit.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security/test_sandbox.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security/test_sensitive_files_config.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security/test_work_safety.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/test_aegis.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/test_binary.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/test_intel.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/test_normalizers.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/test_runner.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/test_scope.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/test_workflow.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/security_tools/test_zap.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/shell/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/shell/test_shell.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/telemetry/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/telemetry/test_metrics.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/telemetry/test_telemetry.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/test_compatibility_imports.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/ui/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/ui/test_ui.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/workflows/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/workflows/test_workflow_engine.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/workflows/test_workflows.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/workspace/__init__.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/workspace/test_gitignore_config.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/workspace/test_project_context.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/workspace/test_session_workspace.py +0 -0
- {eva_cli-4.4.1 → eva_cli-5.0.0}/tests/unit/workspace/test_workspace.py +0 -0
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
strategy:
|
|
15
15
|
matrix:
|
|
16
16
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
17
|
-
python-version: ["3.
|
|
17
|
+
python-version: ["3.11", "3.12"]
|
|
18
18
|
steps:
|
|
19
19
|
- uses: actions/checkout@v4
|
|
20
20
|
|
|
@@ -44,8 +44,8 @@ jobs:
|
|
|
44
44
|
- name: Check code formatting
|
|
45
45
|
run: ruff format --check .
|
|
46
46
|
|
|
47
|
-
- name: Run test suite with
|
|
48
|
-
run: pytest -v --cov=eva --cov-report=term-missing --cov-fail-under=
|
|
47
|
+
- name: Run test suite with 80% coverage gate
|
|
48
|
+
run: pytest -v --cov=eva --cov-report=term-missing --cov-fail-under=80
|
|
49
49
|
|
|
50
50
|
docker:
|
|
51
51
|
runs-on: ubuntu-latest
|
|
@@ -7,6 +7,76 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
## [5.0.0] - 2026-11-20
|
|
11
|
+
|
|
12
|
+
### Security
|
|
13
|
+
- feat(cache): prefix cache keys with `v2:` namespace and include resolved model identity to avoid cross-model cache collisions (WI-01)
|
|
14
|
+
- feat(work): remove implicit sudo retry prompt, gate privilege escalation behind explicit `--allow-sudo` flag with allowlist validation, prohibited shell execution, replay logging, and distinct audit trails (WI-02)
|
|
15
|
+
- feat(prompts): remove sudo generation instructions from `WORK_SYSTEM_PROMPT` (WI-02)
|
|
16
|
+
- feat(fastwalk): prune `ALWAYS_IGNORED_DIRS` during traversal inception via Rust `filter_entry`, adding support for `extra_ignored_dirs` and `unignore_dirs` with traversal parity in Python fallback (WI-03)
|
|
17
|
+
- feat(diff): enforce strict repository path containment for diff targets, deny sensitive file modifications, enforce authorized path scopes, reject symlinks/special files, and provide atomic multi-file patching with rollback (WI-04)
|
|
18
|
+
- feat(gemini): support multi-turn structured tool calls with FunctionCall and FunctionResponse mapping for dict and ToolCall representations (WI-05)
|
|
19
|
+
- feat(workflow): honor --provider flag in workflow engine, add WorkflowStep id and Step alias, propagate EVA_PROVIDER and EVA_DEFAULT_PROVIDER to subprocess environment, and record pinned_provider in audit logs (WI-06)
|
|
20
|
+
- feat(sec): expand multi-file, directory, and glob ingest with canonical path traversal, seen_fingerprints deduplication, ingest-summary.json generation, and .jsonl support (WI-07)
|
|
21
|
+
- feat(providers): implement tenacity-based capped jittered retries for transient provider errors (429, 5xx, timeouts), RetryingStream wrapper for streaming generators, and ensure single budget increment per operation (WI-08)
|
|
22
|
+
- feat(agent): bounded file reading with start_line/end_line/max_bytes, ripgrep code search with Python regex fallback, and cumulative token budget tracking terminating on TOKEN_BUDGET_EXHAUSTED (WI-09)
|
|
23
|
+
- feat(workspace): record persistent workspace history with deep secret redaction across interactive and AI commands, with reverse chronological activity display (WI-10)
|
|
24
|
+
- feat(plugins): plugin workflow observer hooks (WorkflowHooks protocol) with isolated error handling and output secret redaction (WI-11)
|
|
25
|
+
- feat(chat): interactive REPL (ChatSession) with readline history at ~/.config/eva/sessions/.history, multiline mode, dynamic context budgeting derived from get_context_budget, project context auto-loading from .eva/context.md (with --no-project-context flag), Fernet session transcript encryption at rest, and slash commands (/file, /tree, /model, /provider, /url, /web, /clear, /save, /multiline, /help, /exit, /quit) (WI-12)
|
|
26
|
+
- feat(providers): centralized context budget resolution via get_context_budget with 4-level precedence matrix (config.general.context_token_limit > provider_cfg.max_context_tokens > provider.max_context_tokens > 4000) (WI-13)
|
|
27
|
+
- feat(config): model discovery CLI (eva config models) with 1-hour TTL disk cache, lazy provider loading, --free-only, --refresh, and model validation in set-model with --force override (WI-14)
|
|
28
|
+
- feat(audit): audit log verification CLI (eva config audit verify, eva config audit show) with AuditVerificationResult flexible unpacking (2-tuple and 3-tuple), broken index reporting, secret redaction, and non-zero exit on tampering (WI-15)
|
|
29
|
+
- feat(sec): security triage orchestration and schema validation library modules (eva.security_tools.triage) with eva sec triage run and validate subcommands; tamper-evident authenticated evidence bundle module (eva.security_tools.bundle) with AES-256-GCM / PBKDF2 encrypted container (EVABUND1), .sha256 sidecars, and eva sec bundle create, verify, and list subcommands; preserve script compatibility wrappers (WI-16)
|
|
30
|
+
- feat(packaging): partition heavy dependencies into optional extras (sec, sec-media, web-images, all) in pyproject.toml with lazy import guards and clean actionable install hints via missing_extra_exit (WI-17)
|
|
31
|
+
- feat(yara): bounded YARA scanner with 10 MiB default max file size, ignored directory subtree pruning (.git, node_modules, etc.), symlink and special file skipping, scan deadline enforcement, and structured YaraScanResult statistics (WI-18)
|
|
32
|
+
- feat(intel): concurrent modular threat intelligence client with bounded Semaphore(5), per-provider timeouts, 24h positive / 10m negative TTL caching, TokenBucket rate limiting, --offline mode, and IOC secret redaction (WI-19)
|
|
33
|
+
- feat(budget): comprehensive token and cost accounting tracking input/output tokens, last model, and USD cost estimation using static MODEL_PRICING table with breakdowns in eva usage and eva budget show (WI-20)
|
|
34
|
+
- feat(indexing): cross-language AST import extraction for TypeScript/JavaScript (ES import, CommonJS require), Go, Rust, and Python with relative internal path normalization, dependency graph scoring, and eva context init project context scaffolding (WI-21)
|
|
35
|
+
- feat(budget): atomic JSON persistence with fsync, file-locking with bounded timeout and exponential backoff, and corrupted budget file quarantine with recovery (WI-22)
|
|
36
|
+
- feat(web): terminal web search with SearXNG, local SQLite FTS5 web document indexing with BM25 ranking, SSRF-safe HTTP fetcher with HTML-to-Markdown conversion, multi-protocol terminal image renderer (Kitty, Sixel, iTerm2, half-block), and interactive terminal explorer CLI (eva web search/open/index/image/history/explore) (WI-23)
|
|
37
|
+
- feat(grounding): web-grounded ask and investigation with --url and --web-id context injection in eva ask, --web tools flag in eva investigate, web_search and fetch_url agent tools, and /url /web slash commands in Chat REPL (WI-24)
|
|
38
|
+
- feat(web): OSC 8 terminal hyperlink rendering for search results enabling full un-truncated URLs on Ctrl+Click
|
|
39
|
+
- feat(web): `--browser` (`-b`) flag for `eva web open` to directly view articles in the system default browser
|
|
40
|
+
- feat(web): `--format url` output option for `eva web search` to produce clean un-wrapped URL listings
|
|
41
|
+
- feat(web): session-aware search result resolution allowing `eva web open <#>` and `eva web image <#>` to open target items directly from the user's latest search session
|
|
42
|
+
- feat(web): RFC 6052 NAT64 IPv4-Embedded IPv6 address validation in SSRF protection and Wikimedia compliant User-Agent headers
|
|
43
|
+
- feat(web): multi-port SearXNG endpoint discovery (8081, 8080) and resilient network exception handling
|
|
44
|
+
- docs(web): document Kitty terminal requirement for native GPU pixel-perfect HD image rendering and system image viewer fallback (--view)
|
|
45
|
+
|
|
46
|
+
### Added
|
|
47
|
+
- **Expanded Cross-Platform Endpoint Triage Suite (`scripts/`):**
|
|
48
|
+
- **Linux POSIX shell collectors:** `incident_response.sh` (volatile first-responder snapshot), `audit_accounts.sh` (identity/privilege audit), `analyze_logs.sh` (auth/web log correlation), `detect_rootkits.sh` (loader, module, process, and package-integrity checks), `hunt_suspicious_files.sh` (webshell/content/metadata hunting), `network_forensics.sh` (interfaces, connections, firewall, socket ownership), `package_integrity.sh` (`dpkg`/`rpm`/`apk` verification), `cloud_metadata.sh` (link-local AWS/GCP/Azure identity), and `container_triage.sh` (Docker/Podman/containerd/Kubernetes exposure).
|
|
49
|
+
- **Windows PowerShell collectors:** 16 scripts covering host inventory, hardening, accounts, security events, persistence, autoruns, credentials, log forensics, Defender configuration, process/network/incident response, webshells, cloud metadata, and containers.
|
|
50
|
+
- All 30 collectors emit standalone `eva.triage.v1` JSON with severities, confidence, remediation guidance, and deduplication fingerprints; Linux scripts use private temporary directories and cleanup traps, and Windows scripts degrade gracefully when cmdlets or privileges are unavailable.
|
|
51
|
+
- **Triage Orchestration, Validation & Evidence Tooling (`scripts/`):**
|
|
52
|
+
- `triage_orchestrator.py`: discovers and runs collectors, enforces per-script timeouts, aggregates findings and severity counts, writes `findings.jsonl` plus JSON/Markdown summaries, and supports `--fail-on` CI thresholds.
|
|
53
|
+
- `validate_triage.py`: standalone `eva.triage.v1` schema and finding validator with strict mode and JSON output.
|
|
54
|
+
- `evidence_bundle.py`: creates and verifies tar-based `eva.evidence.v1` bundles with per-file SHA-256 manifests, detached sidecars, case metadata, chain-of-custody records, and tamper/path-traversal detection. Bundles are explicitly reported as unencrypted.
|
|
55
|
+
- **Documentation & Testing:**
|
|
56
|
+
- Added `scripts/README.md` with the full collector inventory, parameters, safety model, orchestration, validation, evidence-bundle, and static-check workflows.
|
|
57
|
+
- Extended `scripts/test_vm_matrix.py` to exercise all 14 Linux collectors plus orchestrator, validator, evidence-bundle creation/verification, tamper detection, and Eva Sec ingestion/reporting.
|
|
58
|
+
- Validated all 16 Windows collectors on Windows 10 22H2 with Windows PowerShell 5.1 and Microsoft Defender enabled; every report passed `validate_triage.py` and ingested successfully.
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
- Rootkit and package-integrity scans now ignore `dpkg --verify` records caused by `Permission denied` instead of reporting them as modified package files.
|
|
62
|
+
- Windows collectors now fall back to `[Environment]::MachineName` when `COMPUTERNAME` is unavailable, so non-Windows fallback reports retain a valid host identity.
|
|
63
|
+
- Windows collectors now write UTF-8 JSON without a BOM, and `eva sec ingest` also tolerates BOM-prefixed reports from older PowerShell output.
|
|
64
|
+
- Orchestrator `--list` descriptions now skip shebang lines and use the first substantive comment block.
|
|
65
|
+
- Updated `docs/eva-sec.md` and `README.md` with the expanded endpoint triage suite and tooling examples.
|
|
66
|
+
|
|
67
|
+
### Fixed
|
|
68
|
+
- fix(web): automatically download live web pages and cache full markdown content when opening search-indexed documents that previously only contained snippets
|
|
69
|
+
- fix(web): render markdown using `rich.markdown.Markdown` inside terminal reader panels to eliminate Rich markup parsing errors on links and square brackets
|
|
70
|
+
- fix(web): include standard browser `User-Agent` headers in `SSRFSafeFetcher` to prevent documentation sites from blocking CLI requests
|
|
71
|
+
- fix(agent): replace hardcoded 'line 1' check in OutputText.__contains__ with genuine line-aware and boundary-bounded token containment, and add __contains__ delegation on ToolResult
|
|
72
|
+
- fix(workflow): record step_id in all audit log entries, redact secrets from workflow descriptions and step commands before dispatching observer hooks, and isolate SystemExit in plugin hook execution
|
|
73
|
+
- fix(normalizers): guard normalize_aegis against non-dict payloads and non-list findings/anomalies, and prevent non-list findings from falling through to Aegis normalizer
|
|
74
|
+
- fix(diff): reject in-repo symlinks and symlinked directory ancestors prior to path resolution in unified diff patch application (WI-04)
|
|
75
|
+
- Windows collectors no longer flag their own `powershell.exe -ExecutionPolicy Bypass -File` invocation as suspicious process activity.
|
|
76
|
+
- Reduced Windows false positives for Microsoft Defender and OneDrive paths, Microsoft BITS update jobs, the built-in `SCM Event Log Consumer` WMI subscription, Defender servicing-stack events, OpenSSH explicit-credential events, and autologon configurations without a stored `DefaultPassword`.
|
|
77
|
+
- Defender event 5007 configuration changes are now aggregated instead of emitting one finding per update event, and per-object 4907 audit events are no longer treated as audit-policy changes.
|
|
78
|
+
- Adjusted IOC regexes and output handling to avoid Microsoft Defender/AMSI quarantine of the defensive collectors while preserving detection coverage.
|
|
79
|
+
|
|
10
80
|
## [4.4.1] - 2026-10-03
|
|
11
81
|
|
|
12
82
|
### Changed
|
|
@@ -1,3 +1,71 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: eva-cli
|
|
3
|
+
Version: 5.0.0
|
|
4
|
+
Summary: AI-powered terminal assistant focused on security, speed, and cross-platform workflows.
|
|
5
|
+
License-File: LICENSE
|
|
6
|
+
Requires-Python: >=3.11
|
|
7
|
+
Requires-Dist: click>=8.0.0
|
|
8
|
+
Requires-Dist: cryptography>=49.0.0
|
|
9
|
+
Requires-Dist: google-genai<2.0.0,>=0.1.0
|
|
10
|
+
Requires-Dist: httpx<1.0.0,>=0.27.0
|
|
11
|
+
Requires-Dist: keyring<26.0.0,>=25.0.0
|
|
12
|
+
Requires-Dist: openai<3.0.0,>=1.40.0
|
|
13
|
+
Requires-Dist: pathspec<1.0.0,>=0.12.0
|
|
14
|
+
Requires-Dist: platformdirs<5.0.0,>=4.0.0
|
|
15
|
+
Requires-Dist: pydantic-settings<3.0.0,>=2.0.0
|
|
16
|
+
Requires-Dist: pydantic<3.0.0,>=2.0.0
|
|
17
|
+
Requires-Dist: pyyaml<7.0.0,>=6.0.0
|
|
18
|
+
Requires-Dist: rich<15.0.0,>=13.0.0
|
|
19
|
+
Requires-Dist: tenacity<10.0.0,>=9.0.0
|
|
20
|
+
Requires-Dist: tiktoken<1.0.0,>=0.7.0
|
|
21
|
+
Requires-Dist: tomli-w<2.0.0,>=1.0.0
|
|
22
|
+
Requires-Dist: tomli<3.0.0,>=2.0.0
|
|
23
|
+
Requires-Dist: typer<1.0.0,>=0.12.0
|
|
24
|
+
Provides-Extra: all
|
|
25
|
+
Requires-Dist: argon2-cffi>=23.1.0; extra == 'all'
|
|
26
|
+
Requires-Dist: numpy>=1.24.0; extra == 'all'
|
|
27
|
+
Requires-Dist: opencv-python-headless>=4.8.0; extra == 'all'
|
|
28
|
+
Requires-Dist: pefile>=2024.8.26; extra == 'all'
|
|
29
|
+
Requires-Dist: piexif>=1.1.3; extra == 'all'
|
|
30
|
+
Requires-Dist: pillow>=10.0.0; extra == 'all'
|
|
31
|
+
Requires-Dist: pycryptodome>=3.20.0; extra == 'all'
|
|
32
|
+
Requires-Dist: pyelftools>=0.31; extra == 'all'
|
|
33
|
+
Requires-Dist: scipy>=1.10.0; extra == 'all'
|
|
34
|
+
Requires-Dist: yara-python>=4.5.0; extra == 'all'
|
|
35
|
+
Provides-Extra: dev
|
|
36
|
+
Requires-Dist: argon2-cffi>=23.1.0; extra == 'dev'
|
|
37
|
+
Requires-Dist: hypothesis<7.0.0,>=6.0.0; extra == 'dev'
|
|
38
|
+
Requires-Dist: numpy>=1.24.0; extra == 'dev'
|
|
39
|
+
Requires-Dist: opencv-python-headless>=4.8.0; extra == 'dev'
|
|
40
|
+
Requires-Dist: pefile>=2024.8.26; extra == 'dev'
|
|
41
|
+
Requires-Dist: piexif>=1.1.3; extra == 'dev'
|
|
42
|
+
Requires-Dist: pillow>=10.0.0; extra == 'dev'
|
|
43
|
+
Requires-Dist: pycryptodome>=3.20.0; extra == 'dev'
|
|
44
|
+
Requires-Dist: pyelftools>=0.31; extra == 'dev'
|
|
45
|
+
Requires-Dist: pytest-cov<8.0.0,>=5.0.0; extra == 'dev'
|
|
46
|
+
Requires-Dist: pytest<10.0.0,>=8.0.0; extra == 'dev'
|
|
47
|
+
Requires-Dist: respx<1.0.0,>=0.21.0; extra == 'dev'
|
|
48
|
+
Requires-Dist: ruff<1.0.0,>=0.5.0; extra == 'dev'
|
|
49
|
+
Requires-Dist: scipy>=1.10.0; extra == 'dev'
|
|
50
|
+
Requires-Dist: yara-python>=4.5.0; extra == 'dev'
|
|
51
|
+
Provides-Extra: fast
|
|
52
|
+
Requires-Dist: eva-fastwalk<0.2.0,>=0.1.0; extra == 'fast'
|
|
53
|
+
Provides-Extra: sec
|
|
54
|
+
Requires-Dist: pefile>=2024.8.26; extra == 'sec'
|
|
55
|
+
Requires-Dist: pyelftools>=0.31; extra == 'sec'
|
|
56
|
+
Requires-Dist: yara-python>=4.5.0; extra == 'sec'
|
|
57
|
+
Provides-Extra: sec-media
|
|
58
|
+
Requires-Dist: argon2-cffi>=23.1.0; extra == 'sec-media'
|
|
59
|
+
Requires-Dist: numpy>=1.24.0; extra == 'sec-media'
|
|
60
|
+
Requires-Dist: opencv-python-headless>=4.8.0; extra == 'sec-media'
|
|
61
|
+
Requires-Dist: piexif>=1.1.3; extra == 'sec-media'
|
|
62
|
+
Requires-Dist: pillow>=10.0.0; extra == 'sec-media'
|
|
63
|
+
Requires-Dist: pycryptodome>=3.20.0; extra == 'sec-media'
|
|
64
|
+
Requires-Dist: scipy>=1.10.0; extra == 'sec-media'
|
|
65
|
+
Provides-Extra: web-images
|
|
66
|
+
Requires-Dist: pillow>=10.0.0; extra == 'web-images'
|
|
67
|
+
Description-Content-Type: text/markdown
|
|
68
|
+
|
|
1
69
|
|
|
2
70
|
# Eva CLI
|
|
3
71
|
|
|
@@ -68,7 +136,8 @@ The design goal is practical: keep routine terminal work fast and local, "Can't
|
|
|
68
136
|
- Static binary analysis for Windows PE32/PE32+ and Linux ELF (mitigations: ASLR, DEP/NX, Stack Canary, RELRO, PIE, $W \oplus X$ violations).
|
|
69
137
|
- Shannon block entropy calculation and sliding window analysis for packed/encrypted code detection.
|
|
70
138
|
- Threat intelligence enrichment: live NIST NVD API v2 queries, multi-feed IOC lookups with RFC 1918 internal IP leak protection, and unstructured log IOC extraction.
|
|
71
|
-
- Cross-platform endpoint triage
|
|
139
|
+
- Cross-platform endpoint triage suite: 30 read-only Linux/POSIX shell and Windows PowerShell collectors covering incident response, rootkits, persistence, accounts, logs, network, cloud metadata, containers, webshells, Defender, and package integrity, with unified finding normalization and SARIF 2.1.0 reporting.
|
|
140
|
+
- Triage orchestration, schema validation, and tamper-evident evidence bundling via stdlib-only Python utilities (`scripts/triage_orchestrator.py`, `scripts/validate_triage.py`, `scripts/evidence_bundle.py`).
|
|
72
141
|
- Fine-grained security tuning: path-aware secret redaction, configurable Shannon entropy thresholds, and sensitive file allowlists (`eva config allow-sensitive-file`).
|
|
73
142
|
- Health checks through `eva config doctor` and `eva sec doctor`.
|
|
74
143
|
- Persistent chat sessions with `eva chat --session`.
|
|
@@ -282,8 +351,95 @@ eva sec intel extract /var/log/auth.log
|
|
|
282
351
|
|
|
283
352
|
# Normalize and ingest cross-platform endpoint triage findings
|
|
284
353
|
eva sec ingest /tmp/audit_hardening.json --format markdown --format sarif
|
|
354
|
+
|
|
355
|
+
# Discover and run all Linux collectors, then validate the generated reports
|
|
356
|
+
python3 scripts/triage_orchestrator.py --list
|
|
357
|
+
python3 scripts/triage_orchestrator.py --output .eva/triage/run-01 --exclude-slow
|
|
358
|
+
python3 scripts/validate_triage.py .eva/triage/run-01 --strict
|
|
359
|
+
|
|
360
|
+
# Create a tamper-evident (unencrypted) evidence bundle
|
|
361
|
+
python3 scripts/evidence_bundle.py create .eva/triage/run-01 \
|
|
362
|
+
--case-id CASE-2026-001 --examiner "A. Analyst" \
|
|
363
|
+
--output evidence/CASE-2026-001.tar.gz
|
|
364
|
+
python3 scripts/evidence_bundle.py verify evidence/CASE-2026-001.tar.gz
|
|
285
365
|
```
|
|
286
366
|
|
|
367
|
+
See [`scripts/README.md`](scripts/README.md) for the full collector inventory,
|
|
368
|
+
parameters, and safety model.
|
|
369
|
+
|
|
370
|
+
### Web Intelligence & Local SearXNG Setup (`eva web`)
|
|
371
|
+
|
|
372
|
+
Eva includes a privacy-preserving web metasearch client and reader mode built on top of SearXNG, complete with SSRF validation, offline SQLite FTS5 caching, and native terminal OSC 8 hyperlinks.
|
|
373
|
+
|
|
374
|
+
#### Quick Local SearXNG Setup (via Docker)
|
|
375
|
+
|
|
376
|
+
Because public instances frequently rate-limit or block programmatic JSON access, we recommend running a local SearXNG container (no external server required):
|
|
377
|
+
|
|
378
|
+
```bash
|
|
379
|
+
# 1. Create a minimal configuration enabling the JSON API
|
|
380
|
+
mkdir -p ~/searxng && cd ~/searxng
|
|
381
|
+
cat << 'EOF' > settings.yml
|
|
382
|
+
use_default_settings: true
|
|
383
|
+
server:
|
|
384
|
+
secret_key: "ultrasecretkeyforsearxng"
|
|
385
|
+
bind_address: "0.0.0.0"
|
|
386
|
+
port: 8080
|
|
387
|
+
search:
|
|
388
|
+
formats:
|
|
389
|
+
- html
|
|
390
|
+
- json
|
|
391
|
+
EOF
|
|
392
|
+
|
|
393
|
+
# 2. Launch SearXNG on port 8081 (avoiding local port 8080 conflicts)
|
|
394
|
+
docker run -d \
|
|
395
|
+
--name searxng \
|
|
396
|
+
--restart unless-stopped \
|
|
397
|
+
-p 8081:8080 \
|
|
398
|
+
-v ~/searxng/settings.yml:/etc/searxng/settings.yml:ro \
|
|
399
|
+
searxng/searxng:latest
|
|
400
|
+
|
|
401
|
+
# 3. Export the instance URL to your shell (or add to ~/.bashrc)
|
|
402
|
+
export EVA_SEARXNG_URL="http://127.0.0.1:8081"
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
#### Web CLI Operations
|
|
406
|
+
|
|
407
|
+
```bash
|
|
408
|
+
# Search the web (interactive OSC 8 clickable links)
|
|
409
|
+
eva web search "CVE-2024-3094"
|
|
410
|
+
|
|
411
|
+
# Print raw un-truncated URLs for easy copying
|
|
412
|
+
eva web search "CVE-2024-3094" --format url
|
|
413
|
+
|
|
414
|
+
# Query local offline FTS5 cache without network access
|
|
415
|
+
eva web search "CVE-2024-3094" --offline
|
|
416
|
+
|
|
417
|
+
# Render article in terminal reader mode (fetches and caches markdown automatically)
|
|
418
|
+
eva web open 1
|
|
419
|
+
|
|
420
|
+
# Open article directly in your system default browser
|
|
421
|
+
eva web open 1 --browser
|
|
422
|
+
|
|
423
|
+
# Crawl and passively index documentation into local FTS5 database
|
|
424
|
+
eva web index https://docs.python.org/3/whatsnew/3.12.html --depth 1
|
|
425
|
+
|
|
426
|
+
# Render web/local image in terminal (Kitty, Sixel, iTerm2, half-block)
|
|
427
|
+
eva web image https://example.com/architecture.png
|
|
428
|
+
|
|
429
|
+
# Search for images and render directly in a 3x3 grid (Kitty GPU or TrueColor)
|
|
430
|
+
eva web images "space nebula" --cols 3 --limit 9
|
|
431
|
+
|
|
432
|
+
# Open image search composite in native HD image viewer
|
|
433
|
+
eva web images "space nebula" --view
|
|
434
|
+
|
|
435
|
+
# Ask grounded questions incorporating web context
|
|
436
|
+
eva ask "What is this vulnerability?" --web-id 1
|
|
437
|
+
```
|
|
438
|
+
|
|
439
|
+
> [!TIP]
|
|
440
|
+
> **Pixel-Perfect HD Image Rendering:**
|
|
441
|
+
> To render images directly in crisp High Definition (HD) inside your terminal, we recommend using **[Kitty terminal](https://sw.kovidgoyal.net/kitty/)** (`TERM=xterm-kitty`), which leverages Kitty's native GPU graphics protocol. Eva also supports Sixel and iTerm2 protocols, and automatically falls back to unicode TrueColor half-blocks on standard terminals. Alternatively, pass `--view` (`-v`) on `eva web image` or `eva web images` to launch the full-resolution image in your system's native HD image viewer (via `xdg-open`).
|
|
442
|
+
|
|
287
443
|
## Command reference
|
|
288
444
|
|
|
289
445
|
| Command | Purpose |
|
|
@@ -311,6 +467,14 @@ eva sec ingest /tmp/audit_hardening.json --format markdown --format sarif
|
|
|
311
467
|
| `eva tree` | Print a `.gitignore`-aware directory tree. |
|
|
312
468
|
| `eva usage` | Show normalized local provider usage counters. |
|
|
313
469
|
| `eva context show` | Display project memory from `.eva/context.md` if present. |
|
|
470
|
+
| `eva context init` | Scaffold `.eva/context.md` project memory from detected technology stack (`--force`). |
|
|
471
|
+
| `eva web search` | Query web via SearXNG with secret redaction and FTS5 caching (`--offline`, `--category`, `--format url`). |
|
|
472
|
+
| `eva web open` | Render web document or cached article in terminal reader mode (`--images`, `--browser`). |
|
|
473
|
+
| `eva web index` | Crawl and index website pages into local SQLite FTS5 database (`--depth`, `--max-pages`). |
|
|
474
|
+
| `eva web image` | Render images directly in terminal via Kitty, Sixel, iTerm2, or half-blocks (`--view`, `--browser`). |
|
|
475
|
+
| `eva web images` | Search images via SearXNG and render directly in an interactive 3x3 grid / collage (`--cols`, `--limit`, `--view`). |
|
|
476
|
+
| `eva web history` | Display recent web browsing and indexing history. |
|
|
477
|
+
| `eva web explore` | Interactive terminal SERP navigator and web page reader. |
|
|
314
478
|
| `eva config set-key <provider>` | Store an API key in the OS keyring. |
|
|
315
479
|
| `eva config remove-key <provider>` | Delete a stored API key from the OS keyring. |
|
|
316
480
|
| `eva config set-model <provider> <model>` | Set active model for a provider. |
|
|
@@ -460,6 +624,7 @@ Run the same checks in CI by pushing to a branch or opening a pull request. See
|
|
|
460
624
|
## Project files
|
|
461
625
|
|
|
462
626
|
- [`docs`](docs) — documentation suite ([eva-cli.vercel.app/docs](https://eva-cli.vercel.app/docs)).
|
|
627
|
+
- [`scripts`](scripts) — endpoint triage collectors and triage tooling ([README](scripts/README.md)).
|
|
463
628
|
- [`pyproject.toml`](pyproject.toml) — package metadata, dependencies, and tooling.
|
|
464
629
|
- [`CHANGELOG.md`](CHANGELOG.md) — release history.
|
|
465
630
|
- [`LICENSE`](LICENSE) — MIT license.
|
|
@@ -1,46 +1,3 @@
|
|
|
1
|
-
Metadata-Version: 2.5
|
|
2
|
-
Name: eva-cli
|
|
3
|
-
Version: 4.4.1
|
|
4
|
-
Summary: AI-powered terminal assistant focused on security, speed, and cross-platform workflows.
|
|
5
|
-
License-File: LICENSE
|
|
6
|
-
Requires-Python: >=3.10
|
|
7
|
-
Requires-Dist: argon2-cffi>=23.1.0
|
|
8
|
-
Requires-Dist: click>=8.0.0
|
|
9
|
-
Requires-Dist: cryptography>=49.0.0
|
|
10
|
-
Requires-Dist: google-genai<2.0.0,>=0.1.0
|
|
11
|
-
Requires-Dist: httpx<1.0.0,>=0.27.0
|
|
12
|
-
Requires-Dist: keyring<26.0.0,>=25.0.0
|
|
13
|
-
Requires-Dist: numpy>=1.24.0
|
|
14
|
-
Requires-Dist: openai<3.0.0,>=1.40.0
|
|
15
|
-
Requires-Dist: opencv-python-headless>=4.8.0
|
|
16
|
-
Requires-Dist: pathspec<1.0.0,>=0.12.0
|
|
17
|
-
Requires-Dist: pefile>=2024.8.26
|
|
18
|
-
Requires-Dist: piexif>=1.1.3
|
|
19
|
-
Requires-Dist: pillow>=10.0.0
|
|
20
|
-
Requires-Dist: platformdirs<5.0.0,>=4.0.0
|
|
21
|
-
Requires-Dist: pycryptodome>=3.20.0
|
|
22
|
-
Requires-Dist: pydantic-settings<3.0.0,>=2.0.0
|
|
23
|
-
Requires-Dist: pydantic<3.0.0,>=2.0.0
|
|
24
|
-
Requires-Dist: pyelftools>=0.31
|
|
25
|
-
Requires-Dist: pyyaml<7.0.0,>=6.0.0
|
|
26
|
-
Requires-Dist: rich<15.0.0,>=13.0.0
|
|
27
|
-
Requires-Dist: scipy>=1.10.0
|
|
28
|
-
Requires-Dist: tenacity<10.0.0,>=9.0.0
|
|
29
|
-
Requires-Dist: tiktoken<1.0.0,>=0.7.0
|
|
30
|
-
Requires-Dist: tomli-w<2.0.0,>=1.0.0
|
|
31
|
-
Requires-Dist: tomli<3.0.0,>=2.0.0
|
|
32
|
-
Requires-Dist: typer<1.0.0,>=0.12.0
|
|
33
|
-
Requires-Dist: yara-python>=4.5.0
|
|
34
|
-
Provides-Extra: dev
|
|
35
|
-
Requires-Dist: hypothesis<7.0.0,>=6.0.0; extra == 'dev'
|
|
36
|
-
Requires-Dist: pytest-cov<8.0.0,>=5.0.0; extra == 'dev'
|
|
37
|
-
Requires-Dist: pytest<10.0.0,>=8.0.0; extra == 'dev'
|
|
38
|
-
Requires-Dist: respx<1.0.0,>=0.21.0; extra == 'dev'
|
|
39
|
-
Requires-Dist: ruff<1.0.0,>=0.5.0; extra == 'dev'
|
|
40
|
-
Provides-Extra: fast
|
|
41
|
-
Requires-Dist: eva-fastwalk<0.2.0,>=0.1.0; extra == 'fast'
|
|
42
|
-
Description-Content-Type: text/markdown
|
|
43
|
-
|
|
44
1
|
|
|
45
2
|
# Eva CLI
|
|
46
3
|
|
|
@@ -111,7 +68,8 @@ The design goal is practical: keep routine terminal work fast and local, "Can't
|
|
|
111
68
|
- Static binary analysis for Windows PE32/PE32+ and Linux ELF (mitigations: ASLR, DEP/NX, Stack Canary, RELRO, PIE, $W \oplus X$ violations).
|
|
112
69
|
- Shannon block entropy calculation and sliding window analysis for packed/encrypted code detection.
|
|
113
70
|
- Threat intelligence enrichment: live NIST NVD API v2 queries, multi-feed IOC lookups with RFC 1918 internal IP leak protection, and unstructured log IOC extraction.
|
|
114
|
-
- Cross-platform endpoint triage
|
|
71
|
+
- Cross-platform endpoint triage suite: 30 read-only Linux/POSIX shell and Windows PowerShell collectors covering incident response, rootkits, persistence, accounts, logs, network, cloud metadata, containers, webshells, Defender, and package integrity, with unified finding normalization and SARIF 2.1.0 reporting.
|
|
72
|
+
- Triage orchestration, schema validation, and tamper-evident evidence bundling via stdlib-only Python utilities (`scripts/triage_orchestrator.py`, `scripts/validate_triage.py`, `scripts/evidence_bundle.py`).
|
|
115
73
|
- Fine-grained security tuning: path-aware secret redaction, configurable Shannon entropy thresholds, and sensitive file allowlists (`eva config allow-sensitive-file`).
|
|
116
74
|
- Health checks through `eva config doctor` and `eva sec doctor`.
|
|
117
75
|
- Persistent chat sessions with `eva chat --session`.
|
|
@@ -325,8 +283,95 @@ eva sec intel extract /var/log/auth.log
|
|
|
325
283
|
|
|
326
284
|
# Normalize and ingest cross-platform endpoint triage findings
|
|
327
285
|
eva sec ingest /tmp/audit_hardening.json --format markdown --format sarif
|
|
286
|
+
|
|
287
|
+
# Discover and run all Linux collectors, then validate the generated reports
|
|
288
|
+
python3 scripts/triage_orchestrator.py --list
|
|
289
|
+
python3 scripts/triage_orchestrator.py --output .eva/triage/run-01 --exclude-slow
|
|
290
|
+
python3 scripts/validate_triage.py .eva/triage/run-01 --strict
|
|
291
|
+
|
|
292
|
+
# Create a tamper-evident (unencrypted) evidence bundle
|
|
293
|
+
python3 scripts/evidence_bundle.py create .eva/triage/run-01 \
|
|
294
|
+
--case-id CASE-2026-001 --examiner "A. Analyst" \
|
|
295
|
+
--output evidence/CASE-2026-001.tar.gz
|
|
296
|
+
python3 scripts/evidence_bundle.py verify evidence/CASE-2026-001.tar.gz
|
|
328
297
|
```
|
|
329
298
|
|
|
299
|
+
See [`scripts/README.md`](scripts/README.md) for the full collector inventory,
|
|
300
|
+
parameters, and safety model.
|
|
301
|
+
|
|
302
|
+
### Web Intelligence & Local SearXNG Setup (`eva web`)
|
|
303
|
+
|
|
304
|
+
Eva includes a privacy-preserving web metasearch client and reader mode built on top of SearXNG, complete with SSRF validation, offline SQLite FTS5 caching, and native terminal OSC 8 hyperlinks.
|
|
305
|
+
|
|
306
|
+
#### Quick Local SearXNG Setup (via Docker)
|
|
307
|
+
|
|
308
|
+
Because public instances frequently rate-limit or block programmatic JSON access, we recommend running a local SearXNG container (no external server required):
|
|
309
|
+
|
|
310
|
+
```bash
|
|
311
|
+
# 1. Create a minimal configuration enabling the JSON API
|
|
312
|
+
mkdir -p ~/searxng && cd ~/searxng
|
|
313
|
+
cat << 'EOF' > settings.yml
|
|
314
|
+
use_default_settings: true
|
|
315
|
+
server:
|
|
316
|
+
secret_key: "ultrasecretkeyforsearxng"
|
|
317
|
+
bind_address: "0.0.0.0"
|
|
318
|
+
port: 8080
|
|
319
|
+
search:
|
|
320
|
+
formats:
|
|
321
|
+
- html
|
|
322
|
+
- json
|
|
323
|
+
EOF
|
|
324
|
+
|
|
325
|
+
# 2. Launch SearXNG on port 8081 (avoiding local port 8080 conflicts)
|
|
326
|
+
docker run -d \
|
|
327
|
+
--name searxng \
|
|
328
|
+
--restart unless-stopped \
|
|
329
|
+
-p 8081:8080 \
|
|
330
|
+
-v ~/searxng/settings.yml:/etc/searxng/settings.yml:ro \
|
|
331
|
+
searxng/searxng:latest
|
|
332
|
+
|
|
333
|
+
# 3. Export the instance URL to your shell (or add to ~/.bashrc)
|
|
334
|
+
export EVA_SEARXNG_URL="http://127.0.0.1:8081"
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
#### Web CLI Operations
|
|
338
|
+
|
|
339
|
+
```bash
|
|
340
|
+
# Search the web (interactive OSC 8 clickable links)
|
|
341
|
+
eva web search "CVE-2024-3094"
|
|
342
|
+
|
|
343
|
+
# Print raw un-truncated URLs for easy copying
|
|
344
|
+
eva web search "CVE-2024-3094" --format url
|
|
345
|
+
|
|
346
|
+
# Query local offline FTS5 cache without network access
|
|
347
|
+
eva web search "CVE-2024-3094" --offline
|
|
348
|
+
|
|
349
|
+
# Render article in terminal reader mode (fetches and caches markdown automatically)
|
|
350
|
+
eva web open 1
|
|
351
|
+
|
|
352
|
+
# Open article directly in your system default browser
|
|
353
|
+
eva web open 1 --browser
|
|
354
|
+
|
|
355
|
+
# Crawl and passively index documentation into local FTS5 database
|
|
356
|
+
eva web index https://docs.python.org/3/whatsnew/3.12.html --depth 1
|
|
357
|
+
|
|
358
|
+
# Render web/local image in terminal (Kitty, Sixel, iTerm2, half-block)
|
|
359
|
+
eva web image https://example.com/architecture.png
|
|
360
|
+
|
|
361
|
+
# Search for images and render directly in a 3x3 grid (Kitty GPU or TrueColor)
|
|
362
|
+
eva web images "space nebula" --cols 3 --limit 9
|
|
363
|
+
|
|
364
|
+
# Open image search composite in native HD image viewer
|
|
365
|
+
eva web images "space nebula" --view
|
|
366
|
+
|
|
367
|
+
# Ask grounded questions incorporating web context
|
|
368
|
+
eva ask "What is this vulnerability?" --web-id 1
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
> [!TIP]
|
|
372
|
+
> **Pixel-Perfect HD Image Rendering:**
|
|
373
|
+
> To render images directly in crisp High Definition (HD) inside your terminal, we recommend using **[Kitty terminal](https://sw.kovidgoyal.net/kitty/)** (`TERM=xterm-kitty`), which leverages Kitty's native GPU graphics protocol. Eva also supports Sixel and iTerm2 protocols, and automatically falls back to unicode TrueColor half-blocks on standard terminals. Alternatively, pass `--view` (`-v`) on `eva web image` or `eva web images` to launch the full-resolution image in your system's native HD image viewer (via `xdg-open`).
|
|
374
|
+
|
|
330
375
|
## Command reference
|
|
331
376
|
|
|
332
377
|
| Command | Purpose |
|
|
@@ -354,6 +399,14 @@ eva sec ingest /tmp/audit_hardening.json --format markdown --format sarif
|
|
|
354
399
|
| `eva tree` | Print a `.gitignore`-aware directory tree. |
|
|
355
400
|
| `eva usage` | Show normalized local provider usage counters. |
|
|
356
401
|
| `eva context show` | Display project memory from `.eva/context.md` if present. |
|
|
402
|
+
| `eva context init` | Scaffold `.eva/context.md` project memory from detected technology stack (`--force`). |
|
|
403
|
+
| `eva web search` | Query web via SearXNG with secret redaction and FTS5 caching (`--offline`, `--category`, `--format url`). |
|
|
404
|
+
| `eva web open` | Render web document or cached article in terminal reader mode (`--images`, `--browser`). |
|
|
405
|
+
| `eva web index` | Crawl and index website pages into local SQLite FTS5 database (`--depth`, `--max-pages`). |
|
|
406
|
+
| `eva web image` | Render images directly in terminal via Kitty, Sixel, iTerm2, or half-blocks (`--view`, `--browser`). |
|
|
407
|
+
| `eva web images` | Search images via SearXNG and render directly in an interactive 3x3 grid / collage (`--cols`, `--limit`, `--view`). |
|
|
408
|
+
| `eva web history` | Display recent web browsing and indexing history. |
|
|
409
|
+
| `eva web explore` | Interactive terminal SERP navigator and web page reader. |
|
|
357
410
|
| `eva config set-key <provider>` | Store an API key in the OS keyring. |
|
|
358
411
|
| `eva config remove-key <provider>` | Delete a stored API key from the OS keyring. |
|
|
359
412
|
| `eva config set-model <provider> <model>` | Set active model for a provider. |
|
|
@@ -503,6 +556,7 @@ Run the same checks in CI by pushing to a branch or opening a pull request. See
|
|
|
503
556
|
## Project files
|
|
504
557
|
|
|
505
558
|
- [`docs`](docs) — documentation suite ([eva-cli.vercel.app/docs](https://eva-cli.vercel.app/docs)).
|
|
559
|
+
- [`scripts`](scripts) — endpoint triage collectors and triage tooling ([README](scripts/README.md)).
|
|
506
560
|
- [`pyproject.toml`](pyproject.toml) — package metadata, dependencies, and tooling.
|
|
507
561
|
- [`CHANGELOG.md`](CHANGELOG.md) — release history.
|
|
508
562
|
- [`LICENSE`](LICENSE) — MIT license.
|
|
Binary file
|
|
@@ -36,15 +36,24 @@ eva ask "List open issues" --format json
|
|
|
36
36
|
|
|
37
37
|
# Bypass .eva/context.md project memory
|
|
38
38
|
eva ask "What is the entry point?" --no-project-context
|
|
39
|
+
|
|
40
|
+
# Web grounding: include external web page context (SSRF-protected)
|
|
41
|
+
eva ask "How do I upgrade to the latest version?" --url https://docs.example.com/upgrade
|
|
42
|
+
|
|
43
|
+
# Web grounding: include cached web document from local FTS5 database
|
|
44
|
+
eva ask "Summarize this advisory" --web-id 1
|
|
39
45
|
```
|
|
40
46
|
|
|
41
47
|
### `eva investigate`
|
|
42
|
-
Agentic, multi-turn, query-driven repository exploration (Codex/Claude Code-style). The LLM receives the question first and actively calls read-only tools (`list_directory`, `read_file`, `search_code
|
|
48
|
+
Agentic, multi-turn, query-driven repository exploration (Codex/Claude Code-style). The LLM receives the question first and actively calls read-only tools (`list_directory`, `read_file`, `search_code`, and optional web tools) to inspect relevant files before delivering a final answer.
|
|
43
49
|
|
|
44
50
|
```bash
|
|
45
51
|
# Agentic repo investigation
|
|
46
52
|
eva investigate "Find how CLI commands are registered and explain the app flow" . --yes
|
|
47
53
|
|
|
54
|
+
# Enable web exploration tools during investigation
|
|
55
|
+
eva investigate "Investigate this error with online documentation" . --web --yes
|
|
56
|
+
|
|
48
57
|
# Custom turn cap and provider
|
|
49
58
|
eva investigate "Trace where budget limits are checked" . --max-turns 10 --provider groq --yes
|
|
50
59
|
|
|
@@ -129,10 +138,96 @@ Display project memory loaded from `.eva/context.md` at the repository root.
|
|
|
129
138
|
eva context show
|
|
130
139
|
```
|
|
131
140
|
|
|
141
|
+
### `eva context init`
|
|
142
|
+
Scaffold `.eva/context.md` project memory based on automatic codebase technology stack detection.
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
# Initialize context.md
|
|
146
|
+
eva context init
|
|
147
|
+
|
|
148
|
+
# Overwrite existing context.md
|
|
149
|
+
eva context init --force
|
|
150
|
+
```
|
|
151
|
+
|
|
132
152
|
> **Note:** `.eva/context.md` is automatically loaded into prompt context for `eva ask` and `eva work` to provide project-specific conventions without needing manual `--file` flags.
|
|
133
153
|
|
|
134
154
|
---
|
|
135
155
|
|
|
156
|
+
## Web Search, Indexing & Terminal Visuals
|
|
157
|
+
|
|
158
|
+
### `eva web`
|
|
159
|
+
Metasearch through SearXNG, offline FTS5 document indexing, and terminal image rendering.
|
|
160
|
+
|
|
161
|
+
#### Local SearXNG Setup (Docker)
|
|
162
|
+
Eva queries SearXNG using `EVA_SEARXNG_URL`. To avoid public instance rate limits, run a local container:
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
# 1. Create settings.yml enabling JSON format
|
|
166
|
+
mkdir -p ~/searxng && cd ~/searxng
|
|
167
|
+
cat << 'EOF' > settings.yml
|
|
168
|
+
use_default_settings: true
|
|
169
|
+
server:
|
|
170
|
+
secret_key: "evasecretkey"
|
|
171
|
+
bind_address: "0.0.0.0"
|
|
172
|
+
port: 8080
|
|
173
|
+
search:
|
|
174
|
+
formats:
|
|
175
|
+
- html
|
|
176
|
+
- json
|
|
177
|
+
EOF
|
|
178
|
+
|
|
179
|
+
# 2. Run container on port 8081
|
|
180
|
+
docker run -d --name searxng --restart unless-stopped -p 8081:8080 \
|
|
181
|
+
-v ~/searxng/settings.yml:/etc/searxng/settings.yml:ro \
|
|
182
|
+
searxng/searxng:latest
|
|
183
|
+
|
|
184
|
+
# 3. Configure Eva
|
|
185
|
+
export EVA_SEARXNG_URL="http://127.0.0.1:8081"
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
#### CLI Examples
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
# Search the web (interactive OSC 8 clickable links)
|
|
192
|
+
eva web search "CVE-2024-3094"
|
|
193
|
+
|
|
194
|
+
# Print raw un-truncated URLs for easy copying
|
|
195
|
+
eva web search "CVE-2024-3094" --format url
|
|
196
|
+
|
|
197
|
+
# Search offline cached documents only
|
|
198
|
+
eva web search "vulnerability" --offline
|
|
199
|
+
|
|
200
|
+
# Open and read web page or indexed ID in terminal reader mode
|
|
201
|
+
eva web open 1 --images
|
|
202
|
+
|
|
203
|
+
# Open article directly in your system default web browser
|
|
204
|
+
eva web open 1 --browser
|
|
205
|
+
|
|
206
|
+
# Crawl and index website into local SQLite FTS5 database
|
|
207
|
+
eva web index https://docs.example.com --depth 2 --max-pages 20
|
|
208
|
+
|
|
209
|
+
# Render image directly in terminal (Kitty, Sixel, iTerm2, half-block)
|
|
210
|
+
eva web image https://example.com/diagram.png --protocol auto
|
|
211
|
+
|
|
212
|
+
# Search images and render in a 3x3 grid or terminal ratio collage
|
|
213
|
+
eva web images "cybersecurity architecture" --cols 3 --limit 9
|
|
214
|
+
|
|
215
|
+
# Open image search composite in native HD image viewer
|
|
216
|
+
eva web images "cybersecurity architecture" --view
|
|
217
|
+
|
|
218
|
+
# View recent browsing and indexing history
|
|
219
|
+
eva web history
|
|
220
|
+
|
|
221
|
+
# Interactive terminal SERP navigator
|
|
222
|
+
eva web explore "Rust async concurrency"
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
> [!TIP]
|
|
226
|
+
> **High-Definition (HD) Image Rendering in Terminal:**
|
|
227
|
+
> To render images directly in high definition (HD) pixel graphics inside your terminal, use **[Kitty terminal](https://sw.kovidgoyal.net/kitty/)** (`TERM=xterm-kitty`), which utilizes the Kitty GPU graphics protocol. Sixel and iTerm2 protocols are also supported, with automatic fallback to Unicode TrueColor half-blocks on standard terminals. You can also pass `--view` (`-v`) on any image command to launch the full HD image in your system's native desktop image viewer.
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
136
231
|
## Workflow & Workspace Management
|
|
137
232
|
|
|
138
233
|
### `eva workflow`
|