Repository navigation
Cortex v2.0.1
·
2 commits
to main
since this release
[2.0.1] — 2026-11-25
Release Hardening, npm Publish Fix, CLI/MCP Parity & Security Remediation. Fixes npm tag matching for uppercase/lowercase tags, achieves 100% --json and opencode parity across CLI/MCP/Studio/site, adds root .cortex-policy.json, hardens remote URL/path-traversal/CSRF checks, and eliminates all hardcoded demo secret/PII literal fixtures across the codebase.
Fixed
- npm Release Workflow (
.github/workflows/publish-npm.yml&ci.yml): Fixed release tag version comparison (${GITHUB_REF_NAME#[vV]}) so bothv*andV*tags verify cleanly againstpackage.json, addedruff+cortex scan+cortex audit --jsonto smoke tests, and fixed CI eval count copy (24-task→36-task). - Full-Codebase Secret, Key, PII & DOM Sink Remediation:
- Replaced literal demo token/key/SSN/email fixtures in
evals/skill_evals.json,premium-skills/db-optimizer/SKILL.md,index.html, andtests/test_cortex_v2.pywith non-matching placeholder patterns or runtime-constructed test strings (0literal credential or PII findings across the repository). - Hardened
scripts/install_skills.py(https://scheme enforcement,--repo/--refvalidation, slug regex, and.resolve().relative_to()path-traversal confinement on install/uninstall),scripts/eval_skills.py(https:///loopback URL scheme check),scripts/cortex_studio.py(1 MiBrequest body cap andOriginCSRF validation onPOST), andindex.html(escapeHtml()across catalog, packs, platforms, and inspector DOM templates).
- Replaced literal demo token/key/SSN/email fixtures in
- CLI, MCP, Studio & Site Parity:
- Added
--jsonparity acrosscortex scan . --json(plus--init-policy),cortex audit --json,cortex doctor --json,cortex new --json,grade_calc.py --json,memory_store.py --json, andbmesh_check.py --json, plus fixedcortex_run_verifierinvocation formemory-manager. - Added
opencodetarget parity toscripts/cortex_compile.py(AGENTS.md),scripts/cortex_studio.pycompiler UI,scripts/cortex_mcp.py, andindex.htmlMCP simulator; correctedindex.htmlmanifest count (11→9) and npm verify commands. - Added
IGNORE_DIRSand.github/skillspruning tolint_terraform.py,lint_k8s.py,lint_graphql.py, andaudit_finops.pyso installed skill trees are skipped cleanly.
- Added
- Repository Scanner Policy (
.cortex-policy.json): Added starter root policy aligned withschemas/policy.schema.jsonand wiredcortex scan . --format sarif --fail-on highinto.github/workflows/ci.yml.
What's Changed
- release: Cortex v2.0.1 (npm publish fix, full-codebase leak/security remediation, CLI/MCP parity) by @athallajovian9-cyber in #38
Full Changelog: V2.0.0...v2.0.1