@marinjursic/prc-linux-arm64 0.1.0

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 (264) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +3 -0
  3. package/bin/LICENSE +21 -0
  4. package/bin/README.md +335 -0
  5. package/bin/THIRD_PARTY_NOTICES.md +74 -0
  6. package/bin/adapters/checkov-v3.3.8.yaml +50 -0
  7. package/bin/adapters/gitleaks-v8.30.0.yaml +63 -0
  8. package/bin/adapters/grype-v0.116.1.yaml +58 -0
  9. package/bin/adapters/syft-v1.51.0.yaml +54 -0
  10. package/bin/catalog/assertions/core-repository.yaml +625 -0
  11. package/bin/catalog/assertions/iac.yaml +24 -0
  12. package/bin/catalog/assertions/supply-chain.yaml +45 -0
  13. package/bin/catalog/control-contracts.json +1 -0
  14. package/bin/catalog/control-id-registry.json +110470 -0
  15. package/bin/catalog/objectives/core-repository.yaml +243 -0
  16. package/bin/catalog/objectives/iac.yaml +13 -0
  17. package/bin/catalog/objectives/supply-chain.yaml +13 -0
  18. package/bin/catalog/profiles/api.yaml +12 -0
  19. package/bin/catalog/profiles/core-repository.yaml +49 -0
  20. package/bin/catalog/profiles/iac.yaml +18 -0
  21. package/bin/catalog/profiles/kubernetes.yaml +15 -0
  22. package/bin/catalog/profiles/quick.yaml +27 -0
  23. package/bin/catalog/profiles/supply-chain.yaml +20 -0
  24. package/bin/docs/architecture/adapters.md +380 -0
  25. package/bin/docs/architecture/agent-providers.md +188 -0
  26. package/bin/docs/architecture/applicability.md +80 -0
  27. package/bin/docs/architecture/catalog-integrity.md +85 -0
  28. package/bin/docs/architecture/evidence-and-results.md +154 -0
  29. package/bin/docs/architecture/execution-plans.md +61 -0
  30. package/bin/docs/architecture/product-contract.md +76 -0
  31. package/bin/docs/architecture/publisher-trust.md +68 -0
  32. package/bin/docs/architecture/remediation-contract.md +113 -0
  33. package/bin/docs/architecture/trust-model.md +95 -0
  34. package/bin/docs/assets/hero.svg +37 -0
  35. package/bin/docs/assets/logo.svg +13 -0
  36. package/bin/docs/assets/production-readiness-scan-demo-poster.png +0 -0
  37. package/bin/docs/assets/production-readiness-scan-demo.gif +0 -0
  38. package/bin/docs/assets/production-readiness-scan-demo.mp4 +0 -0
  39. package/bin/docs/assets/social-card.png +0 -0
  40. package/bin/docs/assets/social-card.svg +40 -0
  41. package/bin/docs/checklists/00-readiness-principle.md +17 -0
  42. package/bin/docs/checklists/01-release-foundations.md +91 -0
  43. package/bin/docs/checklists/02-product-risk-architecture.md +136 -0
  44. package/bin/docs/checklists/03-source-build-supply-chain.md +97 -0
  45. package/bin/docs/checklists/04-environments-quality-experience.md +226 -0
  46. package/bin/docs/checklists/05-application-security.md +320 -0
  47. package/bin/docs/checklists/06-data-privacy-performance.md +166 -0
  48. package/bin/docs/checklists/07-reliability-operations.md +355 -0
  49. package/bin/docs/checklists/08-maintenance-vendors-compliance.md +112 -0
  50. package/bin/docs/checklists/09-conditional-modules.md +229 -0
  51. package/bin/docs/checklists/10-evidence-and-decision.md +111 -0
  52. package/bin/docs/engineering/00-overview.md +51 -0
  53. package/bin/docs/engineering/01-governance-and-foundations.md +919 -0
  54. package/bin/docs/engineering/02-product-and-requirements.md +186 -0
  55. package/bin/docs/engineering/03-user-experience-web-and-content.md +1352 -0
  56. package/bin/docs/engineering/04-architecture-and-design.md +387 -0
  57. package/bin/docs/engineering/05-code-quality-and-implementation.md +1103 -0
  58. package/bin/docs/engineering/06-application-services-and-apis.md +476 -0
  59. package/bin/docs/engineering/07-data-and-information-lifecycle.md +1009 -0
  60. package/bin/docs/engineering/08-security-and-cryptography.md +1215 -0
  61. package/bin/docs/engineering/09-privacy-and-data-protection.md +205 -0
  62. package/bin/docs/engineering/10-verification-and-testing.md +841 -0
  63. package/bin/docs/engineering/11-developer-experience-platform-and-delivery.md +1013 -0
  64. package/bin/docs/engineering/12-operations-sre-and-support.md +795 -0
  65. package/bin/docs/engineering/13-documentation-and-knowledge.md +349 -0
  66. package/bin/docs/engineering/14-trust-safety-and-ecosystems.md +330 -0
  67. package/bin/docs/engineering/15-ai-ml-and-ai-assisted-development.md +785 -0
  68. package/bin/docs/engineering/16-specialized-domains-and-release-assurance.md +775 -0
  69. package/bin/docs/engineering/source-manifest.md +479 -0
  70. package/bin/docs/guides/ai-assisted-review.md +61 -0
  71. package/bin/docs/guides/getting-started.md +78 -0
  72. package/bin/docs/index.md +66 -0
  73. package/bin/docs/prompts/evidence-challenge.md +26 -0
  74. package/bin/docs/prompts/full-readiness-review.md +34 -0
  75. package/bin/docs/prompts/release-diff-review.md +31 -0
  76. package/bin/docs/records/evidence-record.md +42 -0
  77. package/bin/docs/records/go-no-go-decision.md +63 -0
  78. package/bin/docs/records/release-assessment.md +124 -0
  79. package/bin/docs/records/risk-exception.md +64 -0
  80. package/bin/docs/references.md +52 -0
  81. package/bin/docs/scanner/ai-control-review.md +208 -0
  82. package/bin/docs/scanner/benchmarks.md +122 -0
  83. package/bin/docs/scanner/cli-contract.md +130 -0
  84. package/bin/docs/scanner/configuration.md +101 -0
  85. package/bin/docs/scanner/control-contracts.md +47 -0
  86. package/bin/docs/scanner/core-repository.md +62 -0
  87. package/bin/docs/scanner/diff-and-invalidation.md +79 -0
  88. package/bin/docs/scanner/doctor.md +71 -0
  89. package/bin/docs/scanner/getting-started.md +355 -0
  90. package/bin/docs/scanner/go-http-timeouts.md +96 -0
  91. package/bin/docs/scanner/infrastructure-policy.md +64 -0
  92. package/bin/docs/scanner/kubernetes-workloads.md +63 -0
  93. package/bin/docs/scanner/mcp-agent-integration.md +138 -0
  94. package/bin/docs/scanner/openapi-contracts.md +75 -0
  95. package/bin/docs/scanner/private-key-armor.md +44 -0
  96. package/bin/docs/scanner/releases.md +160 -0
  97. package/bin/docs/scanner/remediation.md +273 -0
  98. package/bin/docs/scanner/risk-exceptions.md +52 -0
  99. package/bin/docs/scanner/security-walkthrough.md +236 -0
  100. package/bin/docs/scanner/state-and-history.md +113 -0
  101. package/bin/docs/scanner/supply-chain.md +132 -0
  102. package/bin/docs/scanner/test-discovery.md +60 -0
  103. package/bin/docs/stylesheets/extra.css +183 -0
  104. package/bin/fixtures/benchmarks/core-native/suite-comprehensive.yaml +302 -0
  105. package/bin/fixtures/benchmarks/core-native/suite.yaml +59 -0
  106. package/bin/fixtures/benchmarks/core-native/targets/baseline/README.md +3 -0
  107. package/bin/fixtures/benchmarks/core-native/targets/baseline/app.go +1 -0
  108. package/bin/fixtures/benchmarks/core-native/targets/conflict-template/app.js +5 -0
  109. package/bin/fixtures/benchmarks/core-native/targets/container-risky-template/Dockerfile +2 -0
  110. package/bin/fixtures/benchmarks/core-native/targets/container-valid/Dockerfile +2 -0
  111. package/bin/fixtures/benchmarks/core-native/targets/dependency-lock-missing/package.json +5 -0
  112. package/bin/fixtures/benchmarks/core-native/targets/dependency-lock-present/package-lock.json +6 -0
  113. package/bin/fixtures/benchmarks/core-native/targets/dependency-lock-present/package.json +5 -0
  114. package/bin/fixtures/benchmarks/core-native/targets/empty-manifest-template/package.json +1 -0
  115. package/bin/fixtures/benchmarks/core-native/targets/final-newline-template/app.py +1 -0
  116. package/bin/fixtures/benchmarks/core-native/targets/foundation-present/.github/CODEOWNERS +1 -0
  117. package/bin/fixtures/benchmarks/core-native/targets/foundation-present/.github/dependabot.yml +6 -0
  118. package/bin/fixtures/benchmarks/core-native/targets/foundation-present/.github/workflows/validate.yml +15 -0
  119. package/bin/fixtures/benchmarks/core-native/targets/foundation-present/CODE_OF_CONDUCT.md +3 -0
  120. package/bin/fixtures/benchmarks/core-native/targets/foundation-present/CONTRIBUTING.md +3 -0
  121. package/bin/fixtures/benchmarks/core-native/targets/foundation-present/LICENSE +1 -0
  122. package/bin/fixtures/benchmarks/core-native/targets/foundation-present/README.md +3 -0
  123. package/bin/fixtures/benchmarks/core-native/targets/foundation-present/SECURITY.md +3 -0
  124. package/bin/fixtures/benchmarks/core-native/targets/foundation-present/package-lock.json +6 -0
  125. package/bin/fixtures/benchmarks/core-native/targets/foundation-present/package.json +7 -0
  126. package/bin/fixtures/benchmarks/core-native/targets/foundation-present/tests/example.test.js +3 -0
  127. package/bin/fixtures/benchmarks/core-native/targets/go-http-server-timeout-risky-template/go.mod +3 -0
  128. package/bin/fixtures/benchmarks/core-native/targets/go-http-server-timeout-risky-template/server.go +18 -0
  129. package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-malformed-template/client.go +3 -0
  130. package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-malformed-template/go.mod +3 -0
  131. package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-risky-template/client.go +7 -0
  132. package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-risky-template/go.mod +3 -0
  133. package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-safe/client.go +22 -0
  134. package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-safe/go.mod +3 -0
  135. package/bin/fixtures/benchmarks/core-native/targets/go-http-timeout-safe/hazards_test.go +8 -0
  136. package/bin/fixtures/benchmarks/core-native/targets/kubernetes-risky-template/deployment.yaml +27 -0
  137. package/bin/fixtures/benchmarks/core-native/targets/kubernetes-valid/deployment.yaml +26 -0
  138. package/bin/fixtures/benchmarks/core-native/targets/openapi-operation-ids-risky-template/openapi.yaml +17 -0
  139. package/bin/fixtures/benchmarks/core-native/targets/openapi-operation-responses-risky-template/openapi.yaml +11 -0
  140. package/bin/fixtures/benchmarks/core-native/targets/openapi-root-malformed-template/openapi.yaml +5 -0
  141. package/bin/fixtures/benchmarks/core-native/targets/openapi-root-risky-template/openapi.yaml +5 -0
  142. package/bin/fixtures/benchmarks/core-native/targets/openapi-root-valid/openapi.yaml +17 -0
  143. package/bin/fixtures/benchmarks/core-native/targets/package-test-command/app.js +3 -0
  144. package/bin/fixtures/benchmarks/core-native/targets/package-test-command/package.json +7 -0
  145. package/bin/fixtures/benchmarks/core-native/targets/package-test-placeholder/app.js +3 -0
  146. package/bin/fixtures/benchmarks/core-native/targets/package-test-placeholder/package.json +7 -0
  147. package/bin/fixtures/benchmarks/core-native/targets/private-key-template/deploy.pem +3 -0
  148. package/bin/fixtures/benchmarks/core-native/targets/readme-missing/fixture.txt +1 -0
  149. package/bin/fixtures/benchmarks/core-native/targets/runtime-missing/package-lock.json +6 -0
  150. package/bin/fixtures/benchmarks/core-native/targets/runtime-missing/package.json +4 -0
  151. package/bin/fixtures/benchmarks/core-native/targets/terraform-locked/.terraform.lock.hcl +3 -0
  152. package/bin/fixtures/benchmarks/core-native/targets/terraform-locked/main.tf +7 -0
  153. package/bin/fixtures/benchmarks/core-native/targets/terraform-unlocked-template/.terraform.lock.hcl +3 -0
  154. package/bin/fixtures/benchmarks/core-native/targets/terraform-unlocked-template/main.tf +7 -0
  155. package/bin/fixtures/benchmarks/core-native/targets/test-declaration-valid/app.py +2 -0
  156. package/bin/fixtures/benchmarks/core-native/targets/test-declaration-valid/tests/test_app.py +5 -0
  157. package/bin/fixtures/benchmarks/core-native/targets/test-path-without-declaration/app.py +2 -0
  158. package/bin/fixtures/benchmarks/core-native/targets/test-path-without-declaration/tests/test_app.py +1 -0
  159. package/bin/fixtures/benchmarks/core-native/targets/workflow-malformed/.github/workflows/validate.yml +1 -0
  160. package/bin/fixtures/benchmarks/core-native/targets/workflow-no-jobs/.github/workflows/empty.yml +9 -0
  161. package/bin/fixtures/benchmarks/core-native/targets/workflow-risky/.github/workflows/risky.yml +10 -0
  162. package/bin/fixtures/benchmarks/core-native/targets/workflow-valid/.github/workflows/validate.yml +14 -0
  163. package/bin/packs/core-foundation.yaml +25 -0
  164. package/bin/packs/core-native.yaml +59 -0
  165. package/bin/prc +0 -0
  166. package/bin/schemas/adapter-execution-v0.1.schema.json +101 -0
  167. package/bin/schemas/adapter-execution-v0.2.schema.json +128 -0
  168. package/bin/schemas/adapter-execution.schema.json +145 -0
  169. package/bin/schemas/adapter-fixture-report.schema.json +59 -0
  170. package/bin/schemas/adapter-fixture-suite.schema.json +104 -0
  171. package/bin/schemas/adapter-manifest-v0.1.schema.json +55 -0
  172. package/bin/schemas/adapter-manifest-v0.2.schema.json +122 -0
  173. package/bin/schemas/adapter-manifest-v0.3.schema.json +172 -0
  174. package/bin/schemas/adapter-manifest.schema.json +299 -0
  175. package/bin/schemas/adapter-message.schema.json +136 -0
  176. package/bin/schemas/adapter-registry-report.schema.json +13 -0
  177. package/bin/schemas/adapter-registry.schema.json +47 -0
  178. package/bin/schemas/agent-execution-v0.1.schema.json +26 -0
  179. package/bin/schemas/agent-execution.schema.json +26 -0
  180. package/bin/schemas/agent-failure-v0.1.schema.json +102 -0
  181. package/bin/schemas/agent-failure.schema.json +102 -0
  182. package/bin/schemas/agent-output-v0.1.schema.json +36 -0
  183. package/bin/schemas/agent-output.schema.json +36 -0
  184. package/bin/schemas/agent-task-v0.1.schema.json +44 -0
  185. package/bin/schemas/agent-task.schema.json +46 -0
  186. package/bin/schemas/assertion-catalog.schema.json +69 -0
  187. package/bin/schemas/benchmark-report.schema.json +94 -0
  188. package/bin/schemas/benchmark-suite.schema.json +116 -0
  189. package/bin/schemas/catalog-bundle.schema.json +27 -0
  190. package/bin/schemas/catalog-manifest.schema.json +23 -0
  191. package/bin/schemas/checkov-iac-policy-report.schema.json +82 -0
  192. package/bin/schemas/control-contracts.schema.json +44 -0
  193. package/bin/schemas/control-review-output.schema.json +51 -0
  194. package/bin/schemas/doctor.schema.json +53 -0
  195. package/bin/schemas/evidence-v0.1.schema.json +21 -0
  196. package/bin/schemas/evidence.schema.json +21 -0
  197. package/bin/schemas/finding-v0.1.schema.json +70 -0
  198. package/bin/schemas/finding.schema.json +70 -0
  199. package/bin/schemas/fix-contract-v0.1.schema.json +35 -0
  200. package/bin/schemas/fix-contract-v0.2.schema.json +46 -0
  201. package/bin/schemas/fix-contract-v0.3.schema.json +49 -0
  202. package/bin/schemas/fix-contract.schema.json +49 -0
  203. package/bin/schemas/grype-vulnerability-report.schema.json +88 -0
  204. package/bin/schemas/history.schema.json +37 -0
  205. package/bin/schemas/invalidation.schema.json +86 -0
  206. package/bin/schemas/inventory-v0.1.schema.json +42 -0
  207. package/bin/schemas/inventory-v0.2.schema.json +95 -0
  208. package/bin/schemas/inventory-v0.3.schema.json +139 -0
  209. package/bin/schemas/inventory.schema.json +139 -0
  210. package/bin/schemas/objective-catalog.schema.json +62 -0
  211. package/bin/schemas/pack-report.schema.json +16 -0
  212. package/bin/schemas/pack.schema.json +53 -0
  213. package/bin/schemas/plan-v0.1.schema.json +31 -0
  214. package/bin/schemas/plan-v0.2.schema.json +32 -0
  215. package/bin/schemas/plan-v0.3.schema.json +44 -0
  216. package/bin/schemas/plan-v0.4.schema.json +48 -0
  217. package/bin/schemas/plan-v0.5.schema.json +49 -0
  218. package/bin/schemas/plan-v0.6.schema.json +137 -0
  219. package/bin/schemas/plan.schema.json +137 -0
  220. package/bin/schemas/profile.schema.json +42 -0
  221. package/bin/schemas/project-config.schema.json +128 -0
  222. package/bin/schemas/release-manifest-v0.1.schema.json +86 -0
  223. package/bin/schemas/release-manifest-v0.2.schema.json +146 -0
  224. package/bin/schemas/release-manifest-v0.3.schema.json +146 -0
  225. package/bin/schemas/release-manifest.schema.json +6 -0
  226. package/bin/schemas/remediation-candidate-v0.1.schema.json +51 -0
  227. package/bin/schemas/remediation-candidate-v0.2.schema.json +51 -0
  228. package/bin/schemas/remediation-candidate-v0.3.schema.json +51 -0
  229. package/bin/schemas/remediation-candidate-v0.4.schema.json +69 -0
  230. package/bin/schemas/remediation-candidate.schema.json +69 -0
  231. package/bin/schemas/remediation-run-v0.1.schema.json +69 -0
  232. package/bin/schemas/remediation-run-v0.2.schema.json +78 -0
  233. package/bin/schemas/remediation-run-v0.3.schema.json +86 -0
  234. package/bin/schemas/remediation-run-v0.4.schema.json +86 -0
  235. package/bin/schemas/remediation-run-v0.5.schema.json +131 -0
  236. package/bin/schemas/remediation-run-v0.6.schema.json +143 -0
  237. package/bin/schemas/remediation-run-v0.7.schema.json +160 -0
  238. package/bin/schemas/remediation-run-v0.8.schema.json +161 -0
  239. package/bin/schemas/remediation-run.schema.json +161 -0
  240. package/bin/schemas/risk-exception-verification.schema.json +17 -0
  241. package/bin/schemas/risk-exception.schema.json +137 -0
  242. package/bin/schemas/run-result-v0.1.schema.json +54 -0
  243. package/bin/schemas/run-result-v0.10.schema.json +64 -0
  244. package/bin/schemas/run-result-v0.11.schema.json +146 -0
  245. package/bin/schemas/run-result-v0.2.schema.json +60 -0
  246. package/bin/schemas/run-result-v0.3.schema.json +52 -0
  247. package/bin/schemas/run-result-v0.4.schema.json +52 -0
  248. package/bin/schemas/run-result-v0.5.schema.json +60 -0
  249. package/bin/schemas/run-result-v0.6.schema.json +61 -0
  250. package/bin/schemas/run-result-v0.7.schema.json +61 -0
  251. package/bin/schemas/run-result-v0.8.schema.json +61 -0
  252. package/bin/schemas/run-result-v0.9.schema.json +77 -0
  253. package/bin/schemas/run-result.schema.json +165 -0
  254. package/bin/schemas/signature-verification.schema.json +22 -0
  255. package/bin/schemas/signature.schema.json +18 -0
  256. package/bin/schemas/state-check-v0.1.schema.json +27 -0
  257. package/bin/schemas/state-check.schema.json +28 -0
  258. package/bin/schemas/trust-store.schema.json +50 -0
  259. package/bin/schemas/verification-execution-v0.1.schema.json +105 -0
  260. package/bin/schemas/verification-execution.schema.json +105 -0
  261. package/bin/schemas/version-v0.1.schema.json +27 -0
  262. package/bin/schemas/version.schema.json +27 -0
  263. package/manifest.json +9 -0
  264. package/package.json +28 -0
