emo-cyber 0.1.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.
- emo_cyber-0.1.0/.gitignore +13 -0
- emo_cyber-0.1.0/CHANGELOG.md +72 -0
- emo_cyber-0.1.0/CONTRIBUTING.md +22 -0
- emo_cyber-0.1.0/LICENSE +198 -0
- emo_cyber-0.1.0/Makefile +21 -0
- emo_cyber-0.1.0/PKG-INFO +218 -0
- emo_cyber-0.1.0/README.md +162 -0
- emo_cyber-0.1.0/SECURITY.md +11 -0
- emo_cyber-0.1.0/docs/00-project-charter.md +61 -0
- emo_cyber-0.1.0/docs/01-requirements.md +81 -0
- emo_cyber-0.1.0/docs/02-architecture.md +98 -0
- emo_cyber-0.1.0/docs/03-security-methodology.md +158 -0
- emo_cyber-0.1.0/docs/04-agent-behavior-spec.md +60 -0
- emo_cyber-0.1.0/docs/05-mcp-interface.md +84 -0
- emo_cyber-0.1.0/docs/06-cli-interface.md +55 -0
- emo_cyber-0.1.0/docs/07-python-api.md +30 -0
- emo_cyber-0.1.0/docs/08-tool-contracts.md +69 -0
- emo_cyber-0.1.0/docs/09-data-model.md +51 -0
- emo_cyber-0.1.0/docs/12-workflows.md +113 -0
- emo_cyber-0.1.0/docs/13-threat-model.md +106 -0
- emo_cyber-0.1.0/docs/14-safety-guardrails.md +53 -0
- emo_cyber-0.1.0/docs/15-evaluation-plan.md +66 -0
- emo_cyber-0.1.0/docs/16-implementation-plan.md +259 -0
- emo_cyber-0.1.0/docs/17-integration-guide.md +50 -0
- emo_cyber-0.1.0/docs/18-adrs.md +43 -0
- emo_cyber-0.1.0/docs/19-release-checklist.md +38 -0
- emo_cyber-0.1.0/docs/20-project-backlog.md +63 -0
- emo_cyber-0.1.0/docs/21-developer-agent-execution-directive.md +528 -0
- emo_cyber-0.1.0/docs/README.md +23 -0
- emo_cyber-0.1.0/docs/integrations/anythingllm.md +128 -0
- emo_cyber-0.1.0/docs/integrations/delegation.md +137 -0
- emo_cyber-0.1.0/docs/integrations/generic-mcp.md +129 -0
- emo_cyber-0.1.0/docs/integrations/hermes.md +120 -0
- emo_cyber-0.1.0/docs/integrations/jan.md +120 -0
- emo_cyber-0.1.0/docs/integrations/opencode.md +179 -0
- emo_cyber-0.1.0/docs/integrations/pi.md +132 -0
- emo_cyber-0.1.0/docs/integrations/security-model.md +138 -0
- emo_cyber-0.1.0/docs/integrations/troubleshooting.md +156 -0
- emo_cyber-0.1.0/docs/policies/default-read-only.yaml +44 -0
- emo_cyber-0.1.0/docs/policies/verify.yaml +40 -0
- emo_cyber-0.1.0/docs/schemas/agent-attack-surface.schema.json +35 -0
- emo_cyber-0.1.0/docs/schemas/agent-security.schema.json +21 -0
- emo_cyber-0.1.0/docs/schemas/agent-threat-scenario.schema.json +29 -0
- emo_cyber-0.1.0/docs/schemas/attack-surface.schema.json +39 -0
- emo_cyber-0.1.0/docs/schemas/audit-request.schema.json +18 -0
- emo_cyber-0.1.0/docs/schemas/audit-result.schema.json +34 -0
- emo_cyber-0.1.0/docs/schemas/change-review-plan.schema.json +39 -0
- emo_cyber-0.1.0/docs/schemas/change-set.schema.json +43 -0
- emo_cyber-0.1.0/docs/schemas/code-intelligence.schema.json +57 -0
- emo_cyber-0.1.0/docs/schemas/code-location.schema.json +15 -0
- emo_cyber-0.1.0/docs/schemas/evaluation-case.schema.json +292 -0
- emo_cyber-0.1.0/docs/schemas/evaluation-dataset.schema.json +116 -0
- emo_cyber-0.1.0/docs/schemas/evaluation-metric.schema.json +92 -0
- emo_cyber-0.1.0/docs/schemas/evaluation-report.schema.json +274 -0
- emo_cyber-0.1.0/docs/schemas/evaluation-run.schema.json +596 -0
- emo_cyber-0.1.0/docs/schemas/extension-compatibility.schema.json +65 -0
- emo_cyber-0.1.0/docs/schemas/extension-manifest.schema.json +482 -0
- emo_cyber-0.1.0/docs/schemas/extension-provenance.schema.json +65 -0
- emo_cyber-0.1.0/docs/schemas/finding.schema.json +74 -0
- emo_cyber-0.1.0/docs/schemas/knowledge-reference.schema.json +16 -0
- emo_cyber-0.1.0/docs/schemas/mcp-security-observation.schema.json +23 -0
- emo_cyber-0.1.0/docs/schemas/playbook.schema.json +57 -0
- emo_cyber-0.1.0/docs/schemas/report-template.schema.json +54 -0
- emo_cyber-0.1.0/docs/schemas/report.schema.json +81 -0
- emo_cyber-0.1.0/docs/schemas/security-knowledge.schema.json +71 -0
- emo_cyber-0.1.0/docs/schemas/security-regression.schema.json +36 -0
- emo_cyber-0.1.0/docs/schemas/security-skill-pack.schema.json +54 -0
- emo_cyber-0.1.0/docs/schemas/task.schema.json +55 -0
- emo_cyber-0.1.0/docs/schemas/threat-model.schema.json +24 -0
- emo_cyber-0.1.0/docs/schemas/threat-scenario.schema.json +27 -0
- emo_cyber-0.1.0/docs/schemas/tool-pack.schema.json +98 -0
- emo_cyber-0.1.0/docs/schemas/tool-spec.schema.json +19 -0
- emo_cyber-0.1.0/docs/schemas/verification-adapter.schema.json +188 -0
- emo_cyber-0.1.0/docs/schemas/verification-plan.schema.json +91 -0
- emo_cyber-0.1.0/docs/schemas/verification-result.schema.json +177 -0
- emo_cyber-0.1.0/docs/schemas/verification-strategy.schema.json +101 -0
- emo_cyber-0.1.0/examples/mcp-host-config.json +8 -0
- emo_cyber-0.1.0/pyproject.toml +113 -0
- emo_cyber-0.1.0/release/CHANGELOG.md +72 -0
- emo_cyber-0.1.0/release/LICENSE +198 -0
- emo_cyber-0.1.0/release/SECURITY.md +11 -0
- emo_cyber-0.1.0/reports/development/00-project-reconnaissance.md +200 -0
- emo_cyber-0.1.0/reports/development/ECA-T001.md +159 -0
- emo_cyber-0.1.0/reports/development/ECA-T002-corrected.md +276 -0
- emo_cyber-0.1.0/reports/development/ECA-T002.md +243 -0
- emo_cyber-0.1.0/reports/development/ECA-T003.md +401 -0
- emo_cyber-0.1.0/reports/development/ECA-T004.md +393 -0
- emo_cyber-0.1.0/reports/development/ECA-T005.md +284 -0
- emo_cyber-0.1.0/reports/development/ECA-T006.md +276 -0
- emo_cyber-0.1.0/reports/development/ECA-T007.md +224 -0
- emo_cyber-0.1.0/reports/development/ECA-T008.md +230 -0
- emo_cyber-0.1.0/reports/development/ECA-T009.md +266 -0
- emo_cyber-0.1.0/reports/development/ECA-T010.md +271 -0
- emo_cyber-0.1.0/reports/development/ECA-T011.md +236 -0
- emo_cyber-0.1.0/reports/development/ECA-T012.md +229 -0
- emo_cyber-0.1.0/reports/development/ECA-T013.md +250 -0
- emo_cyber-0.1.0/reports/development/ECA-T014.md +234 -0
- emo_cyber-0.1.0/reports/development/ECA-T016-artifact-verification.md +22 -0
- emo_cyber-0.1.0/reports/development/ECA-T016-release-security-assessment.md +352 -0
- emo_cyber-0.1.0/reports/development/ECA-T016.md +170 -0
- emo_cyber-0.1.0/reports/development/POST-PROGRESS-core-review.md +129 -0
- emo_cyber-0.1.0/reports/development/POST-PROGRESS-final-review.md +220 -0
- emo_cyber-0.1.0/reports/development/POST-PROGRESS-git-hygiene.md +130 -0
- emo_cyber-0.1.0/reports/development/POST-RC-001.md +107 -0
- emo_cyber-0.1.0/reports/development/POST-RC-002.md +195 -0
- emo_cyber-0.1.0/reports/development/POST-RC-003.md +216 -0
- emo_cyber-0.1.0/reports/development/POST-RC-004.md +303 -0
- emo_cyber-0.1.0/reports/development/POST-RC-005.md +304 -0
- emo_cyber-0.1.0/reports/development/POST-RC-006.md +243 -0
- emo_cyber-0.1.0/reports/development/POST-RC-007.md +225 -0
- emo_cyber-0.1.0/reports/development/POST-RC-008-security-assessment.md +211 -0
- emo_cyber-0.1.0/reports/development/POST-RC-009-security-assessment.md +217 -0
- emo_cyber-0.1.0/reports/development/POST-RC-010-security-assessment.md +241 -0
- emo_cyber-0.1.0/reports/development/POST-RC-011-security-assessment.md +271 -0
- emo_cyber-0.1.0/reports/development/POST-RC-012-security-assessment.md +304 -0
- emo_cyber-0.1.0/reports/development/POST-RC-013-evaluation-assessment.md +259 -0
- emo_cyber-0.1.0/reports/development/POST-RC-014-security-assessment.md +429 -0
- emo_cyber-0.1.0/reports/development/POST-T016-postrelease-progress-recovery-assessment.md +224 -0
- emo_cyber-0.1.0/reports/development/POST-T017-checksum-forensics.md +105 -0
- emo_cyber-0.1.0/reports/development/POST-T017-final-release-readiness.md +144 -0
- emo_cyber-0.1.0/reports/development/POST-T017-final-review.md +187 -0
- emo_cyber-0.1.0/reports/development/POST-T017-git-forensics.md +188 -0
- emo_cyber-0.1.0/reports/development/POST-T017-regression-audit.md +176 -0
- emo_cyber-0.1.0/reports/development/POST-T017-release-integrity.json +1 -0
- emo_cyber-0.1.0/reports/development/POST-T018-final-review.md +101 -0
- emo_cyber-0.1.0/reports/development/POST-T018-gap-matrix.md +80 -0
- emo_cyber-0.1.0/reports/development/POST-T018-phase0-baseline.md +91 -0
- emo_cyber-0.1.0/reports/development/POST-T018-subagent-readiness-assessment.md +197 -0
- emo_cyber-0.1.0/reports/release/POST-T019-freeze.md +133 -0
- emo_cyber-0.1.0/reports/release/POST-T019-repo-recon.md +133 -0
- emo_cyber-0.1.0/reports/security/00-security-baseline.md +87 -0
- emo_cyber-0.1.0/reports/security/ECA-T015-security-assessment.md +150 -0
- emo_cyber-0.1.0/reports/security/ECA-T016-invariant-release-gate.md +119 -0
- emo_cyber-0.1.0/reports/security/ECA-T016-release-security-assessment.md +81 -0
- emo_cyber-0.1.0/reports/security/POST-PROGRESS-security-review.md +101 -0
- emo_cyber-0.1.0/reports/security/POST-T017-final-security-review.md +133 -0
- emo_cyber-0.1.0/reports/security/POST-T018-subagent-security-review.md +254 -0
- emo_cyber-0.1.0/scripts/release/ci_unit_summary.py +83 -0
- emo_cyber-0.1.0/scripts/release/gates.py +311 -0
- emo_cyber-0.1.0/scripts/release/make_release.py +186 -0
- emo_cyber-0.1.0/scripts/release/verify_artifacts.py +238 -0
- emo_cyber-0.1.0/scripts/release/verify_artifacts.sh +169 -0
- emo_cyber-0.1.0/scripts/release/verify_artifacts_final.py +216 -0
- emo_cyber-0.1.0/scripts/release/verify_final_artifacts.sh +779 -0
- emo_cyber-0.1.0/scripts/release/verify_final_artifacts_simple.sh +141 -0
- emo_cyber-0.1.0/scripts/release/verify_simple.py +173 -0
- emo_cyber-0.1.0/scripts/validate_schemas.py +15 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/__init__.py +24 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/adapters/__init__.py +0 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/adapters/code_intelligence/__init__.py +11 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/adapters/code_intelligence/mock.py +138 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/adapters/code_intelligence/reference.py +158 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/adapters/github.py +180 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/adapters/mock_reasoner.py +108 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/adapters/mock_repository.py +125 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/adapters/mock_scanners.py +84 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/adapters/mock_supabase.py +186 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/adapters/mock_verification.py +44 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/adapters/supabase.py +240 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/__init__.py +163 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/agent_model.py +279 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/attack_surface.py +117 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/credential_analysis.py +43 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/delegation.py +50 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/delta.py +42 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/errors.py +27 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/identity.py +45 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/mcp_model.py +54 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/memory_analysis.py +59 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/prompt_analysis.py +46 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/provenance.py +35 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/queries.py +135 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/scope_analysis.py +86 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/service.py +373 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/spec.py +780 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/taxonomy.py +53 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/threat_rules.py +134 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/tool_poisoning.py +77 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/agent_security/verification.py +62 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/change_analysis/__init__.py +75 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/change_analysis/diff.py +331 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/change_analysis/errors.py +25 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/change_analysis/impact.py +174 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/change_analysis/planner.py +130 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/change_analysis/predicates.py +158 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/change_analysis/provenance.py +36 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/change_analysis/service.py +141 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/change_analysis/spec.py +263 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/cli/__init__.py +0 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/cli/main.py +581 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/code_intelligence/__init__.py +39 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/code_intelligence/errors.py +29 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/code_intelligence/graph.py +255 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/code_intelligence/provider.py +52 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/code_intelligence/queries.py +179 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/code_intelligence/service.py +171 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/code_intelligence/spec.py +361 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/__init__.py +9 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/contracts.py +98 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/correlation.py +525 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/execution.py +237 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/findings.py +481 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/policy.py +193 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/reasoning.py +651 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/reporting.py +644 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/repository.py +536 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/resources.py +109 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/scanners.py +314 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/service.py +167 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/supabase.py +579 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/tool_registry.py +365 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/core/verification.py +529 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/domain/__init__.py +33 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/domain/models.py +305 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/__init__.py +225 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/cases.py +194 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/datasets.py +445 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/errors.py +56 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/gates.py +278 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/ground_truth.py +389 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/metrics.py +543 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/mutation.py +232 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/oracle.py +388 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/report.py +225 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/reproducibility.py +90 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/runner.py +434 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/spec.py +415 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/evaluation/sut.py +995 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/__init__.py +311 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/catalog.py +611 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/compatibility.py +242 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/conflicts.py +114 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/discovery.py +292 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/errors.py +70 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/loader.py +444 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/manifest.py +186 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/provenance.py +130 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/registry.py +301 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/resolver.py +312 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/spec.py +837 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/trust.py +180 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/extensions/validator.py +283 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/mcp/__init__.py +0 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/mcp/delegate.py +239 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/mcp/protocol.py +80 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/mcp/server.py +254 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/mcp/tools.py +207 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/playbooks/__init__.py +37 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/playbooks/library.py +138 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/playbooks/registry.py +82 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/playbooks/resolver.py +290 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/playbooks/service.py +96 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/playbooks/spec.py +300 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/playbooks/validator.py +200 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/progress/__init__.py +16 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/progress/events.py +164 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/progress/reporter.py +45 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/progress/state.py +71 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/providers/__init__.py +0 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/providers/base.py +18 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/recovery/__init__.py +77 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/recovery/actions.py +49 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/recovery/checkpoint.py +88 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/recovery/classification.py +66 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/recovery/errors.py +50 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/recovery/manager.py +148 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/recovery/policy.py +87 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/recovery/reporting.py +88 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/report_templates/__init__.py +33 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/report_templates/library.py +166 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/report_templates/registry.py +76 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/report_templates/resolver.py +49 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/report_templates/service.py +26 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/report_templates/spec.py +219 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/report_templates/validator.py +46 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/reporting/__init__.py +0 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security/__init__.py +0 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security/policy.py +9 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/__init__.py +152 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/comparator.py +38 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/errors.py +29 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/fingerprints.py +108 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/memory_policy.py +67 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/provenance.py +46 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/queries.py +105 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/records.py +98 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/regression.py +103 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/scope.py +53 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/service.py +292 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/spec.py +375 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/store.py +86 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/security_knowledge/templates.py +62 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/__init__.py +7 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/builtin/__init__.py +5 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/builtin/catalog.py +89 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/packs/__init__.py +40 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/packs/catalog.py +263 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/packs/errors.py +31 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/packs/pack.py +222 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/packs/resolver.py +129 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/packs/validator.py +116 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/registry.py +128 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/resolver.py +85 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/skills/spec.py +110 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/__init__.py +84 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/binding.py +189 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/bootstrap.py +193 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/capabilities.py +133 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/compat_matrix.py +349 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/delegation.py +403 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/discovery.py +237 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/envelope.py +251 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/firewall.py +285 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/handoff.py +148 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/handoff_gate.py +404 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/health.py +107 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/hosts.py +190 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/hosts_anythingllm.py +400 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/hosts_hermes.py +279 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/hosts_jan.py +333 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/hosts_opencode.py +170 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/hosts_pi.py +272 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/isolation.py +274 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/lifecycle.py +481 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/minimization.py +209 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/negotiation.py +188 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/progress_bridge.py +241 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/recovery_bridge.py +347 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/result_firewall.py +426 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/sanitizer.py +272 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/session.py +135 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/session_map.py +355 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/tool_filter.py +256 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/trust.py +168 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/subagent/trust_boundary.py +350 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tasks/__init__.py +34 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tasks/library.py +150 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tasks/registry.py +94 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tasks/resolver.py +169 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tasks/service.py +43 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tasks/spec.py +175 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tasks/validator.py +114 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/__init__.py +125 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/attack_surface.py +140 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/controls.py +80 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/delta.py +55 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/errors.py +24 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/methods.py +66 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/paths.py +90 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/provenance.py +35 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/queries.py +148 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/service.py +336 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/spec.py +683 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/stride.py +92 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/system_model.py +138 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/threat_modeling/threats.py +67 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tools/__init__.py +8 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tools/packs/__init__.py +59 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tools/packs/catalog.py +157 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tools/packs/errors.py +32 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tools/packs/executor.py +206 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tools/packs/provenance.py +54 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tools/packs/registry.py +67 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tools/packs/resolver.py +167 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tools/packs/spec.py +308 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tools/packs/validator.py +93 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/tools/registry.py +356 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/__init__.py +174 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/adapter_contracts.py +303 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/adapter_provenance.py +108 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/adapter_registry.py +97 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/adapter_resolver.py +111 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/adapters.py +239 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/budget.py +84 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/coverage.py +101 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/errors.py +47 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/evidence.py +146 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/matrix.py +247 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/oracles.py +194 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/planner.py +631 -0
- emo_cyber-0.1.0/src/emo_cyber_agent/verification/strategy.py +424 -0
- emo_cyber-0.1.0/templates/agent-security/AGENT-SECURITY-TEMPLATE.yaml +18 -0
- emo_cyber-0.1.0/templates/agent-security/official/mcp-agent-starter.yaml +12 -0
- emo_cyber-0.1.0/templates/agent-security/official/web-agent-starter.yaml +12 -0
- emo_cyber-0.1.0/templates/extensions/EXTENSION-MANIFEST-TEMPLATE.yaml +88 -0
- emo_cyber-0.1.0/templates/playbooks/PLAYBOOK-TEMPLATE.yaml +65 -0
- emo_cyber-0.1.0/templates/playbooks/official/agent-security.yaml +44 -0
- emo_cyber-0.1.0/templates/playbooks/official/ai-application-security.yaml +48 -0
- emo_cyber-0.1.0/templates/playbooks/official/api-security-deep-audit.yaml +48 -0
- emo_cyber-0.1.0/templates/playbooks/official/authentication-security.yaml +44 -0
- emo_cyber-0.1.0/templates/playbooks/official/authorization-security.yaml +44 -0
- emo_cyber-0.1.0/templates/playbooks/official/business-logic-security.yaml +48 -0
- emo_cyber-0.1.0/templates/playbooks/official/changed-code-security.yaml +48 -0
- emo_cyber-0.1.0/templates/playbooks/official/cloud-security-audit.yaml +44 -0
- emo_cyber-0.1.0/templates/playbooks/official/container-security-audit.yaml +44 -0
- emo_cyber-0.1.0/templates/playbooks/official/database-security-audit.yaml +44 -0
- emo_cyber-0.1.0/templates/playbooks/official/deep-security-audit.yaml +44 -0
- emo_cyber-0.1.0/templates/playbooks/official/dependency-supply-chain-audit.yaml +44 -0
- emo_cyber-0.1.0/templates/playbooks/official/infrastructure-security-audit.yaml +44 -0
- emo_cyber-0.1.0/templates/playbooks/official/mcp-security-audit.yaml +44 -0
- emo_cyber-0.1.0/templates/playbooks/official/pre-release-security.yaml +44 -0
- emo_cyber-0.1.0/templates/playbooks/official/regression-security.yaml +48 -0
- emo_cyber-0.1.0/templates/playbooks/official/supabase-security-audit.yaml +49 -0
- emo_cyber-0.1.0/templates/playbooks/official/web-app-deep-audit.yaml +48 -0
- emo_cyber-0.1.0/templates/reports/REPORT-TEMPLATE.yaml +51 -0
- emo_cyber-0.1.0/templates/reports/official/agent-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/ai-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/api-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/authentication-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/authorization-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/business-logic-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/cloud-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/container-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/database-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/dependency-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/developer-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/executive-security.yaml +31 -0
- emo_cyber-0.1.0/templates/reports/official/mcp-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/pre-release-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/regression-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/security-audit.yaml +35 -0
- emo_cyber-0.1.0/templates/reports/official/supabase-security.yaml +31 -0
- emo_cyber-0.1.0/templates/reports/official/supply-chain-security.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/threat-model.yaml +29 -0
- emo_cyber-0.1.0/templates/reports/official/web-app-security.yaml +31 -0
- emo_cyber-0.1.0/templates/security-knowledge/SECURITY-KNOWLEDGE-TEMPLATE.yaml +32 -0
- emo_cyber-0.1.0/templates/security-knowledge/official/audit-default.yaml +27 -0
- emo_cyber-0.1.0/templates/skills/SKILL-PACK-TEMPLATE.yaml +60 -0
- emo_cyber-0.1.0/templates/skills/SKILL-TEMPLATE.yaml +62 -0
- emo_cyber-0.1.0/templates/skills/packs/official/authentication-authorization.yaml +93 -0
- emo_cyber-0.1.0/templates/skills/packs/official/dependency-supply-chain.yaml +76 -0
- emo_cyber-0.1.0/templates/skills/packs/official/injection-security.yaml +94 -0
- emo_cyber-0.1.0/templates/skills/packs/official/path-traversal-file-access.yaml +73 -0
- emo_cyber-0.1.0/templates/skills/packs/official/secrets-sensitive-data.yaml +93 -0
- emo_cyber-0.1.0/templates/skills/packs/official/security-configuration.yaml +72 -0
- emo_cyber-0.1.0/templates/skills/packs/official/ssrf-request-forgery.yaml +91 -0
- emo_cyber-0.1.0/templates/skills/packs/official/xss-output-encoding.yaml +74 -0
- emo_cyber-0.1.0/templates/tasks/TASK-TEMPLATE.yaml +72 -0
- emo_cyber-0.1.0/templates/tasks/examples/example-quick-review.yaml +49 -0
- emo_cyber-0.1.0/templates/tasks/official/agent-security-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/ai-security-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/api-security-review.yaml +51 -0
- emo_cyber-0.1.0/templates/tasks/official/authentication-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/authorization-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/business-logic-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/changed-code-security-review.yaml +51 -0
- emo_cyber-0.1.0/templates/tasks/official/cloud-security-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/container-security-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/database-security-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/deep-security-audit.yaml +53 -0
- emo_cyber-0.1.0/templates/tasks/official/dependency-audit.yaml +51 -0
- emo_cyber-0.1.0/templates/tasks/official/infrastructure-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/mcp-security-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/pre-release-security-review.yaml +51 -0
- emo_cyber-0.1.0/templates/tasks/official/race-condition-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/regression-security-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/secret-audit.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/supabase-security-review.yaml +53 -0
- emo_cyber-0.1.0/templates/tasks/official/supply-chain-review.yaml +50 -0
- emo_cyber-0.1.0/templates/tasks/official/threat-model.yaml +52 -0
- emo_cyber-0.1.0/templates/tasks/official/web-app-security.yaml +52 -0
- emo_cyber-0.1.0/templates/threat-modeling/THREAT-MODEL-TEMPLATE.yaml +20 -0
- emo_cyber-0.1.0/templates/threat-modeling/official/api-db-starter.yaml +14 -0
- emo_cyber-0.1.0/templates/threat-modeling/official/web-app-starter.yaml +15 -0
- emo_cyber-0.1.0/templates/tools/TOOL-PACK-TEMPLATE.yaml +77 -0
- emo_cyber-0.1.0/templates/tools/packs/official/gitleaks-pack.yaml +67 -0
- emo_cyber-0.1.0/templates/tools/packs/official/osv-scanner-pack.yaml +72 -0
- emo_cyber-0.1.0/templates/tools/packs/official/semgrep-pack.yaml +66 -0
- emo_cyber-0.1.0/templates/tools/packs/official/trivy-pack.yaml +156 -0
- emo_cyber-0.1.0/templates/verification/VERIFICATION-ADAPTER-TEMPLATE.yaml +59 -0
- emo_cyber-0.1.0/templates/verification/VERIFICATION-PLAN.yaml +46 -0
- emo_cyber-0.1.0/templates/verification/VERIFICATION-STRATEGY.yaml +37 -0
- emo_cyber-0.1.0/templates/verification/official/assurance-strategies.yaml +224 -0
- emo_cyber-0.1.0/templates/verification/official/authorization-strategies.yaml +80 -0
- emo_cyber-0.1.0/templates/verification/official/boundary-strategies.yaml +151 -0
- emo_cyber-0.1.0/tests/contract/README.md +9 -0
- emo_cyber-0.1.0/tests/fixtures/README.md +11 -0
- emo_cyber-0.1.0/tests/fixtures/agent_security/adversarial_texts.json +13 -0
- emo_cyber-0.1.0/tests/fixtures/agent_security/agent_config.json +67 -0
- emo_cyber-0.1.0/tests/fixtures/agent_security/memory_entries.json +4 -0
- emo_cyber-0.1.0/tests/fixtures/change_analysis/auth_base.py +9 -0
- emo_cyber-0.1.0/tests/fixtures/change_analysis/auth_target.py +9 -0
- emo_cyber-0.1.0/tests/fixtures/change_analysis/deps_base.txt +2 -0
- emo_cyber-0.1.0/tests/fixtures/change_analysis/deps_target.txt +2 -0
- emo_cyber-0.1.0/tests/fixtures/change_analysis/malicious_commit.json +1 -0
- emo_cyber-0.1.0/tests/fixtures/change_analysis/malicious_source.py +3 -0
- emo_cyber-0.1.0/tests/fixtures/change_analysis/rename_new.py +2 -0
- emo_cyber-0.1.0/tests/fixtures/change_analysis/rename_old.py +2 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/adversarial/adv-01-ignore-instructions.json +40 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/adversarial/adv-02-prompt-inject-inert.json +42 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/adversarial/adv-03-sql-payload.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/adversarial/adv-04-ssrf-payload.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/adversarial/adv-05-redact-bearer.json +39 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/adversarial/adv-06-scope-out.json +36 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/adversarial/adv-07-authority-intact.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/adversarial/adv-08-exec-sink.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/adversarial/adv-09-report-clean.json +38 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/adversarial/adv-10-hostile-tool-silent.json +42 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/agent/agent-01-memory-hostile.json +42 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/agent/agent-02-authority-preserved.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/agent/agent-03-policy-allow.json +44 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/agent/agent-04-detect-auth.json +43 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/agent/agent-05-coverage.json +35 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/agent/agent-06-report.json +38 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/agent/agent-07-parity-audit-readme.json +36 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/agent/agent-08-parity-audit-tests.json +36 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-01-scope-allowed.json +36 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-02-scope-denied.json +36 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-03-scope-size.json +43 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-04-policy-allow.json +44 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-05-policy-deny-network.json +44 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-06-authority-preserved.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-07-authority-empty.json +30 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-08-authority-write-locked.json +39 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-09-authority-network-locked.json +39 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-10-policy-reason.json +44 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-11-scope-target-echo.json +42 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/authorization/authz-12-authority-read-kept.json +40 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/change/chg-01-reg-changed.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/change/chg-02-reg-persisting.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/change/chg-03-reg-new.json +35 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/change/chg-04-reg-disappeared.json +35 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/change/chg-05-reg-incomparable.json +35 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/change/chg-06-report-after-change.json +38 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/change/chg-07-detect-regression.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/change/chg-08-evidence-change.json +50 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/dataset.json +59 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/dependency/dep-01-vuln-flag.json +49 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/dependency/dep-02-clean-deps.json +47 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/dependency/dep-03-dep-plus-secret.json +50 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/dependency/dep-04-evidence-dep.json +50 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/dependency/dep-05-correlate-dep.json +61 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/dependency/dep-06-report-malformed.json +46 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/dependency/dep-07-normalize-deps.json +32 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/dependency/dep-08-coverage-limited.json +41 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/hostile_input/inj-01-obey-false.json +42 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/hostile_input/inj-02-inert.json +42 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/hostile_input/inj-03-tool-not-called.json +42 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/hostile_input/inj-04-boundary-preserved.json +43 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/hostile_input/inj-05-tool-description-untrusted.json +42 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/hostile_input/inj-06-detect-eval.json +43 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/hostile_input/inj-07-detect-innerhtml.json +43 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/hostile_input/inj-08-clean-text.json +40 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/hostile_input/inj-09-no-escalation.json +42 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/hostile_input/inj-10-scope-after-hostile.json +36 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/mcp/mcp-01-detect-prompt-override.json +40 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/mcp/mcp-02-tool-scope.json +36 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/mcp/mcp-03-authority-preserved.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/mcp/mcp-04-report-json.json +38 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/mcp/mcp-05-verify-plan.json +47 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/mcp/mcp-06-evidence-provenance.json +50 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/mcp/mcp-07-parity-audit-root.json +36 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/mcp/mcp-08-parity-audit-src.json +36 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/memory/mem-01-normalize-session.json +32 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/memory/mem-02-redact-memory.json +39 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/memory/mem-03-evidence-store.json +50 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/memory/mem-04-correlate-memory.json +55 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/memory/mem-05-authority-memory.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/memory/mem-06-detect-no-leak.json +40 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/memory/mem-07-report-memory.json +38 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/memory/mem-08-unknown-memory.json +31 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/secrets/sec-01-token-redact.json +39 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/secrets/sec-02-token-quoted-redact.json +39 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/secrets/sec-03-report-clean.json +38 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/secrets/sec-04-detect-secret.json +40 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/secrets/sec-05-unknown-confidence.json +37 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/secrets/sec-06-evidence-hash.json +49 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/secrets/sec-07-correlate-secret.json +50 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/secrets/sec-08-report-version.json +38 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/secrets/sec-09-scope-clean.json +36 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/secrets/sec-10-normalize-safe.json +38 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/verification/ver-01-plan.json +47 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/verification/ver-02-plan-config.json +47 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/verification/ver-03-blocked.json +49 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/verification/ver-04-coverage-complete.json +35 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/verification/ver-05-coverage-limited.json +35 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/verification/ver-06-evidence.json +50 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/verification/ver-07-surface-detect.json +42 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/verification/ver-08-scope.json +36 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/verification/ver-09-authority.json +34 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/verification/ver-10-normalize.json +32 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-01-secret-detect.json +43 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-02-auth-missing.json +44 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-03-sqli-detect.json +43 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-04-ssrf-detect.json +43 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-05-normalize.json +38 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-06-evidence-two.json +67 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-07-evidence-sources.json +59 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-08-correlate-pair.json +67 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-09-report-empty.json +44 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-10-surface-sink.json +43 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-11-coverage-complete.json +41 -0
- emo_cyber-0.1.0/tests/fixtures/evaluation/web/web-12-unknown-signal.json +37 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-evaluation-dataset/dataset.json +17 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-evaluation-dataset/manifest.extension.yaml +66 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-evaluation-dataset/web/ext-01-secret-scan-sample.json +43 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-playbook/manifest.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-report-template/manifest.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-skill/content/skill.yaml +18 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-skill/manifest.extension.yaml +66 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-skill-pack/content/pack.yaml +93 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-skill-pack/manifest.extension.yaml +66 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-task/manifest.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-threat-method/content/method.yaml +15 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-threat-method/manifest.extension.yaml +66 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-threat-ruleset/manifest.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-tool-pack/content/pack.yaml +67 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-tool-pack/manifest.extension.yaml +66 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-verification-adapter/manifest.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-verification-adapter/official_adapter_impl.py +25 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/official/official-verification-strategy/manifest.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/third_party/conflicting-third-party/manifest.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/third_party/incompatible-third-party/manifest.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/third_party/malicious-third-party/hostile_impl.py +16 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/third_party/malicious-third-party/manifest.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/third_party/untrusted-third-party/manifest.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/third_party/valid-third-party/manifest-next.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/extensions/third_party/valid-third-party/manifest.extension.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/security_knowledge/knowledge_records.json +169 -0
- emo_cyber-0.1.0/tests/fixtures/security_knowledge/regression_pairs.json +20 -0
- emo_cyber-0.1.0/tests/fixtures/security_skill_packs/cycle-alpha-pack.yaml +40 -0
- emo_cyber-0.1.0/tests/fixtures/security_skill_packs/cycle-beta-pack.yaml +40 -0
- emo_cyber-0.1.0/tests/fixtures/security_skill_packs/evil-bias-pack.yaml +39 -0
- emo_cyber-0.1.0/tests/fixtures/security_skill_packs/evil-grant-pack.yaml +39 -0
- emo_cyber-0.1.0/tests/fixtures/security_skill_packs/evil-severity-pack.yaml +39 -0
- emo_cyber-0.1.0/tests/fixtures/security_skill_packs/evil-shell-pack.yaml +39 -0
- emo_cyber-0.1.0/tests/fixtures/threat_modeling/auth_helpers.py +2 -0
- emo_cyber-0.1.0/tests/fixtures/threat_modeling/web_app.py +20 -0
- emo_cyber-0.1.0/tests/fixtures/tool_packs/evil-config-pack.yaml +65 -0
- emo_cyber-0.1.0/tests/fixtures/tool_packs/evil-grant-pack.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/tool_packs/evil-metadata-pack.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/tool_packs/evil-shell-pack.yaml +61 -0
- emo_cyber-0.1.0/tests/fixtures/tool_packs/instruction-injection-stdout.json +1 -0
- emo_cyber-0.1.0/tests/fixtures/tool_packs/secret-stdout.json +1 -0
- emo_cyber-0.1.0/tests/fixtures/verification/regression_cases.json +43 -0
- emo_cyber-0.1.0/tests/release/conftest.py +160 -0
- emo_cyber-0.1.0/tests/release/test_artifacts.py +177 -0
- emo_cyber-0.1.0/tests/release/test_build.py +117 -0
- emo_cyber-0.1.0/tests/release/test_entrypoints.py +52 -0
- emo_cyber-0.1.0/tests/release/test_installation.py +139 -0
- emo_cyber-0.1.0/tests/release/test_packaged_resources.py +125 -0
- emo_cyber-0.1.0/tests/release/test_release_integrity.py +95 -0
- emo_cyber-0.1.0/tests/release/test_release_manifest.py +90 -0
- emo_cyber-0.1.0/tests/release/test_release_smoke.py +261 -0
- emo_cyber-0.1.0/tests/unit/progress/test_progress_events.py +530 -0
- emo_cyber-0.1.0/tests/unit/recovery/test_recovery_contracts.py +310 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_binding.py +181 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_bootstrap.py +219 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_compat_matrix.py +127 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_contracts.py +528 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_delegation.py +356 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_discovery.py +123 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_e2e_matrix.py +464 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_firewall.py +314 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_fuzz.py +993 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_handoff_gate.py +159 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_health.py +179 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_hosts_anythingllm.py +234 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_hosts_hermes.py +179 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_hosts_jan.py +186 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_hosts_opencode.py +111 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_hosts_pi.py +151 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_isolation.py +259 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_lifecycle.py +230 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_mcp_surface_security.py +283 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_minimization.py +175 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_negotiation.py +87 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_progress_bridge.py +333 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_recovery_bridge.py +223 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_result_firewall.py +245 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_sanitizer.py +334 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_session_map.py +328 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_tool_filter.py +165 -0
- emo_cyber-0.1.0/tests/unit/subagent/test_trust_boundary.py +311 -0
- emo_cyber-0.1.0/tests/unit/test_agent_security.py +321 -0
- emo_cyber-0.1.0/tests/unit/test_agent_security_adversarial.py +219 -0
- emo_cyber-0.1.0/tests/unit/test_agent_security_isolation.py +115 -0
- emo_cyber-0.1.0/tests/unit/test_attack_surface.py +159 -0
- emo_cyber-0.1.0/tests/unit/test_change_analysis.py +411 -0
- emo_cyber-0.1.0/tests/unit/test_change_security.py +261 -0
- emo_cyber-0.1.0/tests/unit/test_cli.py +274 -0
- emo_cyber-0.1.0/tests/unit/test_cli_progress.py +146 -0
- emo_cyber-0.1.0/tests/unit/test_code_intelligence.py +515 -0
- emo_cyber-0.1.0/tests/unit/test_correlation.py +394 -0
- emo_cyber-0.1.0/tests/unit/test_evaluation_datasets.py +236 -0
- emo_cyber-0.1.0/tests/unit/test_evaluation_e2e.py +424 -0
- emo_cyber-0.1.0/tests/unit/test_evaluation_oracles_metrics_gates.py +517 -0
- emo_cyber-0.1.0/tests/unit/test_evaluation_runner.py +401 -0
- emo_cyber-0.1.0/tests/unit/test_evaluation_spec.py +364 -0
- emo_cyber-0.1.0/tests/unit/test_evaluation_sut.py +465 -0
- emo_cyber-0.1.0/tests/unit/test_extension_adversarial.py +397 -0
- emo_cyber-0.1.0/tests/unit/test_extension_compatibility.py +245 -0
- emo_cyber-0.1.0/tests/unit/test_extension_discovery.py +187 -0
- emo_cyber-0.1.0/tests/unit/test_extension_provenance.py +295 -0
- emo_cyber-0.1.0/tests/unit/test_extension_registry.py +178 -0
- emo_cyber-0.1.0/tests/unit/test_extension_security.py +405 -0
- emo_cyber-0.1.0/tests/unit/test_extensions.py +431 -0
- emo_cyber-0.1.0/tests/unit/test_findings.py +336 -0
- emo_cyber-0.1.0/tests/unit/test_foundation.py +708 -0
- emo_cyber-0.1.0/tests/unit/test_hardening.py +664 -0
- emo_cyber-0.1.0/tests/unit/test_mcp.py +319 -0
- emo_cyber-0.1.0/tests/unit/test_mcp_progress.py +193 -0
- emo_cyber-0.1.0/tests/unit/test_mcp_security.py +99 -0
- emo_cyber-0.1.0/tests/unit/test_playbooks.py +448 -0
- emo_cyber-0.1.0/tests/unit/test_progress_e2e.py +293 -0
- emo_cyber-0.1.0/tests/unit/test_reasoning.py +395 -0
- emo_cyber-0.1.0/tests/unit/test_report_templates.py +301 -0
- emo_cyber-0.1.0/tests/unit/test_reporting.py +303 -0
- emo_cyber-0.1.0/tests/unit/test_repository.py +313 -0
- emo_cyber-0.1.0/tests/unit/test_security_knowledge.py +296 -0
- emo_cyber-0.1.0/tests/unit/test_security_knowledge_adversarial.py +281 -0
- emo_cyber-0.1.0/tests/unit/test_security_knowledge_isolation.py +188 -0
- emo_cyber-0.1.0/tests/unit/test_security_knowledge_regression.py +221 -0
- emo_cyber-0.1.0/tests/unit/test_security_skill_packs.py +391 -0
- emo_cyber-0.1.0/tests/unit/test_skills.py +184 -0
- emo_cyber-0.1.0/tests/unit/test_supabase.py +308 -0
- emo_cyber-0.1.0/tests/unit/test_tasks.py +285 -0
- emo_cyber-0.1.0/tests/unit/test_threat_modeling.py +323 -0
- emo_cyber-0.1.0/tests/unit/test_threat_security.py +388 -0
- emo_cyber-0.1.0/tests/unit/test_tool_pack_security.py +360 -0
- emo_cyber-0.1.0/tests/unit/test_tool_packs.py +293 -0
- emo_cyber-0.1.0/tests/unit/test_toolchain.py +314 -0
- emo_cyber-0.1.0/tests/unit/test_verification.py +392 -0
- emo_cyber-0.1.0/tests/unit/test_verification_adapter_contract.py +514 -0
- emo_cyber-0.1.0/tests/unit/test_verification_adapters.py +625 -0
- emo_cyber-0.1.0/tests/unit/test_verification_adversarial.py +498 -0
- emo_cyber-0.1.0/tests/unit/test_verification_regression.py +256 -0
- emo_cyber-0.1.0/tests/unit/test_verification_security.py +429 -0
- emo_cyber-0.1.0/tests/unit/test_verification_strategies.py +664 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.0 — Final Release (ECA-T016)
|
|
4
|
+
|
|
5
|
+
Release gate: `reports/development/ECA-T016-release-security-assessment.md`
|
|
6
|
+
(decision PASS; manifest `release/release-manifest.json`).
|
|
7
|
+
|
|
8
|
+
- MCP stdio adapter (6 high-level tools) and universal CLI (8 commands,
|
|
9
|
+
documented exit codes, stdout/stderr split, `--version` flag).
|
|
10
|
+
- Extension ecosystem (POST-RC-014): manifest contract, digest-bound
|
|
11
|
+
identity, host-side trust, compatibility, provenance, conflicts,
|
|
12
|
+
deterministic resolver, gated loader, read-only CLI/MCP surfaces.
|
|
13
|
+
- Evaluation lab (POST-RC-013): blind corpus, scoring runner, oracles,
|
|
14
|
+
metric pools, threshold gates, cross-interface parity (all green).
|
|
15
|
+
- Packaging: wheel+sdist with 36 schemas, 2 policies, 94-file official
|
|
16
|
+
catalog, LICENSE; version-consistent metadata (Core Metadata 2.6,
|
|
17
|
+
SPDX Apache-2.0); `pyyaml`/`jsonschema` promoted to runtime
|
|
18
|
+
dependencies (base installs load all content).
|
|
19
|
+
- Verification: 1401 tests green (1350 unit + 51 release), 36/36 schemas,
|
|
20
|
+
ruff clean on release scope, OSV/Trivy 0 vulnerabilities, no shipped
|
|
21
|
+
secrets, 12/12 invariants PASS from the installed artifact.
|
|
22
|
+
|
|
23
|
+
Security fixes (not hidden): execution decisions are now target- and
|
|
24
|
+
policy-version-bound; path/ref validators deny null bytes, percent- and
|
|
25
|
+
double-encoded traversal, and drive-letter paths; Markdown escaping
|
|
26
|
+
collapses newlines in single-line contexts.
|
|
27
|
+
|
|
28
|
+
Limitations: audit persistence, live runners/harnesses, MCP-over-HTTP,
|
|
29
|
+
progress streaming, and real-network integrations are explicitly out of
|
|
30
|
+
this release. No scores, no remediation automation, no exploit
|
|
31
|
+
capabilities — by design, permanently.
|
|
32
|
+
|
|
33
|
+
## 0.1.0-rc1 — Release Candidate 1
|
|
34
|
+
|
|
35
|
+
Delivered through ECA-T001…ECA-T016 (reports in `reports/development/`):
|
|
36
|
+
|
|
37
|
+
- Domain Core + state machine; PolicyEngine (default-deny) + ToolRegistry.
|
|
38
|
+
- Repository + Supabase read-only integrations (scope-bound, redacted).
|
|
39
|
+
- Deterministic toolchain: semgrep/trivy/osv-scanner/gitleaks behind an
|
|
40
|
+
argv-only, confined, secret-free execution boundary.
|
|
41
|
+
- Evidence graph + deterministic correlation; reasoning loop with bounded
|
|
42
|
+
budgets and no model authority; verification layer (plans, never
|
|
43
|
+
exploits); finding lifecycle with gated promotion; JSON/JSONL/Markdown
|
|
44
|
+
reporting (projection only, no scores).
|
|
45
|
+
- MCP stdio adapter (5 high-level tools) and universal CLI (7 commands,
|
|
46
|
+
documented exit codes, stdout/stderr split).
|
|
47
|
+
- Security hardening campaign (ECA-T015): 3 real boundary weaknesses
|
|
48
|
+
found and fixed in-boundary (execution-decision binding, encoded path
|
|
49
|
+
traversal, report newline confinement) with regression tests.
|
|
50
|
+
- Packaging: wheel+sdist with bundled schemas/policies/LICENSE,
|
|
51
|
+
version-consistent metadata, Apache-2.0 license.
|
|
52
|
+
|
|
53
|
+
Security fixes (not hidden): execution decisions are now target- and
|
|
54
|
+
policy-version-bound; path/ref validators deny null bytes, percent- and
|
|
55
|
+
double-encoded traversal, and drive-letter paths; Markdown escaping
|
|
56
|
+
collapses newlines in single-line contexts.
|
|
57
|
+
|
|
58
|
+
Limitations: audit persistence, live runners/harnesses, MCP-over-HTTP,
|
|
59
|
+
progress streaming, and real-network integrations are release-integration
|
|
60
|
+
work, explicitly out of this RC. No scores, no remediation automation,
|
|
61
|
+
no exploit capabilities — by design, permanently.
|
|
62
|
+
|
|
63
|
+
## 0.1.0-foundation
|
|
64
|
+
|
|
65
|
+
- Initial repository foundation.
|
|
66
|
+
- Project charter and requirements.
|
|
67
|
+
- Architecture and security methodology.
|
|
68
|
+
- MCP/CLI/Python API contracts.
|
|
69
|
+
- Tool and permission model.
|
|
70
|
+
- Versioned JSON schemas.
|
|
71
|
+
- Implementation phases and evaluation plan.
|
|
72
|
+
- Model-agnostic provider interface.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
## Principles
|
|
4
|
+
|
|
5
|
+
- Prefer small, typed changes.
|
|
6
|
+
- Preserve public schemas.
|
|
7
|
+
- Add tests for policy-sensitive behavior.
|
|
8
|
+
- Never add real secrets or production targets.
|
|
9
|
+
- Keep model-provider and host-specific code behind adapters.
|
|
10
|
+
- Document any capability that can write or mutate external state.
|
|
11
|
+
|
|
12
|
+
## Change categories
|
|
13
|
+
|
|
14
|
+
Changes to any of the following require explicit review:
|
|
15
|
+
|
|
16
|
+
- MCP tools;
|
|
17
|
+
- permission profiles;
|
|
18
|
+
- tool capabilities;
|
|
19
|
+
- report schemas;
|
|
20
|
+
- credential handling;
|
|
21
|
+
- external network access;
|
|
22
|
+
- verification behavior.
|
emo_cyber-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
Use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format.
|
|
185
|
+
|
|
186
|
+
Copyright 2026 EMO-Cyber-Agent Contributors
|
|
187
|
+
|
|
188
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
189
|
+
you may not use this file except in compliance with the License.
|
|
190
|
+
You may obtain a copy of the License at
|
|
191
|
+
|
|
192
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
193
|
+
|
|
194
|
+
Unless required by applicable law or agreed to in writing, software
|
|
195
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
196
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
197
|
+
See the License for the specific language governing permissions and
|
|
198
|
+
limitations under the License.
|
emo_cyber-0.1.0/Makefile
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.PHONY: install test lint typecheck format check audit-schema
|
|
2
|
+
|
|
3
|
+
install:
|
|
4
|
+
python -m pip install -e '.[all]'
|
|
5
|
+
|
|
6
|
+
test:
|
|
7
|
+
pytest
|
|
8
|
+
|
|
9
|
+
lint:
|
|
10
|
+
ruff check src tests scripts
|
|
11
|
+
|
|
12
|
+
typecheck:
|
|
13
|
+
mypy src
|
|
14
|
+
|
|
15
|
+
format:
|
|
16
|
+
ruff format src tests scripts
|
|
17
|
+
|
|
18
|
+
check: lint typecheck test audit-schema
|
|
19
|
+
|
|
20
|
+
audit-schema:
|
|
21
|
+
python scripts/validate_schemas.py
|
emo_cyber-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: emo-cyber
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Portable, model-agnostic cybersecurity sub-agent exposed via MCP, CLI, and Python API.
|
|
5
|
+
Project-URL: Homepage, https://github.com/SE-Emam/EMO-Cyber-Agent
|
|
6
|
+
Project-URL: Documentation, https://github.com/SE-Emam/EMO-Cyber-Agent#readme
|
|
7
|
+
Project-URL: Repository, https://github.com/SE-Emam/EMO-Cyber-Agent
|
|
8
|
+
Project-URL: Issues, https://github.com/SE-Emam/EMO-Cyber-Agent/issues
|
|
9
|
+
Author: EMO-Cyber-Agent Contributors
|
|
10
|
+
Maintainer: EMO-Cyber-Agent Contributors
|
|
11
|
+
License-Expression: Apache-2.0
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: cli,mcp,security,static-analysis,verification
|
|
14
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
15
|
+
Classifier: Environment :: Console
|
|
16
|
+
Classifier: Intended Audience :: Developers
|
|
17
|
+
Classifier: Intended Audience :: Information Technology
|
|
18
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Classifier: Programming Language :: Python :: 3
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
|
+
Classifier: Topic :: Security
|
|
26
|
+
Requires-Python: >=3.11
|
|
27
|
+
Requires-Dist: jsonschema<5,>=4.23
|
|
28
|
+
Requires-Dist: pydantic-settings<3,>=2.6
|
|
29
|
+
Requires-Dist: pydantic<3,>=2.9
|
|
30
|
+
Requires-Dist: pyyaml<7,>=6.0
|
|
31
|
+
Requires-Dist: rich<15,>=13.9
|
|
32
|
+
Requires-Dist: typer<1,>=0.16
|
|
33
|
+
Provides-Extra: all
|
|
34
|
+
Requires-Dist: fastapi<1,>=0.115; extra == 'all'
|
|
35
|
+
Requires-Dist: jsonschema<5,>=4.23; extra == 'all'
|
|
36
|
+
Requires-Dist: mcp<2,>=1.15; extra == 'all'
|
|
37
|
+
Requires-Dist: mypy<2,>=1.15; extra == 'all'
|
|
38
|
+
Requires-Dist: pytest-asyncio<1,>=0.25; extra == 'all'
|
|
39
|
+
Requires-Dist: pytest<9,>=8.3; extra == 'all'
|
|
40
|
+
Requires-Dist: pyyaml<7,>=6.0; extra == 'all'
|
|
41
|
+
Requires-Dist: ruff<1,>=0.11; extra == 'all'
|
|
42
|
+
Requires-Dist: uvicorn<1,>=0.34; extra == 'all'
|
|
43
|
+
Provides-Extra: dev
|
|
44
|
+
Requires-Dist: jsonschema<5,>=4.23; extra == 'dev'
|
|
45
|
+
Requires-Dist: mypy<2,>=1.15; extra == 'dev'
|
|
46
|
+
Requires-Dist: pytest-asyncio<1,>=0.25; extra == 'dev'
|
|
47
|
+
Requires-Dist: pytest<9,>=8.3; extra == 'dev'
|
|
48
|
+
Requires-Dist: pyyaml<7,>=6.0; extra == 'dev'
|
|
49
|
+
Requires-Dist: ruff<1,>=0.11; extra == 'dev'
|
|
50
|
+
Provides-Extra: http
|
|
51
|
+
Requires-Dist: fastapi<1,>=0.115; extra == 'http'
|
|
52
|
+
Requires-Dist: uvicorn<1,>=0.34; extra == 'http'
|
|
53
|
+
Provides-Extra: mcp
|
|
54
|
+
Requires-Dist: mcp<2,>=1.15; extra == 'mcp'
|
|
55
|
+
Description-Content-Type: text/markdown
|
|
56
|
+
|
|
57
|
+

