feat: complete v1.2 operational hardening PRD#2
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the Codex Plugin Scanner to version 1.2.0, introducing significant enhancements for publishability and operational security. Key changes include new manifest validation for interface metadata and assets, MCP transport hardening to enforce HTTPS for remote endpoints, and a new 'Operational Security' category that checks for GitHub Actions pinning, workflow permissions, and dependency lockfile hygiene. The PR also includes a comprehensive PRD, updated test fixtures, and new integration tests. One issue was identified regarding broken or future-dated documentation links for the Model Context Protocol specification.
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Resolved from Previous Review (7 issues)All issues from prior reviews remain fixed:
Files Reviewed (21 files)
Reviewed by mimo-v2-pro-20260318 · 679,864 tokens |
3d122db to
90b6f7d
Compare
Signed-off-by: Michael Kantor <6068672+kantorcodes@users.noreply.github.com>
1be038f to
eee5baa
Compare
Signed-off-by: Michael Kantor <6068672+kantorcodes@users.noreply.github.com>
Purpose
Complete the v1.2 operational-hardening PRD end to end for
codex-plugin-scanner.This PR turns the scanner into a stronger publishability and operational-security gate by adding:
interfacemetadata and asset validationAffected paths
src/codex_plugin_scanner/checks/manifest.pysrc/codex_plugin_scanner/checks/security.pysrc/codex_plugin_scanner/checks/operational_security.pysrc/codex_plugin_scanner/scanner.pysrc/codex_plugin_scanner/cli.pysrc/codex_plugin_scanner/__init__.pyREADME.mdpyproject.tomltests/fixtures/good-plugin/.codex-plugin/plugin.jsontests/fixtures/good-plugin/assets/*tests/test_manifest.pytests/test_security.pytests/test_operational_security.pytests/test_integration.pytests/test_scanner.pytests/test_cli.pytests/test_live_cisco_smoke.pySetup / env notes
cisco-ai-skill-scanneris not installed.Verification
Automated:
./.venv/bin/python -m pytest./.venv/bin/ruff check src tests./.venv/bin/python -m buildLive, without mocks:
./.venv/bin/codex-plugin-scanner tests/fixtures/good-plugin --format json./.venv/bin/codex-plugin-scanner tests/fixtures/good-plugin --format json --cisco-skill-scan on --cisco-policy balanced./.venv/bin/python -m pytest tests/test_live_cisco_smoke.py -qNotes