@@ -0,0 +1,59 @@
1
+ schema_version: prc.benchmark-suite/v0.1
2
+ id: prc.benchmark.core-native@0.1
3
+ title: Core native assertion benchmark
4
+ profile_id: prc/core-repository
5
+ cases:
6
+ - id: baseline-outcomes
7
+ target: targets/baseline
8
+ expectations:
9
+ - assertion_id: PRC-A-CORE-001
10
+ assessment: pass
11
+ execution: completed
12
+ - assertion_id: PRC-A-CORE-007
13
+ assessment: not_applicable
14
+ execution: not_run
15
+ - assertion_id: PRC-A-CORE-012
16
+ assessment: manual_review
17
+ execution: completed
18
+ - assertion_id: PRC-A-CORE-013
19
+ assessment: unknown
20
+ execution: blocked
21
+ - assertion_id: PRC-A-CORE-017
22
+ assessment: not_applicable
23
+ execution: not_run
24
+ - id: dependency-lock-present
25
+ target: targets/dependency-lock-present
26
+ expectations:
27
+ - assertion_id: PRC-A-CORE-007
28
+ assessment: pass
29
+ execution: completed
30
+ - id: dependency-lock-missing
31
+ target: targets/dependency-lock-missing
32
+ expectations:
33
+ - assertion_id: PRC-A-CORE-007
34
+ assessment: fail
35
+ execution: completed
36
+ - id: readme-missing
37
+ target: targets/readme-missing
38
+ expectations:
39
+ - assertion_id: PRC-A-CORE-001
40
+ assessment: fail
41
+ execution: completed
42
+ - id: workflow-malformed
43
+ target: targets/workflow-malformed
44
+ expectations:
45
+ - assertion_id: PRC-A-CORE-017
46
+ assessment: unknown
47
+ execution: error
48
+ - id: workflow-valid
49
+ target: targets/workflow-valid
50
+ expectations:
51
+ - assertion_id: PRC-A-CORE-017
52
+ assessment: pass
53
+ execution: completed
54
+ quality_budget:
55
+ minimum_precision: 1
56
+ minimum_recall: 1
57
+ maximum_false_positive_rate: 0
58
+ maximum_mismatches: 0
59
+ require_determinism: true
@@ -0,0 +1,3 @@
1
+ # Benchmark baseline
2
+
3
+ This fixture exercises repository, inapplicable, manual, and blocked outcomes.
@@ -0,0 +1 @@
1
+ package benchmarkfixture
@@ -0,0 +1,5 @@
1
+ PRC_CONFLICT_START
2
+ export const environment = "production";
3
+ PRC_CONFLICT_MIDDLE
4
+ export const environment = "staging";
5
+ PRC_CONFLICT_END
@@ -0,0 +1,2 @@
1
+ FROM scratch
2
+ USER 65532
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "benchmark-lock-missing",
3
+ "version": "1.0.0",
4
+ "engines": {"node": ">=22"}
5
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "benchmark-lock-present",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 3,
5
+ "packages": {}
6
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "benchmark-lock-present",
3
+ "version": "1.0.0",
4
+ "engines": {"node": ">=22"}
5
+ }
@@ -0,0 +1 @@
1
+ print("materialized fixture")
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: npm
4
+ directory: /
5
+ schedule:
6
+ interval: weekly
@@ -0,0 +1,15 @@
1
+ name: Validate foundation fixture
2
+
3
+ on:
4
+ push:
5
+
6
+ permissions:
7
+ contents: read
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ timeout-minutes: 10
13
+ steps:
14
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
15
+ - run: npm test
@@ -0,0 +1,3 @@
1
+ # Code of conduct
2
+
3
+ Be respectful and constructive.
@@ -0,0 +1,3 @@
1
+ # Contributing
2
+
3
+ Run the fixture tests before proposing a change.
@@ -0,0 +1 @@
1
+ MIT fixture license text.
@@ -0,0 +1,3 @@
1
+ # Complete foundation fixture
2
+
3
+ This repository fixture includes the baseline project-governance files.
@@ -0,0 +1,3 @@
1
+ # Security
2
+
3
+ Report security defects through the project's documented channel.
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "benchmark-foundation",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 3,
5
+ "packages": {}
6
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "benchmark-foundation",
3
+ "version": "1.0.0",
4
+ "private": true,
5
+ "scripts": {"test": "node --test"},
6
+ "engines": {"node": ">=22"}
7
+ }
@@ -0,0 +1,3 @@
1
+ import test from "node:test";
2
+
3
+ test("fixture", () => {});
@@ -0,0 +1,3 @@
1
+ module example.invalid/risky-server
2
+
3
+ go 1.27
@@ -0,0 +1,18 @@
1
+ package riskyserver
2
+
3
+ import (
4
+ "net/http"
5
+ "time"
6
+ )
7
+
8
+ func serve() error {
9
+ server := http.Server{
10
+ Addr: ":8080",
11
+ ReadHeaderTimeout: 5 * time.Second,
12
+ ReadTimeout: 30 * time.Second,
13
+ WriteTimeout: 30 * time.Second,
14
+ IdleTimeout: 60 * time.Second,
15
+ }
16
+ _ = server
17
+ return server.ListenAndServe()
18
+ }
@@ -0,0 +1,3 @@
1
+ package malformed
2
+
3
+ // PRC_INVALID_GO_TOKEN
@@ -0,0 +1,3 @@
1
+ module example.invalid/malformed-client
2
+
3
+ go 1.27
@@ -0,0 +1,7 @@
1
+ package riskyclient
2
+
3
+ import web "net/http"
4
+
5
+ func fetch(client *web.Client) (*web.Response, error) {
6
+ return client.Get("https://example.invalid")
7
+ }
@@ -0,0 +1,3 @@
1
+ module example.invalid/risky-client
2
+
3
+ go 1.27
@@ -0,0 +1,22 @@
1
+ package safeclient
2
+
3
+ import (
4
+ "net/http"
5
+ "time"
6
+ )
7
+
8
+ func fetch() (*http.Response, error) {
9
+ client := http.Client{Timeout: 10 * time.Second}
10
+ return client.Get("https://example.invalid")
11
+ }
12
+
13
+ func serve() error {
14
+ server := http.Server{
15
+ Addr: ":8080",
16
+ ReadHeaderTimeout: 5 * time.Second,
17
+ ReadTimeout: 30 * time.Second,
18
+ WriteTimeout: 30 * time.Second,
19
+ IdleTimeout: 60 * time.Second,
20
+ }
21
+ return server.ListenAndServe()
22
+ }
@@ -0,0 +1,3 @@
1
+ module example.invalid/safe-client
2
+
3
+ go 1.27
@@ -0,0 +1,8 @@
1
+ package safeclient
2
+
3
+ import "net/http"
4
+
5
+ func testOnlyHelpers() error {
6
+ _, _ = http.Get("https://example.invalid")
7
+ return http.ListenAndServe(":8081", nil)
8
+ }
@@ -0,0 +1,27 @@
1
+ apiVersion: apps/v1
2
+ kind: Deployment
3
+ metadata:
4
+ name: risky-template
5
+ spec:
6
+ template:
7
+ spec:
8
+ hostNetwork: false
9
+ securityContext:
10
+ runAsNonRoot: true
11
+ seccompProfile:
12
+ type: RuntimeDefault
13
+ containers:
14
+ - name: app
15
+ image: example.invalid/app@sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
16
+ securityContext:
17
+ privileged: false
18
+ allowPrivilegeEscalation: false
19
+ capabilities:
20
+ drop: [ALL]
21
+ resources:
22
+ requests:
23
+ cpu: 100m
24
+ memory: 64Mi
25
+ limits:
26
+ cpu: 500m
27
+ memory: 128Mi
@@ -0,0 +1,26 @@
1
+ apiVersion: apps/v1
2
+ kind: Deployment
3
+ metadata:
4
+ name: valid
5
+ spec:
6
+ template:
7
+ spec:
8
+ securityContext:
9
+ runAsNonRoot: true
10
+ seccompProfile:
11
+ type: RuntimeDefault
12
+ containers:
13
+ - name: app
14
+ image: example.invalid/app@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
15
+ securityContext:
16
+ privileged: false
17
+ allowPrivilegeEscalation: false
18
+ capabilities:
19
+ drop: [ALL]
20
+ resources:
21
+ requests:
22
+ cpu: 100m
23
+ memory: 64Mi
24
+ limits:
25
+ cpu: 500m
26
+ memory: 128Mi
@@ -0,0 +1,17 @@
1
+ openapi: 3.2.0
2
+ info:
3
+ title: Example API
4
+ version: 1.0.0
5
+ paths:
6
+ /health:
7
+ get:
8
+ operationId: duplicateOperation
9
+ responses:
10
+ "200":
11
+ description: Healthy
12
+ /status:
13
+ get:
14
+ operationId: getStatus
15
+ responses:
16
+ "200":
17
+ description: Current service status
@@ -0,0 +1,11 @@
1
+ openapi: 3.2.0
2
+ info:
3
+ title: Example API
4
+ version: 1.0.0
5
+ paths:
6
+ /health:
7
+ get:
8
+ operationId: getHealth
9
+ responses:
10
+ "200":
11
+ description: Healthy
@@ -0,0 +1,5 @@
1
+ openapi: 3.2.0
2
+ info:
3
+ title: Example API
4
+ version: 1.0.0
5
+ paths: {}
@@ -0,0 +1,5 @@
1
+ openapi: 3.2.0
2
+ info:
3
+ title: Example API
4
+ version: 1.0.0
5
+ paths: {}
@@ -0,0 +1,17 @@
1
+ openapi: 3.2.0
2
+ info:
3
+ title: Example API
4
+ version: 1.0.0
5
+ paths:
6
+ /health:
7
+ get:
8
+ operationId: getHealth
9
+ responses:
10
+ "200":
11
+ description: Healthy
12
+ /status:
13
+ get:
14
+ operationId: getStatus
15
+ responses:
16
+ default:
17
+ description: Current service status
@@ -0,0 +1,3 @@
1
+ export function ready() {
2
+ return true;
3
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "package-test-command-fixture",
3
+ "private": true,
4
+ "scripts": {
5
+ "test": "node --test"
6
+ }
7
+ }
@@ -0,0 +1,3 @@
1
+ export function ready() {
2
+ return true;
3
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "package-test-placeholder-fixture",
3
+ "private": true,
4
+ "scripts": {
5
+ "test": "echo \"Error: no test specified\" && exit 1"
6
+ }
7
+ }
@@ -0,0 +1,3 @@
1
+ -----BEGIN FIXTURE KEY-----
2
+ QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB
3
+ -----END FIXTURE KEY-----
@@ -0,0 +1 @@
1
+ This target intentionally has no README file.
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "benchmark-runtime-missing",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 3,
5
+ "packages": {}
6
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "name": "benchmark-runtime-missing",
3
+ "version": "1.0.0"
4
+ }
@@ -0,0 +1,3 @@
1
+ provider "registry.terraform.io/hashicorp/null" {
2
+ version = "3.2.3"
3
+ }
@@ -0,0 +1,7 @@
1
+ terraform {
2
+ required_providers {
3
+ null = {
4
+ source = "hashicorp/null"
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,3 @@
1
+ provider "registry.terraform.io/hashicorp/null" {
2
+ version = "3.2.3"
3
+ }
@@ -0,0 +1,7 @@
1
+ terraform {
2
+ required_providers {
3
+ null = {
4
+ source = "hashicorp/null"
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,2 @@
1
+ def ready():
2
+ return True
@@ -0,0 +1,5 @@
1
+ from app import ready
2
+
3
+
4
+ def test_ready():
5
+ assert ready() is True
@@ -0,0 +1 @@
1
+ # This filename looks like a test, but it declares no collectable test.
@@ -0,0 +1,9 @@
1
+ name: Empty workflow fixture
2
+
3
+ on:
4
+ push:
5
+
6
+ permissions:
7
+ contents: read
8
+
9
+ jobs: {}
@@ -0,0 +1,10 @@
1
+ name: Risky fixture
2
+
3
+ on:
4
+ pull_request_target:
5
+
6
+ jobs:
7
+ test:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
@@ -0,0 +1,14 @@
1
+ name: Validate fixture
2
+
3
+ on:
4
+ push:
5
+
6
+ permissions:
7
+ contents: read
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ timeout-minutes: 10
13
+ steps:
14
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
@@ -0,0 +1,25 @@
1
+ schema_version: prc.pack/v0.1
2
+ id: prc.pack.core-foundation@0.1
3
+ title: Core repository validated foundation
4
+ description: A small, measured foundation of deterministic repository checks.
5
+ publisher_id: prc-project
6
+ maintenance: active
7
+ engine_apis: [prc.engine/v0.1]
8
+ profile_ids: [prc/core-repository]
9
+ assertions:
10
+ - assertion_id: PRC-A-CORE-001
11
+ implementation_id: prc.native.file-present@0.1
12
+ validated_outcomes: [pass, fail]
13
+ - assertion_id: PRC-A-CORE-007
14
+ implementation_id: prc.native.dependency-lock@0.1
15
+ validated_outcomes: [pass, fail, not_applicable]
16
+ - assertion_id: PRC-A-CORE-017
17
+ implementation_id: prc.native.github-workflow-valid@0.1
18
+ validated_outcomes: [pass, not_applicable, error]
19
+ benchmark:
20
+ suite_id: prc.benchmark.core-native@0.1
21
+ suite_path: fixtures/benchmarks/core-native/suite.yaml
22
+ suite_sha256: 208c180313d0bd0b13d09eaca040eb967fb6664f205b283841f386b9cacd2e7d
23
+ limitations:
24
+ - The pack covers only three native assertions and is not the complete core profile.
25
+ - The initial fixtures do not establish cross-platform or large-repository performance.
@@ -0,0 +1,59 @@
1
+ schema_version: prc.pack/v0.1
2
+ id: prc.pack.core-native@1.0
3
+ title: Core native assertion pack
4
+ description: Catalog-wide deterministic checks measured against the comprehensive core fixture corpus.
5
+ publisher_id: prc-project
6
+ maintenance: active
7
+ engine_apis: [prc.engine/v0.1]
8
+ profile_ids: [prc/core-repository, prc/api, prc/kubernetes]
9
+ assertions:
10
+ - {assertion_id: PRC-A-CORE-001, implementation_id: prc.native.file-present@0.1, validated_outcomes: [pass, fail]}
11
+ - {assertion_id: PRC-A-CORE-002, implementation_id: prc.native.file-present@0.1, validated_outcomes: [pass, fail]}
12
+ - {assertion_id: PRC-A-CORE-003, implementation_id: prc.native.file-present@0.1, validated_outcomes: [pass, fail]}
13
+ - {assertion_id: PRC-A-CORE-004, implementation_id: prc.native.file-present@0.1, validated_outcomes: [pass, fail]}
14
+ - {assertion_id: PRC-A-CORE-005, implementation_id: prc.native.file-present@0.1, validated_outcomes: [pass, fail]}
15
+ - {assertion_id: PRC-A-CORE-006, implementation_id: prc.native.file-present@0.1, validated_outcomes: [pass, fail]}
16
+ - {assertion_id: PRC-A-CORE-007, implementation_id: prc.native.dependency-lock@0.1, validated_outcomes: [pass, fail, not_applicable]}
17
+ - {assertion_id: PRC-A-CORE-008, implementation_id: prc.native.github-action-pin@0.1, validated_outcomes: [pass, fail, not_applicable]}
18
+ - {assertion_id: PRC-A-CORE-009, implementation_id: prc.native.ci-present@0.1, validated_outcomes: [pass, fail]}
19
+ - {assertion_id: PRC-A-CORE-010, implementation_id: prc.native.test-suite@0.2, validated_outcomes: [pass, fail]}
20
+ - {assertion_id: PRC-A-CORE-011, implementation_id: prc.native.github-workflow-permissions@0.1, validated_outcomes: [pass, fail, not_applicable, error]}
21
+ - {assertion_id: PRC-A-CORE-012, implementation_id: prc.native.manual-evidence@0.1, validated_outcomes: [manual_review]}
22
+ - {assertion_id: PRC-A-CORE-013, implementation_id: prc.native.analysis-evidence@0.1, validated_outcomes: [blocked]}
23
+ - {assertion_id: PRC-A-CORE-014, implementation_id: prc.native.final-newline@0.1, validated_outcomes: [pass, fail]}
24
+ - {assertion_id: PRC-A-CORE-015, implementation_id: prc.native.git-revision@0.1, validated_outcomes: [pass, fail]}
25
+ - {assertion_id: PRC-A-CORE-016, implementation_id: prc.native.file-present@0.1, validated_outcomes: [pass, fail, not_applicable]}
26
+ - {assertion_id: PRC-A-CORE-017, implementation_id: prc.native.github-workflow-valid@0.1, validated_outcomes: [pass, not_applicable, error]}
27
+ - {assertion_id: PRC-A-CORE-018, implementation_id: prc.native.github-workflow-jobs@0.1, validated_outcomes: [pass, fail, not_applicable, error]}
28
+ - {assertion_id: PRC-A-CORE-019, implementation_id: prc.native.github-workflow-timeouts@0.1, validated_outcomes: [pass, fail, not_applicable, error]}
29
+ - {assertion_id: PRC-A-CORE-020, implementation_id: prc.native.github-no-pull-request-target@0.1, validated_outcomes: [pass, manual_review, not_applicable, error]}
30
+ - {assertion_id: PRC-A-CORE-021, implementation_id: prc.native.merge-conflict-markers@0.1, validated_outcomes: [pass, fail]}
31
+ - {assertion_id: PRC-A-CORE-022, implementation_id: prc.native.restrictive-file-modes@0.1, validated_outcomes: [pass, fail]}
32
+ - {assertion_id: PRC-A-CORE-023, implementation_id: prc.native.inventory-files-nonempty@0.1, validated_outcomes: [pass, fail, not_applicable]}
33
+ - {assertion_id: PRC-A-CORE-024, implementation_id: prc.native.inventory-files-nonempty@0.1, validated_outcomes: [pass, fail, not_applicable]}
34
+ - {assertion_id: PRC-A-CORE-025, implementation_id: prc.native.runtime-version@0.1, validated_outcomes: [pass, fail, not_applicable]}
35
+ - {assertion_id: PRC-A-CORE-026, implementation_id: prc.native.container-base-pin@0.1, validated_outcomes: [pass, fail, not_applicable]}
36
+ - {assertion_id: PRC-A-CORE-027, implementation_id: prc.native.container-nonroot@0.1, validated_outcomes: [pass, fail, not_applicable]}
37
+ - {assertion_id: PRC-A-CORE-028, implementation_id: prc.native.terraform-lock@0.1, validated_outcomes: [pass, fail, not_applicable]}
38
+ - {assertion_id: PRC-A-CORE-029, implementation_id: prc.native.kubernetes-nonroot@0.2, validated_outcomes: [pass, fail, not_applicable]}
39
+ - {assertion_id: PRC-A-CORE-030, implementation_id: prc.native.kubernetes-resources@0.2, validated_outcomes: [pass, fail, not_applicable]}
40
+ - {assertion_id: PRC-A-CORE-031, implementation_id: prc.native.private-key-armor@0.1, validated_outcomes: [pass, fail]}
41
+ - {assertion_id: PRC-A-GO-001, implementation_id: prc.native.go-http-timeout@0.1, validated_outcomes: [pass, fail, not_applicable, error]}
42
+ - {assertion_id: PRC-A-GO-002, implementation_id: prc.native.go-http-server-timeout@0.1, validated_outcomes: [pass, fail, not_applicable, error]}
43
+ - {assertion_id: PRC-A-API-001, implementation_id: prc.native.openapi-root@0.1, validated_outcomes: [pass, fail, not_applicable, error]}
44
+ - {assertion_id: PRC-A-API-002, implementation_id: prc.native.openapi-operation-responses@0.1, validated_outcomes: [pass, fail, not_applicable, error]}
45
+ - {assertion_id: PRC-A-API-003, implementation_id: prc.native.openapi-operation-ids@0.1, validated_outcomes: [pass, fail, not_applicable, error]}
46
+ - {assertion_id: PRC-A-K8S-001, implementation_id: prc.native.kubernetes-host-access@0.1, validated_outcomes: [pass, fail, not_applicable]}
47
+ - {assertion_id: PRC-A-K8S-002, implementation_id: prc.native.kubernetes-privilege-escalation@0.1, validated_outcomes: [pass, fail, not_applicable]}
48
+ - {assertion_id: PRC-A-K8S-003, implementation_id: prc.native.kubernetes-capabilities@0.1, validated_outcomes: [pass, fail, not_applicable]}
49
+ - {assertion_id: PRC-A-K8S-004, implementation_id: prc.native.kubernetes-seccomp@0.1, validated_outcomes: [pass, fail, not_applicable]}
50
+ benchmark:
51
+ suite_id: prc.benchmark.core-native@1.0
52
+ suite_path: fixtures/benchmarks/core-native/suite-comprehensive.yaml
53
+ suite_sha256: 1035fef3034185344a18bbf3e308143418f1b0bbd7f1fdd0a71a8adc138c9968
54
+ limitations:
55
+ - Manual-review and adapter-backed assertions are validated only in their fail-closed manual or blocked states.
56
+ - OpenAPI operation checks cover direct path and webhook operations; referenced Path Items, callbacks, multi-document descriptions, and referenced responses require a future bounded resolver or adapter.
57
+ - Kubernetes checks inspect selected Pod Security Standard fields in direct workload manifests; rendered templates, custom workload resources, admission enforcement, and deployed state require separate evidence.
58
+ - Test discovery verifies conventional declarations or an explicit package test command; execution, determinism, coverage, and behavioral adequacy require separate evidence.
59
+ - The fixture corpus does not yet establish cross-platform, large-repository, or adversarial parser performance.
package/bin/prc ADDED
Binary file