|
|
58
|
+
|
|
59
|
+
# EMO-Cyber-Agent
|
|
60
|
+
|
|
61
|
+
A portable, model-agnostic, governed cybersecurity subagent
|
|
62
|
+
for code, applications, agents, prompts, MCP, and cloud security.
|
|
63
|
+
|
|
64
|
+
Portable, model-agnostic cybersecurity sub-agent for software projects.
|
|
65
|
+
|
|
66
|
+
EMO-Cyber-Agent is designed to be installed once as a Python package and then invoked through:
|
|
67
|
+
|
|
68
|
+
- MCP for agent hosts such as coding assistants and IDE agents.
|
|
69
|
+
- CLI for humans, CI/CD, and agents that can execute commands.
|
|
70
|
+
- Python API for embedding and automation.
|
|
71
|
+
|
|
72
|
+
The project is intentionally **model-agnostic**. Model weights, GPU/runtime deployment, and provider-specific infrastructure are out of scope for this repository. The core product is the security methodology, agent control loop, tool contracts, evidence model, policy enforcement, and stable interfaces.
|
|
73
|
+
|
|
74
|
+
## Design goals
|
|
75
|
+
|
|
76
|
+
1. Portable across agent hosts.
|
|
77
|
+
2. Read-only by default.
|
|
78
|
+
3. Evidence-first findings: every material claim must point to evidence.
|
|
79
|
+
4. Security-specialist behavior: the host agent delegates security work; EMO owns the security workflow.
|
|
80
|
+
5. Deterministic tools around probabilistic reasoning.
|
|
81
|
+
6. Verification before escalation when safe and permitted.
|
|
82
|
+
7. Strict separation between untrusted repository content and agent instructions.
|
|
83
|
+
8. Stable JSON schemas so MCP, CLI, and Python API return the same result model.
|
|
84
|
+
9. Pluggable tool adapters and model providers.
|
|
85
|
+
10. No required dependency on a particular LLM, cloud, IDE, or repository platform.
|
|
86
|
+
|
|
87
|
+
## Non-goals
|
|
88
|
+
|
|
89
|
+
- Building a general-purpose coding agent.
|
|
90
|
+
- Bundling model weights.
|
|
91
|
+
- Automatic production changes by default.
|
|
92
|
+
- Replacing SAST, SCA, secret scanners, DAST, runtime security, or human security review.
|
|
93
|
+
- Exploit development or offensive operation against systems without explicit authorization.
|
|
94
|
+
|
|
95
|
+
## Repository map
|
|
96
|
+
|
|
97
|
+
```text
|
|
98
|
+
EMO-Cyber-Agent/
|
|
99
|
+
├── docs/ # Specifications and implementation plan
|
|
100
|
+
├── src/emo_cyber_agent/ # Package skeleton
|
|
101
|
+
├── tests/ # Unit/contract/fixture test plan
|
|
102
|
+
├── examples/ # Integration examples
|
|
103
|
+
├── scripts/ # Developer utilities
|
|
104
|
+
├── .github/workflows/ # CI templates
|
|
105
|
+
├── pyproject.toml
|
|
106
|
+
├── .env.example
|
|
107
|
+
└── Makefile
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Development status
|
|
111
|
+
|
|
112
|
+
Core engine (domain, policy, tools, evidence, reasoning, verification,
|
|
113
|
+
findings, reporting) plus MCP and CLI adapters are implemented and tested
|
|
114
|
+
according to `docs/16-implementation-plan.md`. Progress is recorded per
|
|
115
|
+
task in `reports/development/ECA-T*.md`.
|
|
116
|
+
|
|
117
|
+
## Installation
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
pip install emo-cyber
|
|
121
|
+
cyber-agent --help
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Optional isolation:
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
pipx install emo-cyber
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
From source (developers):
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
pip install -e '.[all]' # package + MCP/HTTP/dev extras
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Quickstart
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
cyber-agent audit . --format json > result.json
|
|
140
|
+
cyber-agent report --findings findings.json --audit-id <id> --format markdown
|
|
141
|
+
cyber-agent mcp # stdio server for MCP hosts (OpenCode, Hermes, pi, Cline, VS Code, …)
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
## Commands
|
|
145
|
+
|
|
146
|
+
```text
|
|
147
|
+
cyber-agent doctor # operational presence checks (no secrets printed)
|
|
148
|
+
cyber-agent audit <target> [--mode quick|standard|deep] [--focus a,b] [--format human|json]
|
|
149
|
+
cyber-agent review <target> [--focus a,b] [--format human|json]
|
|
150
|
+
cyber-agent verify --candidate cand.json --method <m> --kind <k> --locator <loc> --rationale <r> --audit-id <id>
|
|
151
|
+
cyber-agent status <audit_id> # read-only; unknown audits report NOT_FOUND
|
|
152
|
+
cyber-agent report --findings findings.json --audit-id <id> --format json|jsonl|markdown
|
|
153
|
+
cyber-agent mcp # MCP stdio server (thin adapter over Core)
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Only implemented options exist — there are no `--shell`, `--exec`,
|
|
157
|
+
`--grant`, `--sudo`, `--allow-write`, or `--bypass-policy` flags, and no
|
|
158
|
+
`--github-token`-style secret flags (use environment/secret providers).
|
|
159
|
+
|
|
160
|
+
## Output formats and exit codes
|
|
161
|
+
|
|
162
|
+
- `--format json` emits machine-readable JSON on stdout; diagnostics go to
|
|
163
|
+
stderr, so `cyber-agent audit . --format json > result.json` stays clean.
|
|
164
|
+
- Findings never change the exit code; command status and security results
|
|
165
|
+
are separate concerns.
|
|
166
|
+
|
|
167
|
+
```text
|
|
168
|
+
0 SUCCESS · 1 AUDIT/DOMAIN FAILURE · 2 INVALID INPUT · 3 POLICY DENIED ·
|
|
169
|
+
4 SECURITY BLOCKED · 5 PROVIDER/TOOL UNAVAILABLE · 6 VERIFICATION
|
|
170
|
+
INCONCLUSIVE · 7 INTERNAL ERROR · 130 interrupted (POSIX standard)
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
## CI example
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
cyber-agent audit . --format json > result.json
|
|
177
|
+
python -c "import json; print(json.load(open('result.json'))['result']['status'])"
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
## Security model
|
|
181
|
+
|
|
182
|
+
Read-only by default; repository content is untrusted data; no material
|
|
183
|
+
finding without evidence; no destructive action without an explicit
|
|
184
|
+
permission transition; MCP and CLI are thin adapters — Core decides,
|
|
185
|
+
tools prove, verification confirms, reporting projects.
|
|
186
|
+
|
|
187
|
+
Progress is advisory-only (never authorizes actions). Recovery is bounded
|
|
188
|
+
and fail-closed (`POLICY_DENIED` / `INTEGRITY_FAILURE` never retry).
|
|
189
|
+
Host-supplied context is untrusted until scope-bound by Core/Policy.
|
|
190
|
+
|
|
191
|
+
## Host integration
|
|
192
|
+
|
|
193
|
+
Register EMO once as an MCP server, then delegate security work from any
|
|
194
|
+
compatible host. Full per-host guides live in `docs/integrations/`.
|
|
195
|
+
|
|
196
|
+
```json
|
|
197
|
+
{ "mcpServers": { "emo-cyber-agent": { "command": "cyber-agent", "args": ["mcp"] } } }
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
| Host | Status |
|
|
201
|
+
|---|---|
|
|
202
|
+
| Generic MCP host (stdio) | Contract Tested |
|
|
203
|
+
| OpenCode | Supported (config), Contract Tested discovery |
|
|
204
|
+
| Pi (stdio / Streamable HTTP) | Supported (config), project-scoped |
|
|
205
|
+
| Hermes (per-server filtering) | Supported (config), least-surface guidance |
|
|
206
|
+
| Jan (Desktop + Agent/CLI shared config) | Supported (config) |
|
|
207
|
+
| AnythingLLM (workspace/RAG = untrusted inputs) | Supported (config), boundary guidance |
|
|
208
|
+
|
|
209
|
+
Levels: Supported = config + mapping shipped; Contract Tested = in-repo
|
|
210
|
+
contract tests; Environment Tested = live binary exercised (where available);
|
|
211
|
+
otherwise Not Tested — see `docs/integrations/` per host.
|
|
212
|
+
|
|
213
|
+
## Limitations
|
|
214
|
+
|
|
215
|
+
Read-only analysis; no auto-remediation, no exploit capabilities, no
|
|
216
|
+
scores-as-verdicts. Live-host interop beyond contract tests is
|
|
217
|
+
environment-dependent (see host docs). Progress never gates security
|
|
218
|
+
decisions; recovery never mutates policy, evidence, or findings.
|