hol-guard 2.0.331__tar.gz → 2.0.332__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.
- {hol_guard-2.0.331 → hol_guard-2.0.332}/PKG-INFO +1 -1
- {hol_guard-2.0.331 → hol_guard-2.0.332}/pyproject.toml +1 -1
- {hol_guard-2.0.331 → hol_guard-2.0.332}/pyproject.toml.bak +1 -1
- hol_guard-2.0.332/src/codex_plugin_scanner/guard/provenance.py +393 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/version.py +1 -1
- hol_guard-2.0.332/tests/test_guard_provenance.py +414 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.clusterfuzzlite/Dockerfile +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.clusterfuzzlite/build.sh +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.clusterfuzzlite/project.yaml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.clusterfuzzlite/requirements-atheris.txt +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.dockerignore +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/CODEOWNERS +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/ISSUE_TEMPLATE/feature-request.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/dependabot.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/ci.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/codeql.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/dependabot-uv-lock.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/fuzz.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/harness-smoke.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/publish.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/scorecard.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.gitignore +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/.pre-commit-hooks.yaml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/CONTRIBUTING.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/Dockerfile +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/LICENSE +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/PRODUCT.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/README.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/SECURITY.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/index.html +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/package.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/pnpm-lock.yaml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/apple-touch-icon.png +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/brand/Logo_Icon_Dark.png +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/brand/Logo_Whole.png +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/favicon-16x16.png +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/favicon-32x32.png +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/favicon.ico +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/app-detail-phase11.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/app-detail-workspace.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/app-routing.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/app.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-layout.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-layout.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-mobile.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-primitives.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-review-cards.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-utils.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-gate-utils.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-gate.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-scopes.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-scopes.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/apps/app-catalog.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/apps/app-detail-workspace.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/clear-policy-payload.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/clear-policy-payload.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/compare-time-periods.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/data-flow-evidence-card.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/error-boundary.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/app-tab.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/categories.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/category-tab.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-action-detail.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-action-list.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-analytics-panel.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-clear-modal.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-copy.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-detail.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-export-drawer.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-export.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-export.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-filter-bar.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-filters.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-filters.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-insight-strip.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-metrics.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-metrics.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-pagination.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-pagination.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-perf.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-period.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-sort.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-sort.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-story.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-types.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-url-state.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-url-state.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-view-shell.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/explore-tab.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/index.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/plain-english.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/story-tab.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/fleet-workspace-phase11.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/fleet-workspace.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/fleet-workspace.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/guard-api.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/guard-api.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/guard-demo.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/guard-types.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/help-modal.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/history-analytics.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/history-charts.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/history-export.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/home-dashboard.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/home-dashboard.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/main.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/phase09-review.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/queue-chip-filter.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/queue-state.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/queue-state.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/receipts-workspace.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/receipts-workspace.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/review-workspace.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/risk-signal-cards.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/risk-signal-cards.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/runtime-overview.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/runtime-overview.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/scanner-evidence-badge.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/security-fixes.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/settings-workspace-phase11.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/settings-workspace.test.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/settings-workspace.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/styles.css +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/totp-enrollment-qr-panel.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/use-debounce.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/use-focus-trap.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/use-keyboard-shortcut.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/use-reduced-motion.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/use-route-focus.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/vite-env.d.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/watched-app-card.tsx +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/tsconfig.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/vite.config.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/docker-requirements.txt +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/architecture.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/get-started.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/harness-support.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/local-vs-cloud.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/release-checklist.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/smoke-tests.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/testing-matrix.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/trust/mcp-trust-draft.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/trust/plugin-trust-draft.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/trust/skill-trust-local.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/fuzzers/manifest_fuzzer.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/requirements.txt +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/schemas/plugin-quality.v1.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/schemas/scan-result.v1.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/schemas/verify-result.v1.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/scripts/codex-auto-resume-smoke.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/action_runner.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/argparse_utils.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/best_practices.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/claude.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/code_quality.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/ecosystem_common.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/gemini.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/manifest.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/manifest_support.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/marketplace.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/mcp_security.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/opencode.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/operational_security.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/security.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/skill_security.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/cli.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/cli_ui.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/config.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/base.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/claude.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/codex.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/detect.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/gemini.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/opencode.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/registry.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/types.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/github_reporting.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/access_graph_events.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/antigravity.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/base.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/claude_code.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/cloud_identity.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/codex.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/contracts.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/copilot.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/cursor.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/gemini.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/hermes.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/mcp_servers.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/openclaw.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/openclaw_config.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/openclaw_support.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/opencode.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/opencode_artifacts.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/advisory_model.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/approval_gate.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/approval_gate_state.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/approvals.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/bridge/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/capabilities.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/approval_commands.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/approval_gate_prompt.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/bootstrap.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/commands.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/connect_flow.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/docs.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/install_commands.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/product.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/prompt.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/render.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/update_commands.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/codex_app_server.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/codex_config.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/codex_resume.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/config.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/consumer/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/consumer/service.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/client.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/manager.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/server.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/apple-touch-icon.png +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/app-catalog.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/app-detail-workspace.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/fleet-workspace.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/help-modal.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/home-dashboard.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/runtime-overview.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/settings-workspace.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/use-focus-trap.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/guard-dashboard.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/index.css +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/brand/Logo_Icon_Dark.png +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/brand/Logo_Whole.png +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/favicon-16x16.png +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/favicon-32x32.png +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/favicon.ico +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/index.html +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/desktop_notifications.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/edge_events.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/harness_usage.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/incident.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/insights.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/inventory_cisco.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/inventory_contract.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/launcher.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/local_supply_chain.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/mcp_tool_calls.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/models.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/policy/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/policy/engine.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/product_model.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/protect.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/proxy/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/proxy/remote.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/proxy/runtime_mcp.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/proxy/stdio.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/receipts/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/receipts/manager.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/redaction.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/risk.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/action_identity.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/actions.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/advisory_escalation.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/advisory_matchers.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/cisco_evidence.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/cisco_preflight.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/composition_rules.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/data_flow.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/data_flow_rules.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/data_flow_variables.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/decisions.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/detectors.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/false_positive_rules.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/js_semver.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/mcp_protection.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/package_intent.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/package_intent_common.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/package_intent_parser.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/package_manifest_diff.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/persistence_rules.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/prompt_injection.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/runner.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/safe_decode.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/sandbox.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/scanner_cache.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/secret_file_requests.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/secret_sensitivity.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/secret_sources.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/sed_scripts.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/shell_commands.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/signals.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/skill_protection.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_bundle.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_bundle_base.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_bundle_models.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_bundle_runtime.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_package_eval.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_support.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/surface_server.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/temp_files.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/threat_intel.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/schemas/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/schemas/consumer_mode.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/schemas/guard_event_v1.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/schemas/guard_product_model_v1.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/schemas/surface_server.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/shims.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_approvals.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_connect.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_evidence.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_resume.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_supply_chain.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_threat_intel.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/totp.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/types.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/integrations/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/integrations/cisco_mcp_scanner.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/integrations/cisco_skill_scanner.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/lint_fixes.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/marketplace_support.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/models.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/path_support.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/policy.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/quality_artifact.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/repo_detect.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/reporting.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/rules/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/rules/registry.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/rules/specs.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/scanner.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/submission.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/suppressions.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_domain_scoring.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_helpers.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_mcp_scoring.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_models.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_plugin_scoring.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_scoring.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_skill_scoring.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_specs.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/verification.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/conftest.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/__init__.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/bad-plugin/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/bad-plugin/.mcp.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/bad-plugin/secrets.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/.claude-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/LICENSE +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/README.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/SECURITY.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/hooks/hooks.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/skills/example/SKILL.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/code-quality-bad/evil.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/code-quality-bad/inject.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/GEMINI.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/LICENSE +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/README.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/SECURITY.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/commands/hello.toml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/gemini-extension.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/.codexignore +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/LICENSE +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/README.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/SECURITY.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/assets/icon.svg +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/assets/logo.svg +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/assets/screenshot.svg +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/skills/example/SKILL.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-codex-malicious-mcp/.codex/config.toml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/README.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/benign-docs-fake-token.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/benign-health-endpoint.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/benign-nvmrc-fake-creds.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/benign-source-search.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/canary-exfil-encoded.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/canary-exfil.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/expected-decisions.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-dockerfile.txt +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-encoded-shell-exfil.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-github-action.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-mcp-delete.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-mcp-secret-read.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-mcp-skill-exfil.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-npm-postinstall.js +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-prompt-env-read.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-prompt-guard-bypass.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-prompt-npmrc-read.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-python-setup.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/smoke-evidence-template.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/config.yaml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/mcp_servers.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/skills/security/malicious/SKILL.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/skills/stealth/sneaky/SKILL.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/skills/stealth/sneaky/references/api-setup.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/skills/stealth/sneaky/scripts/deploy.sh +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/skills/utils/benign/SKILL.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malformed-json/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/.codexignore +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/LICENSE +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/README.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/SECURITY.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/skills/leaky-skill/SKILL.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/mcp-canary-server.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/minimal-plugin/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/missing-fields/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/mit-license/LICENSE +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/codex-plugin/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/codex-plugin/LICENSE +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/codex-plugin/README.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/codex-plugin/SECURITY.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/gemini-ext/README.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/gemini-ext/gemini-extension.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/.agents/plugins/marketplace.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/.codexignore +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/LICENSE +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/README.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/SECURITY.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/skills/example/SKILL.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/beta-plugin/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/beta-plugin/skills/example/SKILL.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/no-version/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/.opencode/commands/hello.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/.opencode/plugins/example.ts +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/LICENSE +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/README.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/SECURITY.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/opencode.jsonc +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/skills-missing-dir/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/skills-no-frontmatter/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/skills-no-frontmatter/skills/bad-skill/SKILL.md +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/benign-npm-controls-package.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/benign-npm-package.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/benign-pnpm-package.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/benign-pyproject.toml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/critical-base-image-Dockerfile +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-Dockerfile +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-action.yml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-npm-env-fs-network-package.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-npm-obfuscated-package.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-npm-package.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-setup.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/cargo-safe/Cargo.lock +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/cargo-safe/Cargo.toml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/cargo-vulnerable/Cargo.lock +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/cargo-vulnerable/Cargo.toml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/composer-safe/composer.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/composer-safe/composer.lock +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/composer-vulnerable/composer.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/composer-vulnerable/composer.lock +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/go-safe/go.mod +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/go-vulnerable/go.mod +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/gradle-safe/build.gradle +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/gradle-safe/gradle.lockfile +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/gradle-vulnerable/build.gradle +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/gradle-vulnerable/gradle.lockfile +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/maven-safe/pom.xml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/maven-vulnerable/pom.xml +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/rubygems-safe/Gemfile +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/rubygems-safe/Gemfile.lock +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/rubygems-vulnerable/Gemfile +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/rubygems-vulnerable/Gemfile.lock +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/with-marketplace/.codex-plugin/plugin.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/with-marketplace/marketplace-broken.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/with-marketplace/marketplace.json +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/guard_python_phase12_support.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/guard_tier2_phase13_support.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test-trust-scoring.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test-trust-specs.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_action_runner.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_best_practices.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_cisco_install_surfaces.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_cli.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_code_quality.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_config.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_coverage_remaining.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_cursor_adapter.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_ecosystems.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_edge_cases.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_final_coverage.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_gemini_adapter.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_access_graph.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_action_identity.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_advisory_escalation.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_continuity.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_copy_commands.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_decisions.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_gate.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_store_dedup.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_store_phase14.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_store_scale.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approvals.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_bootstrap.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_bypass_detector.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_canary_fixtures.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_capabilities.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_cisco_evidence.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_cisco_runtime_cli.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_claude_adapter.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_cli.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_cloud_local_sync.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_auto_resume_smoke.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_e2e.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_install.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_proxy.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_resume_commands.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_resume_endpoints.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_config_paths.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_connect_flow.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_consumer_mode.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_copilot_adapter.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_copilot_proxy.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_cli.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_manager.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_perf.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_registry.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_repair_perf.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_wake.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_data_flow.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_decision_propagation.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_desktop_notifications.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_detector_fp.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_docs.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_event_schema_v1.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_events.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_evidence_api_contract.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_evidence_store.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_harness_contracts.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_harness_setup.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_harness_smoke.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_hashnet_mcp_canaries.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_headless_daemon_api.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_insights.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_inventory_cisco.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_inventory_contract.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_lab_phase11.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_lockfile_resolution_phase11.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_package_hook_phase11.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_package_intent_phase11.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_semver_phase11.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_supply_chain_phase11.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_launch_env.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_local_supply_chain_audit_phase16.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_local_supply_chain_phase15.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_mcp_detectors.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_mcp_package_proxy_phase14.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_mcp_protection.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_opencode_proxy.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_package_hook.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_package_hook_phase14.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_package_intent.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_package_resume_phase14.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_package_shims.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase03_local_install.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase03_remainder.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase04_failure_modes.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase04_harness_contracts.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase04_harness_ux.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase05_approval_memory.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase07_harness_coverage_matrix.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_policy_dedup.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_product_flow.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_product_model_contracts.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_prompt_injection.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_protect.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_python_lab_phase12.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_python_package_hook_phase12.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_python_package_intent_phase12.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_python_supply_chain_heuristics_phase12.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_python_supply_chain_phase12.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_queue_api_contract.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_queue_contract.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_receipt_p5_fields.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_receipt_persistence.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_red_team.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_red_team_e2e.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_redaction.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_registry_broker_skills_canaries.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_render.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_resolution_copy.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_risk.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_action_harnesses.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_actions.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_actions_phase14.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_decisions.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_detectors.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_signals.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_safe_decode.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_sandbox.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_settings_api.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_settings_presets.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_shim_truth.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_skill_protection.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_skill_protection_phase14.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_store_migrations.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_supply_chain.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_supply_chain_bundle.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_supply_chain_daemon.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_supply_chain_evaluator.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_supply_chain_sync.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_surface_server.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_threat_intel.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_tier2_labs_phase13.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_tier2_package_intent_phase13.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_tier2_supply_chain_phase13.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_verdicts.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_web_recovery.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_wrapper_flows.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_hermes_adapter.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_integration.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_lint_fixes.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_live_cisco_smoke.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_manifest.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_marketplace.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_mcp_security.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_openclaw_adapter.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_opencode_adapter.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_operational_security.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_policy.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_quality_artifact.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_rule_registry.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_scanner.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_schema_contracts.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_security.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_security_ops.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_skill_security.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_submission.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_trust_scoring.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_trust_specs.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_verification.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_versioning.py +0 -0
- {hol_guard-2.0.331 → hol_guard-2.0.332}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hol-guard
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.332
|
|
4
4
|
Summary: Protect local AI harnesses with HOL Guard before tools run in Codex, Claude Code, Cursor, Gemini, and OpenCode.
|
|
5
5
|
Project-URL: Homepage, https://github.com/hashgraph-online/hol-guard
|
|
6
6
|
Project-URL: Repository, https://github.com/hashgraph-online/hol-guard
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "hol-guard"
|
|
7
|
-
version = "2.0.
|
|
7
|
+
version = "2.0.332"
|
|
8
8
|
description = "Protect local AI harnesses with HOL Guard before tools run in Codex, Claude Code, Cursor, Gemini, and OpenCode."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "Apache-2.0"
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "hol-guard"
|
|
7
|
-
version = "2.0.
|
|
7
|
+
version = "2.0.332"
|
|
8
8
|
description = "Protect local AI harnesses with HOL Guard and run scanner checks for Codex, Claude, Cursor, Gemini, and OpenCode."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "Apache-2.0"
|
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
"""Supply chain provenance, attestation, SLSA, registry identity, and source policy.
|
|
2
|
+
|
|
3
|
+
Implements SCRG146-158: npm provenance fetcher, PyPI attestation, Sigstore bundle
|
|
4
|
+
verification, SLSA provenance fields, repository binding policy, registry identity
|
|
5
|
+
pinning, dist integrity checks, HTTP source policy, and git source immutability.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
import hashlib
|
|
11
|
+
import json
|
|
12
|
+
import re
|
|
13
|
+
import urllib.parse
|
|
14
|
+
import urllib.request
|
|
15
|
+
from typing import Any
|
|
16
|
+
|
|
17
|
+
_HARD_RISK_CODES = frozenset(
|
|
18
|
+
{
|
|
19
|
+
"known_malware",
|
|
20
|
+
"kev_exploited",
|
|
21
|
+
"malware_confirmed",
|
|
22
|
+
"security_hold",
|
|
23
|
+
"osv_critical_active",
|
|
24
|
+
"license_violation_hard",
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
_OFFICIAL_REGISTRIES: dict[str, set[str]] = {
|
|
29
|
+
"npm": {"https://registry.npmjs.org", "https://registry.yarnpkg.com"},
|
|
30
|
+
"pypi": {"https://pypi.org", "https://files.pythonhosted.org"},
|
|
31
|
+
"cargo": {"https://crates.io", "https://static.crates.io"},
|
|
32
|
+
"rubygems": {"https://rubygems.org"},
|
|
33
|
+
"maven": {"https://repo1.maven.org", "https://repo.maven.apache.org"},
|
|
34
|
+
"go": {"https://proxy.golang.org", "https://goproxy.io"},
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
REGISTRY_IDENTITY_POLICY_ADR = """
|
|
38
|
+
ADR-SCRG152: Registry Identity and Pinning Policy
|
|
39
|
+
|
|
40
|
+
Status: Accepted
|
|
41
|
+
|
|
42
|
+
Context:
|
|
43
|
+
Package managers can be configured to pull from arbitrary registries. A compromised
|
|
44
|
+
or malicious registry can serve tampered packages even with matching names and versions.
|
|
45
|
+
|
|
46
|
+
Decision:
|
|
47
|
+
1. Each ecosystem has a set of official/trusted registries (see _OFFICIAL_REGISTRIES).
|
|
48
|
+
2. Any registry not in the trusted set produces an 'allowed: False' result with a
|
|
49
|
+
non-empty reason and a recommendation to pin or explicitly allow-list the registry.
|
|
50
|
+
3. Workspace policy may extend the trusted set via allowed_registries config.
|
|
51
|
+
4. A registry fingerprint (SHA-256 of the registry base URL) is stored alongside
|
|
52
|
+
package install receipts to enable drift detection.
|
|
53
|
+
5. Registry pinning is enforced at the point of source URL resolution, before download.
|
|
54
|
+
|
|
55
|
+
Consequences:
|
|
56
|
+
- Packages resolved from unofficial registries will produce warnings or blocks
|
|
57
|
+
depending on workspace risk tolerance settings.
|
|
58
|
+
- Private registries must be explicitly listed in workspace config to avoid false
|
|
59
|
+
positives in enterprise environments.
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
def _fetch_npm_attestations(package: str, version: str) -> dict[str, Any]:
|
|
64
|
+
"""Fetch npm attestation data from the official npm registry API."""
|
|
65
|
+
encoded = urllib.request.quote(f"{package}/-/{package}-{version}.tgz", safe="@/")
|
|
66
|
+
url = f"https://registry.npmjs.org/-/npm/v1/attestations/{encoded}"
|
|
67
|
+
req = urllib.request.Request(url, headers={"Accept": "application/json"})
|
|
68
|
+
with urllib.request.urlopen(req, timeout=10) as resp:
|
|
69
|
+
return json.loads(resp.read())
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def _fetch_pypi_attestations(package: str, version: str) -> dict[str, Any]:
|
|
73
|
+
"""Fetch PyPI attestation data from the PyPI API."""
|
|
74
|
+
url = f"https://pypi.org/integrity/{package}/{version}/attestations.json"
|
|
75
|
+
req = urllib.request.Request(url, headers={"Accept": "application/json"})
|
|
76
|
+
with urllib.request.urlopen(req, timeout=10) as resp:
|
|
77
|
+
return json.loads(resp.read())
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def fetch_npm_provenance(package: str, version: str) -> dict[str, Any]:
|
|
81
|
+
"""Fetch and summarise npm provenance attestation for *package* at *version*.
|
|
82
|
+
|
|
83
|
+
Returns a dict with at least:
|
|
84
|
+
- ``status``: 'attested' | 'verified' | 'unverified' | 'missing' | 'error'
|
|
85
|
+
- ``attestations``: list of raw attestation dicts (empty when missing/error)
|
|
86
|
+
- ``error``: error string when status='error'
|
|
87
|
+
"""
|
|
88
|
+
try:
|
|
89
|
+
data = _fetch_npm_attestations(package, version)
|
|
90
|
+
except Exception as exc:
|
|
91
|
+
return {"status": "error", "attestations": [], "error": str(exc)}
|
|
92
|
+
|
|
93
|
+
attestations = data.get("attestations", [])
|
|
94
|
+
if not attestations:
|
|
95
|
+
return {"status": "missing", "attestations": []}
|
|
96
|
+
|
|
97
|
+
return {"status": "attested", "attestations": attestations, "package": package, "version": version}
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
def extract_npm_trusted_publisher(attestation: dict[str, Any]) -> dict[str, Any]:
|
|
101
|
+
"""Extract OIDC trusted publisher information from a single npm attestation dict.
|
|
102
|
+
|
|
103
|
+
Returns a dict with:
|
|
104
|
+
- ``provider``: 'github_actions' | 'unknown'
|
|
105
|
+
- ``source_repository``: URL or None
|
|
106
|
+
- ``ref``: branch/tag ref or None
|
|
107
|
+
- ``run_uri``: CI run URI or None
|
|
108
|
+
"""
|
|
109
|
+
predicate = attestation.get("predicate", {})
|
|
110
|
+
run_uri = predicate.get("runInvocationUri") or predicate.get("runUri")
|
|
111
|
+
source_repo = predicate.get("sourceRepositoryUri")
|
|
112
|
+
ref = predicate.get("sourceRepositoryRef")
|
|
113
|
+
|
|
114
|
+
if not source_repo and not run_uri:
|
|
115
|
+
return {"provider": "unknown", "source_repository": None, "ref": None, "run_uri": None}
|
|
116
|
+
|
|
117
|
+
provider = "unknown"
|
|
118
|
+
if _is_github_host_url(run_uri) or _is_github_host_url(source_repo):
|
|
119
|
+
provider = "github_actions"
|
|
120
|
+
|
|
121
|
+
return {
|
|
122
|
+
"provider": provider,
|
|
123
|
+
"source_repository": source_repo,
|
|
124
|
+
"ref": ref,
|
|
125
|
+
"run_uri": run_uri,
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
def fetch_pypi_attestation(package: str, version: str) -> dict[str, Any]:
|
|
130
|
+
"""Fetch and summarise PyPI attestation for *package* at *version*.
|
|
131
|
+
|
|
132
|
+
Returns a dict with:
|
|
133
|
+
- ``status``: 'attested' | 'missing' | 'error'
|
|
134
|
+
- ``attestations``: list of attestation dicts
|
|
135
|
+
"""
|
|
136
|
+
try:
|
|
137
|
+
data = _fetch_pypi_attestations(package, version)
|
|
138
|
+
except Exception as exc:
|
|
139
|
+
return {"status": "error", "attestations": [], "error": str(exc)}
|
|
140
|
+
|
|
141
|
+
attestations = data.get("attestations", [])
|
|
142
|
+
if not attestations:
|
|
143
|
+
return {"status": "missing", "attestations": []}
|
|
144
|
+
|
|
145
|
+
return {"status": "attested", "attestations": attestations, "package": package, "version": version}
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
def verify_sigstore_bundle(bundle: dict[str, Any], *, expected_package_digest: str | None) -> dict[str, Any]:
|
|
149
|
+
"""Verify a Sigstore bundle structure without trusted root.
|
|
150
|
+
|
|
151
|
+
Performs structural validation only (no network/crypto library calls):
|
|
152
|
+
- Checks bundle mediaType
|
|
153
|
+
- Checks verification material presence
|
|
154
|
+
- Checks message digest matches expected_package_digest when provided
|
|
155
|
+
|
|
156
|
+
Returns dict with:
|
|
157
|
+
- ``valid``: bool
|
|
158
|
+
- ``reason``: explanation string
|
|
159
|
+
"""
|
|
160
|
+
if not bundle:
|
|
161
|
+
return {"valid": False, "reason": "empty bundle"}
|
|
162
|
+
|
|
163
|
+
media_type = bundle.get("mediaType", "")
|
|
164
|
+
if "sigstore" not in media_type and "bundle" not in media_type:
|
|
165
|
+
return {"valid": False, "reason": "unrecognised bundle mediaType"}
|
|
166
|
+
|
|
167
|
+
verification_material = bundle.get("verificationMaterial")
|
|
168
|
+
if not verification_material:
|
|
169
|
+
return {"valid": False, "reason": "missing verificationMaterial"}
|
|
170
|
+
|
|
171
|
+
if expected_package_digest is not None:
|
|
172
|
+
msg_sig = bundle.get("messageSignature", {})
|
|
173
|
+
actual_digest = msg_sig.get("messageDigest", {}).get("digest")
|
|
174
|
+
if actual_digest and actual_digest != expected_package_digest:
|
|
175
|
+
return {"valid": False, "reason": f"digest mismatch: {actual_digest} != {expected_package_digest}"}
|
|
176
|
+
|
|
177
|
+
return {"valid": True, "reason": "structural validation passed"}
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
def build_slsa_provenance_record(ecosystem: str, attestation: dict[str, Any]) -> dict[str, Any]:
|
|
181
|
+
"""Build a SLSA provenance record from an attestation dict.
|
|
182
|
+
|
|
183
|
+
Fields:
|
|
184
|
+
- ``builder_id``: CI builder URI or None
|
|
185
|
+
- ``source_repository``: source repo URI or None
|
|
186
|
+
- ``source_ref``: branch/tag ref or None
|
|
187
|
+
- ``source_commit``: commit SHA or None
|
|
188
|
+
- ``build_type``: build type URI or None
|
|
189
|
+
- ``slsa_level``: int 1-3 or None
|
|
190
|
+
- ``ecosystem``: the package ecosystem
|
|
191
|
+
"""
|
|
192
|
+
predicate = attestation.get("predicate", {})
|
|
193
|
+
run_uri = predicate.get("runInvocationUri") or predicate.get("runUri")
|
|
194
|
+
source_repo = predicate.get("sourceRepositoryUri")
|
|
195
|
+
source_ref = predicate.get("sourceRepositoryRef")
|
|
196
|
+
source_commit = predicate.get("sourceRepositoryCommit") or predicate.get("sourceCommit")
|
|
197
|
+
build_type = predicate.get("buildType")
|
|
198
|
+
builder_id = predicate.get("builderId") or predicate.get("builderUri") or run_uri
|
|
199
|
+
|
|
200
|
+
slsa_level: int | None = None
|
|
201
|
+
if source_repo and run_uri:
|
|
202
|
+
slsa_level = 2 if source_commit and len(source_commit) >= 40 else 1
|
|
203
|
+
|
|
204
|
+
return {
|
|
205
|
+
"builder_id": builder_id,
|
|
206
|
+
"source_repository": source_repo,
|
|
207
|
+
"source_ref": source_ref,
|
|
208
|
+
"source_commit": source_commit,
|
|
209
|
+
"build_type": build_type,
|
|
210
|
+
"slsa_level": slsa_level,
|
|
211
|
+
"ecosystem": ecosystem,
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
def check_repository_binding(
|
|
216
|
+
*,
|
|
217
|
+
actual_source: str | None,
|
|
218
|
+
required_org: str | None,
|
|
219
|
+
required_repo: str | None = None,
|
|
220
|
+
) -> dict[str, Any]:
|
|
221
|
+
"""Check whether a package's source repository matches workspace binding policy.
|
|
222
|
+
|
|
223
|
+
Returns:
|
|
224
|
+
- ``bound``: True if policy is satisfied
|
|
225
|
+
- ``violation``: human-readable reason when bound=False, else None
|
|
226
|
+
"""
|
|
227
|
+
if required_org is None and required_repo is None:
|
|
228
|
+
return {"bound": True, "violation": None}
|
|
229
|
+
|
|
230
|
+
if not actual_source:
|
|
231
|
+
return {"bound": False, "violation": "no source repository in provenance"}
|
|
232
|
+
|
|
233
|
+
if required_repo is not None and required_repo.lower() not in actual_source.lower():
|
|
234
|
+
return {
|
|
235
|
+
"bound": False,
|
|
236
|
+
"violation": f"source {actual_source!r} does not match required repo {required_repo!r}",
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
if required_org is not None:
|
|
240
|
+
org_pattern = f"/{required_org}/"
|
|
241
|
+
alt_pattern = f":{required_org}/"
|
|
242
|
+
if org_pattern.lower() not in actual_source.lower() and alt_pattern.lower() not in actual_source.lower():
|
|
243
|
+
return {
|
|
244
|
+
"bound": False,
|
|
245
|
+
"violation": f"source {actual_source!r} does not match required org {required_org!r}",
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
return {"bound": True, "violation": None}
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
def check_registry_identity(ecosystem: str, registry_url: str) -> dict[str, Any]:
|
|
252
|
+
"""Check whether *registry_url* is an officially trusted registry for *ecosystem*.
|
|
253
|
+
|
|
254
|
+
Returns:
|
|
255
|
+
- ``allowed``: bool
|
|
256
|
+
- ``reason``: explanation when not allowed
|
|
257
|
+
- ``fingerprint``: SHA-256 hex of registry_url
|
|
258
|
+
"""
|
|
259
|
+
canonical = registry_url.rstrip("/").lower()
|
|
260
|
+
trusted = _OFFICIAL_REGISTRIES.get(ecosystem, set())
|
|
261
|
+
trusted_lower = {u.rstrip("/").lower() for u in trusted}
|
|
262
|
+
fingerprint = hashlib.sha256(registry_url.encode()).hexdigest()
|
|
263
|
+
|
|
264
|
+
if canonical in trusted_lower:
|
|
265
|
+
return {"allowed": True, "reason": None, "fingerprint": fingerprint}
|
|
266
|
+
|
|
267
|
+
return {
|
|
268
|
+
"allowed": False,
|
|
269
|
+
"reason": (
|
|
270
|
+
f"registry {registry_url!r} is not in the trusted set for ecosystem {ecosystem!r}. "
|
|
271
|
+
"Add it to workspace.allowed_registries to allow installs from this registry."
|
|
272
|
+
),
|
|
273
|
+
"fingerprint": fingerprint,
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
def check_dist_integrity(
|
|
278
|
+
*,
|
|
279
|
+
lockfile_integrity: str | None,
|
|
280
|
+
registry_integrity: str | None,
|
|
281
|
+
) -> dict[str, Any]:
|
|
282
|
+
"""Compare lockfile integrity hash against registry-provided integrity.
|
|
283
|
+
|
|
284
|
+
Returns:
|
|
285
|
+
- ``match``: True if hashes agree
|
|
286
|
+
- ``status``: 'verified' | 'mismatch' | 'unverifiable'
|
|
287
|
+
"""
|
|
288
|
+
if registry_integrity is None:
|
|
289
|
+
return {"match": False, "status": "unverifiable", "lockfile_integrity": lockfile_integrity}
|
|
290
|
+
|
|
291
|
+
if lockfile_integrity is None:
|
|
292
|
+
return {"match": False, "status": "unverifiable", "registry_integrity": registry_integrity}
|
|
293
|
+
|
|
294
|
+
match = lockfile_integrity == registry_integrity
|
|
295
|
+
return {
|
|
296
|
+
"match": match,
|
|
297
|
+
"status": "verified" if match else "mismatch",
|
|
298
|
+
"lockfile_integrity": lockfile_integrity,
|
|
299
|
+
"registry_integrity": registry_integrity,
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
def check_source_url_security(source_url: str | None) -> dict[str, Any]:
|
|
304
|
+
"""Return whether *source_url* uses a secure scheme.
|
|
305
|
+
|
|
306
|
+
Returns:
|
|
307
|
+
- ``secure``: bool
|
|
308
|
+
- ``reason``: 'insecure_http' when scheme is http, None otherwise
|
|
309
|
+
"""
|
|
310
|
+
if source_url is None:
|
|
311
|
+
return {"secure": True, "reason": None, "url": None}
|
|
312
|
+
|
|
313
|
+
url_lower = source_url.strip().lower()
|
|
314
|
+
if url_lower.startswith("http://"):
|
|
315
|
+
return {"secure": False, "reason": "insecure_http", "url": source_url}
|
|
316
|
+
|
|
317
|
+
return {"secure": True, "reason": None, "url": source_url}
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
_SHA_RE = re.compile(r"^[0-9a-f]{40}$", re.IGNORECASE)
|
|
321
|
+
_SEMVER_RE = re.compile(r"^v?\d+\.\d+")
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
def check_git_source_immutability(source_url: str) -> dict[str, Any]:
|
|
325
|
+
"""Determine whether a git source URL pins to an immutable commit SHA.
|
|
326
|
+
|
|
327
|
+
Returns:
|
|
328
|
+
- ``immutable``: True only when the fragment is a full 40-char hex commit SHA
|
|
329
|
+
- ``reason``: 'mutable_branch' | 'mutable_tag' | 'no_pin' | None
|
|
330
|
+
- ``fragment``: the fragment portion of the URL
|
|
331
|
+
"""
|
|
332
|
+
if "#" not in source_url:
|
|
333
|
+
return {"immutable": False, "reason": "no_pin", "fragment": None}
|
|
334
|
+
|
|
335
|
+
fragment = source_url.split("#", 1)[1]
|
|
336
|
+
if not fragment:
|
|
337
|
+
return {"immutable": False, "reason": "no_pin", "fragment": fragment}
|
|
338
|
+
|
|
339
|
+
if _SHA_RE.match(fragment):
|
|
340
|
+
return {"immutable": True, "reason": None, "fragment": fragment}
|
|
341
|
+
|
|
342
|
+
if _SEMVER_RE.match(fragment):
|
|
343
|
+
return {"immutable": False, "reason": "mutable_tag", "fragment": fragment}
|
|
344
|
+
|
|
345
|
+
return {"immutable": False, "reason": "mutable_branch", "fragment": fragment}
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
_PROVENANCE_COPY: dict[str, str] = {
|
|
349
|
+
"verified": "Provenance verified: package build is attested to a trusted CI publisher.",
|
|
350
|
+
"attested": "Provenance attested: package includes a build attestation.",
|
|
351
|
+
"missing": "No provenance available for this package. Cannot verify build origin.",
|
|
352
|
+
"mismatch": "Provenance mismatch: attestation data does not agree with package metadata.",
|
|
353
|
+
"unknown": "Provenance status unknown: unable to retrieve attestation data.",
|
|
354
|
+
"error": "Provenance check failed: could not contact the attestation registry.",
|
|
355
|
+
"unverified": "Provenance unverified: attestation structure present but not fully validated.",
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
def build_provenance_copy(*, status: str, ecosystem: str, package: str) -> str:
|
|
360
|
+
"""Return a human-readable string describing the provenance status."""
|
|
361
|
+
base = _PROVENANCE_COPY.get(status, f"Provenance status: {status}.")
|
|
362
|
+
return f"{base} ({ecosystem}/{package})"
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
def provenance_overrides_hard_risk(
|
|
366
|
+
*,
|
|
367
|
+
decision: str,
|
|
368
|
+
block_reason_code: str,
|
|
369
|
+
provenance_status: str,
|
|
370
|
+
) -> bool:
|
|
371
|
+
"""Return whether valid provenance can override the given decision/risk code.
|
|
372
|
+
|
|
373
|
+
Hard-risk decisions (known_malware, KEV, etc.) are never overridable by provenance.
|
|
374
|
+
Returns False for any hard-risk code regardless of provenance status.
|
|
375
|
+
"""
|
|
376
|
+
if block_reason_code in _HARD_RISK_CODES:
|
|
377
|
+
return False
|
|
378
|
+
if decision == "block":
|
|
379
|
+
return False
|
|
380
|
+
return provenance_status in {"verified", "attested"}
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
def _is_github_host_url(raw_url: str | None) -> bool:
|
|
384
|
+
if not raw_url:
|
|
385
|
+
return False
|
|
386
|
+
parsed = urllib.parse.urlparse(raw_url)
|
|
387
|
+
host = parsed.hostname
|
|
388
|
+
if host is None and raw_url.startswith("git@"):
|
|
389
|
+
host = raw_url.split("@", 1)[1].split(":", 1)[0]
|
|
390
|
+
if host is None:
|
|
391
|
+
return False
|
|
392
|
+
normalized = host.lower().rstrip(".")
|
|
393
|
+
return normalized == "github.com" or normalized.endswith(".github.com")
|