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.
Files changed (648) hide show
  1. {hol_guard-2.0.331 → hol_guard-2.0.332}/PKG-INFO +1 -1
  2. {hol_guard-2.0.331 → hol_guard-2.0.332}/pyproject.toml +1 -1
  3. {hol_guard-2.0.331 → hol_guard-2.0.332}/pyproject.toml.bak +1 -1
  4. hol_guard-2.0.332/src/codex_plugin_scanner/guard/provenance.py +393 -0
  5. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/version.py +1 -1
  6. hol_guard-2.0.332/tests/test_guard_provenance.py +414 -0
  7. {hol_guard-2.0.331 → hol_guard-2.0.332}/.clusterfuzzlite/Dockerfile +0 -0
  8. {hol_guard-2.0.331 → hol_guard-2.0.332}/.clusterfuzzlite/build.sh +0 -0
  9. {hol_guard-2.0.331 → hol_guard-2.0.332}/.clusterfuzzlite/project.yaml +0 -0
  10. {hol_guard-2.0.331 → hol_guard-2.0.332}/.clusterfuzzlite/requirements-atheris.txt +0 -0
  11. {hol_guard-2.0.331 → hol_guard-2.0.332}/.dockerignore +0 -0
  12. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/CODEOWNERS +0 -0
  13. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
  14. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  15. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/ISSUE_TEMPLATE/feature-request.yml +0 -0
  16. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/dependabot.yml +0 -0
  17. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/ci.yml +0 -0
  18. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/codeql.yml +0 -0
  19. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/dependabot-uv-lock.yml +0 -0
  20. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/fuzz.yml +0 -0
  21. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/harness-smoke.yml +0 -0
  22. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/publish.yml +0 -0
  23. {hol_guard-2.0.331 → hol_guard-2.0.332}/.github/workflows/scorecard.yml +0 -0
  24. {hol_guard-2.0.331 → hol_guard-2.0.332}/.gitignore +0 -0
  25. {hol_guard-2.0.331 → hol_guard-2.0.332}/.pre-commit-hooks.yaml +0 -0
  26. {hol_guard-2.0.331 → hol_guard-2.0.332}/CONTRIBUTING.md +0 -0
  27. {hol_guard-2.0.331 → hol_guard-2.0.332}/Dockerfile +0 -0
  28. {hol_guard-2.0.331 → hol_guard-2.0.332}/LICENSE +0 -0
  29. {hol_guard-2.0.331 → hol_guard-2.0.332}/PRODUCT.md +0 -0
  30. {hol_guard-2.0.331 → hol_guard-2.0.332}/README.md +0 -0
  31. {hol_guard-2.0.331 → hol_guard-2.0.332}/SECURITY.md +0 -0
  32. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/index.html +0 -0
  33. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/package.json +0 -0
  34. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/pnpm-lock.yaml +0 -0
  35. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/apple-touch-icon.png +0 -0
  36. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/brand/Logo_Icon_Dark.png +0 -0
  37. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/brand/Logo_Whole.png +0 -0
  38. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/favicon-16x16.png +0 -0
  39. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/favicon-32x32.png +0 -0
  40. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/public/favicon.ico +0 -0
  41. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/app-detail-phase11.test.ts +0 -0
  42. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/app-detail-workspace.test.ts +0 -0
  43. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/app-routing.test.ts +0 -0
  44. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/app.tsx +0 -0
  45. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-layout.test.ts +0 -0
  46. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-layout.tsx +0 -0
  47. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-mobile.test.ts +0 -0
  48. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-primitives.tsx +0 -0
  49. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-review-cards.tsx +0 -0
  50. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-center-utils.ts +0 -0
  51. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-gate-utils.ts +0 -0
  52. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-gate.test.ts +0 -0
  53. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-scopes.test.ts +0 -0
  54. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/approval-scopes.ts +0 -0
  55. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/apps/app-catalog.ts +0 -0
  56. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/apps/app-detail-workspace.tsx +0 -0
  57. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/clear-policy-payload.test.ts +0 -0
  58. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/clear-policy-payload.ts +0 -0
  59. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/compare-time-periods.tsx +0 -0
  60. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/data-flow-evidence-card.tsx +0 -0
  61. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/error-boundary.tsx +0 -0
  62. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/app-tab.tsx +0 -0
  63. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/categories.tsx +0 -0
  64. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/category-tab.tsx +0 -0
  65. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-action-detail.tsx +0 -0
  66. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-action-list.tsx +0 -0
  67. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-analytics-panel.tsx +0 -0
  68. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-clear-modal.tsx +0 -0
  69. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-copy.test.ts +0 -0
  70. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-detail.test.ts +0 -0
  71. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-export-drawer.tsx +0 -0
  72. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-export.test.ts +0 -0
  73. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-export.ts +0 -0
  74. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-filter-bar.tsx +0 -0
  75. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-filters.test.ts +0 -0
  76. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-filters.ts +0 -0
  77. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-insight-strip.tsx +0 -0
  78. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-metrics.test.ts +0 -0
  79. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-metrics.ts +0 -0
  80. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-pagination.test.ts +0 -0
  81. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-pagination.ts +0 -0
  82. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-perf.test.ts +0 -0
  83. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-period.ts +0 -0
  84. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-sort.test.ts +0 -0
  85. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-sort.ts +0 -0
  86. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-story.test.ts +0 -0
  87. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-types.ts +0 -0
  88. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-url-state.test.ts +0 -0
  89. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-url-state.ts +0 -0
  90. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/evidence-view-shell.tsx +0 -0
  91. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/explore-tab.tsx +0 -0
  92. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/index.ts +0 -0
  93. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/plain-english.ts +0 -0
  94. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/evidence/story-tab.tsx +0 -0
  95. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/fleet-workspace-phase11.test.ts +0 -0
  96. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/fleet-workspace.test.ts +0 -0
  97. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/fleet-workspace.tsx +0 -0
  98. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/guard-api.test.ts +0 -0
  99. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/guard-api.ts +0 -0
  100. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/guard-demo.ts +0 -0
  101. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/guard-types.ts +0 -0
  102. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/help-modal.tsx +0 -0
  103. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/history-analytics.tsx +0 -0
  104. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/history-charts.tsx +0 -0
  105. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/history-export.ts +0 -0
  106. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/home-dashboard.test.ts +0 -0
  107. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/home-dashboard.tsx +0 -0
  108. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/main.tsx +0 -0
  109. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/phase09-review.test.ts +0 -0
  110. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/queue-chip-filter.tsx +0 -0
  111. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/queue-state.test.ts +0 -0
  112. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/queue-state.ts +0 -0
  113. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/receipts-workspace.test.ts +0 -0
  114. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/receipts-workspace.tsx +0 -0
  115. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/review-workspace.tsx +0 -0
  116. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/risk-signal-cards.test.ts +0 -0
  117. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/risk-signal-cards.tsx +0 -0
  118. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/runtime-overview.test.ts +0 -0
  119. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/runtime-overview.tsx +0 -0
  120. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/scanner-evidence-badge.tsx +0 -0
  121. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/security-fixes.test.ts +0 -0
  122. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/settings-workspace-phase11.test.ts +0 -0
  123. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/settings-workspace.test.ts +0 -0
  124. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/settings-workspace.tsx +0 -0
  125. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/styles.css +0 -0
  126. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/totp-enrollment-qr-panel.tsx +0 -0
  127. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/use-debounce.ts +0 -0
  128. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/use-focus-trap.ts +0 -0
  129. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/use-keyboard-shortcut.ts +0 -0
  130. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/use-reduced-motion.ts +0 -0
  131. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/use-route-focus.ts +0 -0
  132. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/vite-env.d.ts +0 -0
  133. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/src/watched-app-card.tsx +0 -0
  134. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/tsconfig.json +0 -0
  135. {hol_guard-2.0.331 → hol_guard-2.0.332}/dashboard/vite.config.ts +0 -0
  136. {hol_guard-2.0.331 → hol_guard-2.0.332}/docker-requirements.txt +0 -0
  137. {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/architecture.md +0 -0
  138. {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/get-started.md +0 -0
  139. {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/harness-support.md +0 -0
  140. {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/local-vs-cloud.md +0 -0
  141. {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/release-checklist.md +0 -0
  142. {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/smoke-tests.md +0 -0
  143. {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/guard/testing-matrix.md +0 -0
  144. {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/trust/mcp-trust-draft.md +0 -0
  145. {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/trust/plugin-trust-draft.md +0 -0
  146. {hol_guard-2.0.331 → hol_guard-2.0.332}/docs/trust/skill-trust-local.md +0 -0
  147. {hol_guard-2.0.331 → hol_guard-2.0.332}/fuzzers/manifest_fuzzer.py +0 -0
  148. {hol_guard-2.0.331 → hol_guard-2.0.332}/requirements.txt +0 -0
  149. {hol_guard-2.0.331 → hol_guard-2.0.332}/schemas/plugin-quality.v1.json +0 -0
  150. {hol_guard-2.0.331 → hol_guard-2.0.332}/schemas/scan-result.v1.json +0 -0
  151. {hol_guard-2.0.331 → hol_guard-2.0.332}/schemas/verify-result.v1.json +0 -0
  152. {hol_guard-2.0.331 → hol_guard-2.0.332}/scripts/codex-auto-resume-smoke.py +0 -0
  153. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/__init__.py +0 -0
  154. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/action_runner.py +0 -0
  155. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/argparse_utils.py +0 -0
  156. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/__init__.py +0 -0
  157. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/best_practices.py +0 -0
  158. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/claude.py +0 -0
  159. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/code_quality.py +0 -0
  160. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/ecosystem_common.py +0 -0
  161. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/gemini.py +0 -0
  162. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/manifest.py +0 -0
  163. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/manifest_support.py +0 -0
  164. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/marketplace.py +0 -0
  165. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/mcp_security.py +0 -0
  166. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/opencode.py +0 -0
  167. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/operational_security.py +0 -0
  168. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/security.py +0 -0
  169. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/checks/skill_security.py +0 -0
  170. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/cli.py +0 -0
  171. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/cli_ui.py +0 -0
  172. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/config.py +0 -0
  173. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/__init__.py +0 -0
  174. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/base.py +0 -0
  175. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/claude.py +0 -0
  176. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/codex.py +0 -0
  177. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/detect.py +0 -0
  178. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/gemini.py +0 -0
  179. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/opencode.py +0 -0
  180. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/registry.py +0 -0
  181. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/ecosystems/types.py +0 -0
  182. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/github_reporting.py +0 -0
  183. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/__init__.py +0 -0
  184. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/access_graph_events.py +0 -0
  185. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/__init__.py +0 -0
  186. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/antigravity.py +0 -0
  187. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/base.py +0 -0
  188. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/claude_code.py +0 -0
  189. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/cloud_identity.py +0 -0
  190. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/codex.py +0 -0
  191. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/contracts.py +0 -0
  192. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/copilot.py +0 -0
  193. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/cursor.py +0 -0
  194. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/gemini.py +0 -0
  195. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/hermes.py +0 -0
  196. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/mcp_servers.py +0 -0
  197. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/openclaw.py +0 -0
  198. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/openclaw_config.py +0 -0
  199. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/openclaw_support.py +0 -0
  200. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/opencode.py +0 -0
  201. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/adapters/opencode_artifacts.py +0 -0
  202. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/advisory_model.py +0 -0
  203. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/approval_gate.py +0 -0
  204. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/approval_gate_state.py +0 -0
  205. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/approvals.py +0 -0
  206. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/bridge/__init__.py +0 -0
  207. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/capabilities.py +0 -0
  208. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/__init__.py +0 -0
  209. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/approval_commands.py +0 -0
  210. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/approval_gate_prompt.py +0 -0
  211. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/bootstrap.py +0 -0
  212. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/commands.py +0 -0
  213. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/connect_flow.py +0 -0
  214. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/docs.py +0 -0
  215. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/install_commands.py +0 -0
  216. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/product.py +0 -0
  217. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/prompt.py +0 -0
  218. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/render.py +0 -0
  219. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/cli/update_commands.py +0 -0
  220. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/codex_app_server.py +0 -0
  221. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/codex_config.py +0 -0
  222. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/codex_resume.py +0 -0
  223. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/config.py +0 -0
  224. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/consumer/__init__.py +0 -0
  225. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/consumer/service.py +0 -0
  226. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/__init__.py +0 -0
  227. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/client.py +0 -0
  228. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/manager.py +0 -0
  229. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/server.py +0 -0
  230. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/apple-touch-icon.png +0 -0
  231. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/app-catalog.js +0 -0
  232. {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
  233. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/fleet-workspace.js +0 -0
  234. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/help-modal.js +0 -0
  235. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/home-dashboard.js +0 -0
  236. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/runtime-overview.js +0 -0
  237. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/chunks/settings-workspace.js +0 -0
  238. {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
  239. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/guard-dashboard.js +0 -0
  240. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/assets/index.css +0 -0
  241. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/brand/Logo_Icon_Dark.png +0 -0
  242. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/brand/Logo_Whole.png +0 -0
  243. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/favicon-16x16.png +0 -0
  244. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/favicon-32x32.png +0 -0
  245. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/favicon.ico +0 -0
  246. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/daemon/static/index.html +0 -0
  247. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/desktop_notifications.py +0 -0
  248. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/edge_events.py +0 -0
  249. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/harness_usage.py +0 -0
  250. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/incident.py +0 -0
  251. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/insights.py +0 -0
  252. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/inventory_cisco.py +0 -0
  253. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/inventory_contract.py +0 -0
  254. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/launcher.py +0 -0
  255. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/local_supply_chain.py +0 -0
  256. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/mcp_tool_calls.py +0 -0
  257. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/models.py +0 -0
  258. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/policy/__init__.py +0 -0
  259. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/policy/engine.py +0 -0
  260. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/product_model.py +0 -0
  261. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/protect.py +0 -0
  262. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/proxy/__init__.py +0 -0
  263. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/proxy/remote.py +0 -0
  264. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/proxy/runtime_mcp.py +0 -0
  265. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/proxy/stdio.py +0 -0
  266. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/receipts/__init__.py +0 -0
  267. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/receipts/manager.py +0 -0
  268. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/redaction.py +0 -0
  269. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/risk.py +0 -0
  270. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/__init__.py +0 -0
  271. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/action_identity.py +0 -0
  272. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/actions.py +0 -0
  273. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/advisory_escalation.py +0 -0
  274. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/advisory_matchers.py +0 -0
  275. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/cisco_evidence.py +0 -0
  276. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/cisco_preflight.py +0 -0
  277. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/composition_rules.py +0 -0
  278. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/data_flow.py +0 -0
  279. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/data_flow_rules.py +0 -0
  280. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/data_flow_variables.py +0 -0
  281. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/decisions.py +0 -0
  282. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/detectors.py +0 -0
  283. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/false_positive_rules.py +0 -0
  284. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/js_semver.py +0 -0
  285. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/mcp_protection.py +0 -0
  286. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/package_intent.py +0 -0
  287. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/package_intent_common.py +0 -0
  288. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/package_intent_parser.py +0 -0
  289. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/package_manifest_diff.py +0 -0
  290. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/persistence_rules.py +0 -0
  291. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/prompt_injection.py +0 -0
  292. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/runner.py +0 -0
  293. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/safe_decode.py +0 -0
  294. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/sandbox.py +0 -0
  295. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/scanner_cache.py +0 -0
  296. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/secret_file_requests.py +0 -0
  297. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/secret_sensitivity.py +0 -0
  298. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/secret_sources.py +0 -0
  299. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/sed_scripts.py +0 -0
  300. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/shell_commands.py +0 -0
  301. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/signals.py +0 -0
  302. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/skill_protection.py +0 -0
  303. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain.py +0 -0
  304. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_bundle.py +0 -0
  305. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_bundle_base.py +0 -0
  306. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_bundle_models.py +0 -0
  307. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_bundle_runtime.py +0 -0
  308. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_package_eval.py +0 -0
  309. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/supply_chain_support.py +0 -0
  310. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/surface_server.py +0 -0
  311. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/temp_files.py +0 -0
  312. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/runtime/threat_intel.py +0 -0
  313. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/schemas/__init__.py +0 -0
  314. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/schemas/consumer_mode.py +0 -0
  315. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/schemas/guard_event_v1.py +0 -0
  316. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/schemas/guard_product_model_v1.json +0 -0
  317. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/schemas/surface_server.py +0 -0
  318. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/shims.py +0 -0
  319. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store.py +0 -0
  320. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_approvals.py +0 -0
  321. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_connect.py +0 -0
  322. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_evidence.py +0 -0
  323. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_resume.py +0 -0
  324. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_supply_chain.py +0 -0
  325. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/store_threat_intel.py +0 -0
  326. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/totp.py +0 -0
  327. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/guard/types.py +0 -0
  328. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/integrations/__init__.py +0 -0
  329. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/integrations/cisco_mcp_scanner.py +0 -0
  330. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/integrations/cisco_skill_scanner.py +0 -0
  331. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/lint_fixes.py +0 -0
  332. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/marketplace_support.py +0 -0
  333. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/models.py +0 -0
  334. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/path_support.py +0 -0
  335. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/policy.py +0 -0
  336. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/quality_artifact.py +0 -0
  337. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/repo_detect.py +0 -0
  338. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/reporting.py +0 -0
  339. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/rules/__init__.py +0 -0
  340. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/rules/registry.py +0 -0
  341. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/rules/specs.py +0 -0
  342. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/scanner.py +0 -0
  343. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/submission.py +0 -0
  344. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/suppressions.py +0 -0
  345. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_domain_scoring.py +0 -0
  346. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_helpers.py +0 -0
  347. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_mcp_scoring.py +0 -0
  348. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_models.py +0 -0
  349. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_plugin_scoring.py +0 -0
  350. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_scoring.py +0 -0
  351. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_skill_scoring.py +0 -0
  352. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/trust_specs.py +0 -0
  353. {hol_guard-2.0.331 → hol_guard-2.0.332}/src/codex_plugin_scanner/verification.py +0 -0
  354. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/__init__.py +0 -0
  355. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/conftest.py +0 -0
  356. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/__init__.py +0 -0
  357. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/bad-plugin/.codex-plugin/plugin.json +0 -0
  358. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/bad-plugin/.mcp.json +0 -0
  359. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/bad-plugin/secrets.js +0 -0
  360. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/.claude-plugin/plugin.json +0 -0
  361. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/LICENSE +0 -0
  362. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/README.md +0 -0
  363. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/SECURITY.md +0 -0
  364. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/hooks/hooks.json +0 -0
  365. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/claude-plugin-good/skills/example/SKILL.md +0 -0
  366. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/code-quality-bad/evil.js +0 -0
  367. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/code-quality-bad/inject.js +0 -0
  368. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/GEMINI.md +0 -0
  369. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/LICENSE +0 -0
  370. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/README.md +0 -0
  371. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/SECURITY.md +0 -0
  372. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/commands/hello.toml +0 -0
  373. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/gemini-extension-good/gemini-extension.json +0 -0
  374. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/.codex-plugin/plugin.json +0 -0
  375. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/.codexignore +0 -0
  376. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/LICENSE +0 -0
  377. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/README.md +0 -0
  378. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/SECURITY.md +0 -0
  379. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/assets/icon.svg +0 -0
  380. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/assets/logo.svg +0 -0
  381. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/assets/screenshot.svg +0 -0
  382. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/good-plugin/skills/example/SKILL.md +0 -0
  383. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-codex-malicious-mcp/.codex/config.toml +0 -0
  384. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/README.md +0 -0
  385. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/benign-docs-fake-token.py +0 -0
  386. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/benign-health-endpoint.py +0 -0
  387. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/benign-nvmrc-fake-creds.py +0 -0
  388. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/benign-source-search.py +0 -0
  389. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/canary-exfil-encoded.py +0 -0
  390. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/canary-exfil.py +0 -0
  391. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/expected-decisions.json +0 -0
  392. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-dockerfile.txt +0 -0
  393. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-encoded-shell-exfil.py +0 -0
  394. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-github-action.yml +0 -0
  395. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-mcp-delete.md +0 -0
  396. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-mcp-secret-read.md +0 -0
  397. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-mcp-skill-exfil.md +0 -0
  398. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-npm-postinstall.js +0 -0
  399. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-prompt-env-read.md +0 -0
  400. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-prompt-guard-bypass.md +0 -0
  401. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-prompt-npmrc-read.md +0 -0
  402. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/malicious-python-setup.py +0 -0
  403. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/guard-red-team/smoke-evidence-template.json +0 -0
  404. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/config.yaml +0 -0
  405. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/mcp_servers.json +0 -0
  406. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/skills/security/malicious/SKILL.md +0 -0
  407. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/skills/stealth/sneaky/SKILL.md +0 -0
  408. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/skills/stealth/sneaky/references/api-setup.md +0 -0
  409. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/skills/stealth/sneaky/scripts/deploy.sh +0 -0
  410. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/hermes-plugin-evil/skills/utils/benign/SKILL.md +0 -0
  411. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malformed-json/.codex-plugin/plugin.json +0 -0
  412. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/.codex-plugin/plugin.json +0 -0
  413. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/.codexignore +0 -0
  414. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/LICENSE +0 -0
  415. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/README.md +0 -0
  416. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/SECURITY.md +0 -0
  417. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/malicious-skill-plugin/skills/leaky-skill/SKILL.md +0 -0
  418. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/mcp-canary-server.py +0 -0
  419. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/minimal-plugin/.codex-plugin/plugin.json +0 -0
  420. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/missing-fields/.codex-plugin/plugin.json +0 -0
  421. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/mit-license/LICENSE +0 -0
  422. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/codex-plugin/.codex-plugin/plugin.json +0 -0
  423. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/codex-plugin/LICENSE +0 -0
  424. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/codex-plugin/README.md +0 -0
  425. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/codex-plugin/SECURITY.md +0 -0
  426. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/gemini-ext/README.md +0 -0
  427. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-ecosystem-repo/gemini-ext/gemini-extension.json +0 -0
  428. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/.agents/plugins/marketplace.json +0 -0
  429. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/.codex-plugin/plugin.json +0 -0
  430. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/.codexignore +0 -0
  431. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/LICENSE +0 -0
  432. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/README.md +0 -0
  433. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/SECURITY.md +0 -0
  434. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/alpha-plugin/skills/example/SKILL.md +0 -0
  435. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/beta-plugin/.codex-plugin/plugin.json +0 -0
  436. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/multi-plugin-repo/plugins/beta-plugin/skills/example/SKILL.md +0 -0
  437. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/no-version/.codex-plugin/plugin.json +0 -0
  438. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/.opencode/commands/hello.md +0 -0
  439. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/.opencode/plugins/example.ts +0 -0
  440. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/LICENSE +0 -0
  441. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/README.md +0 -0
  442. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/SECURITY.md +0 -0
  443. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/opencode-good/opencode.jsonc +0 -0
  444. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/skills-missing-dir/.codex-plugin/plugin.json +0 -0
  445. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/skills-no-frontmatter/.codex-plugin/plugin.json +0 -0
  446. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/skills-no-frontmatter/skills/bad-skill/SKILL.md +0 -0
  447. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/benign-npm-controls-package.json +0 -0
  448. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/benign-npm-package.json +0 -0
  449. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/benign-pnpm-package.json +0 -0
  450. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/benign-pyproject.toml +0 -0
  451. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/critical-base-image-Dockerfile +0 -0
  452. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-Dockerfile +0 -0
  453. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-action.yml +0 -0
  454. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-npm-env-fs-network-package.json +0 -0
  455. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-npm-obfuscated-package.json +0 -0
  456. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-npm-package.json +0 -0
  457. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/supply-chain/malicious-setup.py +0 -0
  458. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/cargo-safe/Cargo.lock +0 -0
  459. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/cargo-safe/Cargo.toml +0 -0
  460. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/cargo-vulnerable/Cargo.lock +0 -0
  461. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/cargo-vulnerable/Cargo.toml +0 -0
  462. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/composer-safe/composer.json +0 -0
  463. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/composer-safe/composer.lock +0 -0
  464. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/composer-vulnerable/composer.json +0 -0
  465. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/composer-vulnerable/composer.lock +0 -0
  466. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/go-safe/go.mod +0 -0
  467. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/go-vulnerable/go.mod +0 -0
  468. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/gradle-safe/build.gradle +0 -0
  469. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/gradle-safe/gradle.lockfile +0 -0
  470. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/gradle-vulnerable/build.gradle +0 -0
  471. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/gradle-vulnerable/gradle.lockfile +0 -0
  472. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/maven-safe/pom.xml +0 -0
  473. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/maven-vulnerable/pom.xml +0 -0
  474. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/rubygems-safe/Gemfile +0 -0
  475. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/rubygems-safe/Gemfile.lock +0 -0
  476. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/rubygems-vulnerable/Gemfile +0 -0
  477. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/tier2/rubygems-vulnerable/Gemfile.lock +0 -0
  478. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/with-marketplace/.codex-plugin/plugin.json +0 -0
  479. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/with-marketplace/marketplace-broken.json +0 -0
  480. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/fixtures/with-marketplace/marketplace.json +0 -0
  481. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/guard_python_phase12_support.py +0 -0
  482. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/guard_tier2_phase13_support.py +0 -0
  483. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test-trust-scoring.py +0 -0
  484. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test-trust-specs.py +0 -0
  485. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_action_runner.py +0 -0
  486. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_best_practices.py +0 -0
  487. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_cisco_install_surfaces.py +0 -0
  488. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_cli.py +0 -0
  489. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_code_quality.py +0 -0
  490. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_config.py +0 -0
  491. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_coverage_remaining.py +0 -0
  492. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_cursor_adapter.py +0 -0
  493. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_ecosystems.py +0 -0
  494. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_edge_cases.py +0 -0
  495. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_final_coverage.py +0 -0
  496. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_gemini_adapter.py +0 -0
  497. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_access_graph.py +0 -0
  498. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_action_identity.py +0 -0
  499. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_advisory_escalation.py +0 -0
  500. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_continuity.py +0 -0
  501. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_copy_commands.py +0 -0
  502. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_decisions.py +0 -0
  503. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_gate.py +0 -0
  504. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_store_dedup.py +0 -0
  505. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_store_phase14.py +0 -0
  506. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approval_store_scale.py +0 -0
  507. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_approvals.py +0 -0
  508. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_bootstrap.py +0 -0
  509. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_bypass_detector.py +0 -0
  510. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_canary_fixtures.py +0 -0
  511. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_capabilities.py +0 -0
  512. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_cisco_evidence.py +0 -0
  513. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_cisco_runtime_cli.py +0 -0
  514. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_claude_adapter.py +0 -0
  515. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_cli.py +0 -0
  516. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_cloud_local_sync.py +0 -0
  517. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_auto_resume_smoke.py +0 -0
  518. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_e2e.py +0 -0
  519. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_install.py +0 -0
  520. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_proxy.py +0 -0
  521. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_resume_commands.py +0 -0
  522. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_codex_resume_endpoints.py +0 -0
  523. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_config_paths.py +0 -0
  524. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_connect_flow.py +0 -0
  525. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_consumer_mode.py +0 -0
  526. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_copilot_adapter.py +0 -0
  527. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_copilot_proxy.py +0 -0
  528. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_cli.py +0 -0
  529. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_manager.py +0 -0
  530. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_perf.py +0 -0
  531. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_registry.py +0 -0
  532. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_repair_perf.py +0 -0
  533. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_daemon_wake.py +0 -0
  534. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_data_flow.py +0 -0
  535. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_decision_propagation.py +0 -0
  536. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_desktop_notifications.py +0 -0
  537. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_detector_fp.py +0 -0
  538. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_docs.py +0 -0
  539. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_event_schema_v1.py +0 -0
  540. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_events.py +0 -0
  541. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_evidence_api_contract.py +0 -0
  542. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_evidence_store.py +0 -0
  543. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_harness_contracts.py +0 -0
  544. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_harness_setup.py +0 -0
  545. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_harness_smoke.py +0 -0
  546. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_hashnet_mcp_canaries.py +0 -0
  547. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_headless_daemon_api.py +0 -0
  548. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_insights.py +0 -0
  549. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_inventory_cisco.py +0 -0
  550. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_inventory_contract.py +0 -0
  551. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_lab_phase11.py +0 -0
  552. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_lockfile_resolution_phase11.py +0 -0
  553. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_package_hook_phase11.py +0 -0
  554. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_package_intent_phase11.py +0 -0
  555. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_semver_phase11.py +0 -0
  556. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_js_supply_chain_phase11.py +0 -0
  557. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_launch_env.py +0 -0
  558. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_local_supply_chain_audit_phase16.py +0 -0
  559. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_local_supply_chain_phase15.py +0 -0
  560. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_mcp_detectors.py +0 -0
  561. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_mcp_package_proxy_phase14.py +0 -0
  562. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_mcp_protection.py +0 -0
  563. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_opencode_proxy.py +0 -0
  564. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_package_hook.py +0 -0
  565. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_package_hook_phase14.py +0 -0
  566. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_package_intent.py +0 -0
  567. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_package_resume_phase14.py +0 -0
  568. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_package_shims.py +0 -0
  569. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase03_local_install.py +0 -0
  570. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase03_remainder.py +0 -0
  571. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase04_failure_modes.py +0 -0
  572. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase04_harness_contracts.py +0 -0
  573. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase04_harness_ux.py +0 -0
  574. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase05_approval_memory.py +0 -0
  575. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_phase07_harness_coverage_matrix.py +0 -0
  576. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_policy_dedup.py +0 -0
  577. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_product_flow.py +0 -0
  578. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_product_model_contracts.py +0 -0
  579. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_prompt_injection.py +0 -0
  580. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_protect.py +0 -0
  581. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_python_lab_phase12.py +0 -0
  582. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_python_package_hook_phase12.py +0 -0
  583. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_python_package_intent_phase12.py +0 -0
  584. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_python_supply_chain_heuristics_phase12.py +0 -0
  585. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_python_supply_chain_phase12.py +0 -0
  586. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_queue_api_contract.py +0 -0
  587. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_queue_contract.py +0 -0
  588. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_receipt_p5_fields.py +0 -0
  589. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_receipt_persistence.py +0 -0
  590. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_red_team.py +0 -0
  591. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_red_team_e2e.py +0 -0
  592. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_redaction.py +0 -0
  593. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_registry_broker_skills_canaries.py +0 -0
  594. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_render.py +0 -0
  595. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_resolution_copy.py +0 -0
  596. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_risk.py +0 -0
  597. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime.py +0 -0
  598. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_action_harnesses.py +0 -0
  599. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_actions.py +0 -0
  600. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_actions_phase14.py +0 -0
  601. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_decisions.py +0 -0
  602. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_detectors.py +0 -0
  603. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_runtime_signals.py +0 -0
  604. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_safe_decode.py +0 -0
  605. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_sandbox.py +0 -0
  606. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_settings_api.py +0 -0
  607. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_settings_presets.py +0 -0
  608. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_shim_truth.py +0 -0
  609. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_skill_protection.py +0 -0
  610. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_skill_protection_phase14.py +0 -0
  611. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_store_migrations.py +0 -0
  612. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_supply_chain.py +0 -0
  613. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_supply_chain_bundle.py +0 -0
  614. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_supply_chain_daemon.py +0 -0
  615. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_supply_chain_evaluator.py +0 -0
  616. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_supply_chain_sync.py +0 -0
  617. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_surface_server.py +0 -0
  618. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_threat_intel.py +0 -0
  619. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_tier2_labs_phase13.py +0 -0
  620. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_tier2_package_intent_phase13.py +0 -0
  621. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_tier2_supply_chain_phase13.py +0 -0
  622. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_verdicts.py +0 -0
  623. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_web_recovery.py +0 -0
  624. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_guard_wrapper_flows.py +0 -0
  625. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_hermes_adapter.py +0 -0
  626. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_integration.py +0 -0
  627. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_lint_fixes.py +0 -0
  628. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_live_cisco_smoke.py +0 -0
  629. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_manifest.py +0 -0
  630. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_marketplace.py +0 -0
  631. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_mcp_security.py +0 -0
  632. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_openclaw_adapter.py +0 -0
  633. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_opencode_adapter.py +0 -0
  634. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_operational_security.py +0 -0
  635. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_policy.py +0 -0
  636. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_quality_artifact.py +0 -0
  637. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_rule_registry.py +0 -0
  638. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_scanner.py +0 -0
  639. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_schema_contracts.py +0 -0
  640. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_security.py +0 -0
  641. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_security_ops.py +0 -0
  642. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_skill_security.py +0 -0
  643. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_submission.py +0 -0
  644. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_trust_scoring.py +0 -0
  645. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_trust_specs.py +0 -0
  646. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_verification.py +0 -0
  647. {hol_guard-2.0.331 → hol_guard-2.0.332}/tests/test_versioning.py +0 -0
  648. {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.331
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.331"
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.331"
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")
@@ -1,3 +1,3 @@
1
1
  """Single source of truth for tool version."""
2
2
 
3
- __version__ = "2.0.331"
3
+ __version__ = "2.0.332"