corgea-cli 1.9.2__tar.gz → 1.9.3__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 (157) hide show
  1. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/.github/workflows/release-binaries.yml +68 -6
  2. corgea_cli-1.9.3/.github/workflows/sync-skills.yml +166 -0
  3. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/.gitignore +1 -0
  4. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/Cargo.lock +1 -1
  5. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/Cargo.toml +1 -1
  6. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/PKG-INFO +1 -1
  7. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/README.md +5 -0
  8. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/RELEASING.md +23 -2
  9. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/bin/corgea.js +1 -1
  10. corgea_cli-1.9.3/build_release.sh +48 -0
  11. corgea_cli-1.9.3/scripts/check-linux-binary.sh +84 -0
  12. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/scripts/npm/bundle-binaries.js +1 -1
  13. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/skills/corgea/SKILL.md +24 -0
  14. corgea_cli-1.9.3/src/deps/catalog.rs +201 -0
  15. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/ecosystems/evaluate.rs +46 -31
  16. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/mod.rs +1 -0
  17. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/skill.rs +15 -0
  18. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/correctness_tests.rs +5 -0
  19. corgea_cli-1.9.3/src/deps/tests/findings_tests.rs +115 -0
  20. corgea_cli-1.9.3/src/deps/tests/report_tests.rs +81 -0
  21. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/main.rs +18 -5
  22. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/scan.rs +86 -4
  23. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/scanners/fortify.rs +15 -9
  24. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/cli_deps.rs +28 -1
  25. corgea_cli-1.9.3/tests/cli_deps_skill.rs +39 -0
  26. corgea_cli-1.9.2/build_release.sh +0 -34
  27. corgea_cli-1.9.2/src/deps/tests/findings_tests.rs +0 -25
  28. corgea_cli-1.9.2/src/deps/tests/report_tests.rs +0 -29
  29. corgea_cli-1.9.2/tests/cli_deps_skill.rs +0 -10
  30. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/.codex/hooks.json +0 -0
  31. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/.github/workflows/npm-publish.yml +0 -0
  32. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/.github/workflows/release.yml +0 -0
  33. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/.github/workflows/staging-contract.yml +0 -0
  34. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/.github/workflows/test.yml +0 -0
  35. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/.github/workflows/update_docs..yml +0 -0
  36. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/AGENTS.md +0 -0
  37. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/LICENSE +0 -0
  38. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/examples/deps_skill.rs +0 -0
  39. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/harness +0 -0
  40. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/package.json +0 -0
  41. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/pyproject.toml +0 -0
  42. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/advisories.rs +0 -0
  43. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/authorize.rs +0 -0
  44. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/cicd.rs +0 -0
  45. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/config.rs +0 -0
  46. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/detect.rs +0 -0
  47. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/diff.rs +0 -0
  48. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/ecosystems/maven.rs +0 -0
  49. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/ecosystems/mod.rs +0 -0
  50. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/ecosystems/npm.rs +0 -0
  51. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/ecosystems/pypi.rs +0 -0
  52. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/explain.rs +0 -0
  53. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/findings.rs +0 -0
  54. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/model.rs +0 -0
  55. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/parse/mod.rs +0 -0
  56. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/parse/npm_lock.rs +0 -0
  57. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/parse/python_lock.rs +0 -0
  58. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/policy.rs +0 -0
  59. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/report.rs +0 -0
  60. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/run.rs +0 -0
  61. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/common.rs +0 -0
  62. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/detect_tests.rs +0 -0
  63. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/diff_tests.rs +0 -0
  64. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/explain_tests.rs +0 -0
  65. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/maven_tests.rs +0 -0
  66. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/mod.rs +0 -0
  67. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/npm_tests.rs +0 -0
  68. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/policy_tests.rs +0 -0
  69. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/pypi_tests.rs +0 -0
  70. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/robustness_tests.rs +0 -0
  71. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/deps/tests/slice0_tests.rs +0 -0
  72. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/inspect.rs +0 -0
  73. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/lib.rs +0 -0
  74. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/list.rs +0 -0
  75. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/log.rs +0 -0
  76. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/precheck/detect.rs +0 -0
  77. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/precheck/exec.rs +0 -0
  78. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/precheck/mod.rs +0 -0
  79. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/precheck/parse.rs +0 -0
  80. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/precheck/render.rs +0 -0
  81. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/precheck/test_support.rs +0 -0
  82. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/precheck/tree.rs +0 -0
  83. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/precheck/uv.rs +0 -0
  84. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/precheck/verdict.rs +0 -0
  85. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/scanners/blast.rs +0 -0
  86. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/scanners/parsers/checkmarx.rs +0 -0
  87. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/scanners/parsers/coverity.rs +0 -0
  88. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/scanners/parsers/mod.rs +0 -0
  89. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/scanners/parsers/sarif.rs +0 -0
  90. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/scanners/parsers/semgrep.rs +0 -0
  91. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/setup_hooks.rs +0 -0
  92. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/skill.rs +0 -0
  93. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/targets.rs +0 -0
  94. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/utils/api.rs +0 -0
  95. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/utils/generic.rs +0 -0
  96. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/utils/terminal.rs +0 -0
  97. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/verify_deps/mod.rs +0 -0
  98. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/verify_deps/registry.rs +0 -0
  99. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/vuln_api/mod.rs +0 -0
  100. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/vuln_api_stub/mod.rs +0 -0
  101. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/src/wait.rs +0 -0
  102. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/cli_advisories.rs +0 -0
  103. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/cli_bare_install.rs +0 -0
  104. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/cli_exec_fallback.rs +0 -0
  105. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/cli_install.rs +0 -0
  106. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/cli_npm_ci.rs +0 -0
  107. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/cli_provenance.rs +0 -0
  108. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/cli_remediation.rs +0 -0
  109. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/cli_tree.rs +0 -0
  110. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/cli_uv_sync.rs +0 -0
  111. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/cli_verdict.rs +0 -0
  112. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/common/mod.rs +0 -0
  113. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/README.md +0 -0
  114. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/go-mod-smoke/go.mod +0 -0
  115. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/go-mod-smoke/go.sum +0 -0
  116. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/java-gradle/build.gradle +0 -0
  117. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/java-gradle/gradle.lockfile +0 -0
  118. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/java-maven/pom.xml +0 -0
  119. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/malformed/not-xml-pom.xml +0 -0
  120. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/malformed/package-lock.json +0 -0
  121. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/malformed/package.json +0 -0
  122. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/malformed/poetry.lock +0 -0
  123. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/malformed/pyproject.toml +0 -0
  124. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/malformed/truncated-poetry.lock +0 -0
  125. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-app/.corgea/deps.yml +0 -0
  126. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-app/package-lock.json +0 -0
  127. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-app/package.json +0 -0
  128. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-monorepo/package-lock.json +0 -0
  129. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-monorepo/package.json +0 -0
  130. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-monorepo/packages/a/package.json +0 -0
  131. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-monorepo/packages/b/package.json +0 -0
  132. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-pnpm/package.json +0 -0
  133. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-pnpm/pnpm-lock.yaml +0 -0
  134. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-stale/package-lock.json +0 -0
  135. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-stale/package.json +0 -0
  136. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-transitive/package-lock.json +0 -0
  137. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-transitive/package.json +0 -0
  138. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-yarn/package.json +0 -0
  139. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/node-yarn/yarn.lock +0 -0
  140. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/python-pip-nolock/requirements.txt +0 -0
  141. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/python-poetry/poetry.lock +0 -0
  142. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/python-poetry/pyproject.toml +0 -0
  143. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/python-poetry-multi/poetry.lock +0 -0
  144. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/python-poetry-multi/pyproject.toml +0 -0
  145. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/python-uv-requirements/pyproject.toml +0 -0
  146. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/python-uv-requirements/requirements.txt +0 -0
  147. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/python-uv-requirements/uv.lock +0 -0
  148. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/vuln_api/README.md +0 -0
  149. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/vuln_api/check_clean.json +0 -0
  150. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/vuln_api/check_malware.json +0 -0
  151. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/vuln_api/check_unknown.json +0 -0
  152. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/vuln_api/check_vulnerable.json +0 -0
  153. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/vuln_api/package_profile.json +0 -0
  154. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/fixtures/vuln_api/package_profile_not_found.json +0 -0
  155. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/harness_smoke.rs +0 -0
  156. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/logging_e2e.rs +0 -0
  157. {corgea_cli-1.9.2 → corgea_cli-1.9.3}/tests/vuln_api_contract.rs +0 -0
@@ -12,6 +12,13 @@ on:
12
12
  permissions:
13
13
  contents: write
14
14
 
15
+ env:
16
+ # Highest glibc a *-gnu binary may require. Linux builds are cross-linked
17
+ # against this floor so the artifacts do not inherit the runner's glibc.
18
+ GLIBC_FLOOR: "2.17"
19
+ ZIG_VERSION: "0.13.0"
20
+ CARGO_ZIGBUILD_VERSION: "0.23.0"
21
+
15
22
  jobs:
16
23
  native-binaries:
17
24
  name: Build and Upload Native Binaries
@@ -24,9 +31,12 @@ jobs:
24
31
  - os: ubuntu-latest
25
32
  target: x86_64-unknown-linux-musl
26
33
  binary_name: corgea
27
- - os: ubuntu-24.04-arm
34
+ - os: ubuntu-latest
28
35
  target: aarch64-unknown-linux-gnu
29
36
  binary_name: corgea
37
+ - os: ubuntu-latest
38
+ target: aarch64-unknown-linux-musl
39
+ binary_name: corgea
30
40
  - os: macos-latest
31
41
  target: x86_64-apple-darwin
32
42
  binary_name: corgea
@@ -44,16 +54,68 @@ jobs:
44
54
  with:
45
55
  ref: ${{ inputs.tag || github.ref }}
46
56
 
47
- - name: Install musl tools
48
- if: matrix.target == 'x86_64-unknown-linux-musl'
49
- run: sudo apt-get install -y musl-tools
50
-
51
57
  - name: Install Rust Target
52
58
  run: rustup target add ${{ matrix.target }}
53
59
 
54
- - name: Build Binary
60
+ - name: Install Zig
61
+ if: runner.os == 'Linux'
62
+ uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # v2.2.1
63
+ with:
64
+ version: ${{ env.ZIG_VERSION }}
65
+
66
+ - name: Install cargo-zigbuild
67
+ if: runner.os == 'Linux'
68
+ uses: taiki-e/install-action@18b1216eba7f8039b0f8d131d5473787f0edce68 # v2.85.3
69
+ with:
70
+ tool: cargo-zigbuild@${{ env.CARGO_ZIGBUILD_VERSION }}
71
+
72
+ - name: Build Binary (Linux)
73
+ if: runner.os == 'Linux'
74
+ shell: bash
75
+ run: |
76
+ build_target="${{ matrix.target }}"
77
+ if [[ "$build_target" == *-gnu ]]; then
78
+ build_target="${build_target}.${GLIBC_FLOOR}"
79
+ fi
80
+ cargo zigbuild --release --target "$build_target"
81
+
82
+ - name: Build Binary (macOS and Windows)
83
+ if: runner.os != 'Linux'
55
84
  run: cargo build --release --target ${{ matrix.target }}
56
85
 
86
+ - name: Verify Linux Runtime Compatibility
87
+ if: runner.os == 'Linux'
88
+ shell: bash
89
+ run: |
90
+ scripts/check-linux-binary.sh \
91
+ "target/${{ matrix.target }}/release/${{ matrix.binary_name }}" \
92
+ "${{ matrix.target }}"
93
+
94
+ # The aarch64 artifacts are cross-built, so nothing else in CI would ever
95
+ # execute them. Run them under qemu to catch a binary that passes the
96
+ # header checks but cannot actually start.
97
+ - name: Smoke Test Linux Binary
98
+ if: runner.os == 'Linux'
99
+ shell: bash
100
+ run: |
101
+ binary="target/${{ matrix.target }}/release/${{ matrix.binary_name }}"
102
+
103
+ case "${{ matrix.target }}" in
104
+ aarch64-*-gnu)
105
+ sudo apt-get update -qq
106
+ sudo apt-get install -y -qq qemu-user-static libc6-arm64-cross
107
+ qemu-aarch64-static -L /usr/aarch64-linux-gnu "$binary" --version
108
+ ;;
109
+ aarch64-*-musl)
110
+ sudo apt-get update -qq
111
+ sudo apt-get install -y -qq qemu-user-static
112
+ qemu-aarch64-static "$binary" --version
113
+ ;;
114
+ *)
115
+ "$binary" --version
116
+ ;;
117
+ esac
118
+
57
119
  - name: Archive Binary (Unix)
58
120
  if: runner.os != 'Windows'
59
121
  shell: bash
@@ -0,0 +1,166 @@
1
+ name: Trigger AI Skills Sync on Release
2
+
3
+ # Syncs on a published release rather than on merge to main: skills describe the
4
+ # CLI users have installed, and diffing main would document unreleased commands.
5
+ #
6
+ # Triggered by the Native Binary Release workflow rather than release.published.
7
+ # On the tag-first path in RELEASING.md the release is created by
8
+ # action-gh-release using GITHUB_TOKEN, and GitHub does not start workflow runs
9
+ # for GITHUB_TOKEN events, so release.published would never fire. Native Binary
10
+ # Release runs on the tag push either way. npm-publish.yml uses the same pattern.
11
+
12
+ on:
13
+ workflow_run:
14
+ workflows: ["Native Binary Release"]
15
+ types:
16
+ - completed
17
+ workflow_dispatch:
18
+ inputs:
19
+ base_tag:
20
+ description: "Previous release tag (for example: v1.9.0). Leave empty to resolve it automatically."
21
+ required: false
22
+ type: string
23
+ head_tag:
24
+ description: "Release tag to sync from (for example: v1.9.1)"
25
+ required: true
26
+ type: string
27
+
28
+ permissions:
29
+ contents: read
30
+
31
+ # Serialize runs so two releases cannot open competing pull requests. The default
32
+ # queue holds only one pending run, which would drop the middle of three releases
33
+ # published in quick succession.
34
+ concurrency:
35
+ group: sync-skills
36
+ cancel-in-progress: false
37
+ queue: max
38
+
39
+ jobs:
40
+ run-codex-skills-sync:
41
+ if: github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'
42
+ runs-on: ubuntu-latest
43
+ steps:
44
+ - name: Resolve release range
45
+ id: range
46
+ env:
47
+ GH_TOKEN: ${{ github.token }}
48
+ # For a tag push, workflow_run reports the tag name as head_branch.
49
+ NEW_TAG: ${{ github.event.inputs.head_tag || github.event.workflow_run.head_branch }}
50
+ BASE_TAG_INPUT: ${{ github.event.inputs.base_tag }}
51
+ SKILLS_REPO_TOKEN: ${{ secrets.DOCS_REPO_TOKEN }}
52
+ run: |
53
+ set -euo pipefail
54
+
55
+ # Corgea/skills is public, so a missing token clones fine and only
56
+ # fails on the final push, after a full Codex run. Fail fast instead.
57
+ if [[ -z "${SKILLS_REPO_TOKEN:-}" ]]; then
58
+ echo "::error::DOCS_REPO_TOKEN is unset. It needs write access to Corgea/skills."
59
+ exit 1
60
+ fi
61
+
62
+ # Native Binary Release also runs on branch pushes, where head_branch
63
+ # is a branch name with no release. Ask the API instead of matching on
64
+ # the ref: tag names are inconsistent here (v1.9.1 but 1.8.8).
65
+ if ! RELEASE_JSON=$(gh release view "$NEW_TAG" --repo "$GITHUB_REPOSITORY" \
66
+ --json publishedAt,isDraft,isPrerelease,body 2>/dev/null); then
67
+ RELEASE_JSON=""
68
+
69
+ if [[ "$GITHUB_EVENT_NAME" != "workflow_dispatch" ]]; then
70
+ echo "$NEW_TAG is not a published release (branch push?); nothing to sync."
71
+ echo "skip=true" >> "$GITHUB_OUTPUT"
72
+ exit 0
73
+ fi
74
+
75
+ # A plain tag with no release still syncs if the caller names a base.
76
+ if [[ -z "$BASE_TAG_INPUT" ]]; then
77
+ echo "::error::No published GitHub Release found for tag $NEW_TAG, so the previous release cannot be resolved automatically. Re-run with base_tag set explicitly."
78
+ exit 1
79
+ fi
80
+ echo "No GitHub Release for $NEW_TAG; continuing with the base_tag given."
81
+ fi
82
+
83
+ # workflow_run carries no release payload, so filter drafts here.
84
+ # Manual dispatch names its tag deliberately and stays an override.
85
+ if [[ -n "$RELEASE_JSON" && "$GITHUB_EVENT_NAME" != "workflow_dispatch" ]] \
86
+ && [[ "$(jq -r '.isDraft' <<<"$RELEASE_JSON")" == "true" || \
87
+ "$(jq -r '.isPrerelease' <<<"$RELEASE_JSON")" == "true" ]]; then
88
+ echo "$NEW_TAG is a draft or prerelease; nothing to sync."
89
+ echo "skip=true" >> "$GITHUB_OUTPUT"
90
+ exit 0
91
+ fi
92
+
93
+ if [[ -n "$BASE_TAG_INPUT" ]]; then
94
+ PREV_TAG="$BASE_TAG_INPUT"
95
+ else
96
+ # Drafts report publishedAt as null, which sorts before every real
97
+ # timestamp and would select the newest release as the base.
98
+ NEW_PUBLISHED=$(jq -r '.publishedAt // ""' <<<"$RELEASE_JSON")
99
+ if [[ -z "$NEW_PUBLISHED" || "$NEW_PUBLISHED" == "null" ]]; then
100
+ echo "::error::Release $NEW_TAG has no publishedAt timestamp (draft?). Re-run with base_tag set explicitly."
101
+ exit 1
102
+ fi
103
+ export NEW_PUBLISHED
104
+
105
+ # Newest release published before this one. Comparing timestamps
106
+ # rather than just excluding NEW_TAG matters on manual dispatch: an
107
+ # older tag would otherwise pick a newer base and feed Codex a
108
+ # reversed diff, which reads as commands being removed.
109
+ # ISO-8601 UTC sorts lexicographically.
110
+ PREV_TAG=$(gh release list --repo "$GITHUB_REPOSITORY" --limit 100 \
111
+ --json tagName,isDraft,isPrerelease,publishedAt \
112
+ --jq '[.[] | select(.isDraft == false and .isPrerelease == false and .publishedAt < env.NEW_PUBLISHED)]
113
+ | sort_by(.publishedAt) | reverse | .[0].tagName // ""')
114
+ fi
115
+
116
+ if [[ -z "$PREV_TAG" ]]; then
117
+ echo "No previous release to diff against; nothing to sync."
118
+ echo "skip=true" >> "$GITHUB_OUTPUT"
119
+ exit 0
120
+ fi
121
+
122
+ # Resolve through the API so annotated tags land on their commit.
123
+ BASE_SHA=$(gh api "repos/$GITHUB_REPOSITORY/commits/$PREV_TAG" --jq .sha)
124
+ HEAD_SHA=$(gh api "repos/$GITHUB_REPOSITORY/commits/$NEW_TAG" --jq .sha)
125
+
126
+ echo "Syncing skills for $PREV_TAG ($BASE_SHA) -> $NEW_TAG ($HEAD_SHA)"
127
+ {
128
+ echo "skip=false"
129
+ echo "prev_tag=$PREV_TAG"
130
+ echo "new_tag=$NEW_TAG"
131
+ echo "base_sha=$BASE_SHA"
132
+ echo "head_sha=$HEAD_SHA"
133
+ } >> "$GITHUB_OUTPUT"
134
+
135
+ # Release notes are multi-line and author-supplied, so end the output
136
+ # with a delimiter the body will not contain.
137
+ if [[ -n "$RELEASE_JSON" ]]; then
138
+ NOTES_DELIM="NOTES_EOF_$(date +%s)$RANDOM"
139
+ {
140
+ echo "notes<<${NOTES_DELIM}"
141
+ jq -r '.body // ""' <<<"$RELEASE_JSON"
142
+ echo "${NOTES_DELIM}"
143
+ } >> "$GITHUB_OUTPUT"
144
+ fi
145
+
146
+ # No checkout on purpose: the action checks the CLI out into ./source. A
147
+ # checkout at the workspace root would leave the CLI's own
148
+ # skills/corgea/SKILL.md under Codex's working directory as a tempting
149
+ # wrong edit target, whose changes would then be silently discarded.
150
+ - name: Run AI Skills Sync
151
+ if: steps.range.outputs.skip == 'false'
152
+ uses: Corgea/internal_actions/sync-skills-action@main
153
+ with:
154
+ base_sha: ${{ steps.range.outputs.base_sha }}
155
+ head_sha: ${{ steps.range.outputs.head_sha }}
156
+ openai_api_key: ${{ secrets.OPENAI_API_KEY }}
157
+ # Shared bot token; the name is historical. It has write access to
158
+ # Corgea/skills as well as Corgea/docs, so rotating it affects the
159
+ # docs sync workflows too.
160
+ skills_repo_token: ${{ secrets.DOCS_REPO_TOKEN }}
161
+ skills_repo: "Corgea/skills"
162
+ skills_base_branch: "main"
163
+ release_info: |
164
+ Corgea CLI release ${{ steps.range.outputs.new_tag }} (previous release: ${{ steps.range.outputs.prev_tag }}).
165
+ Release notes:
166
+ ${{ steps.range.outputs.notes }}
@@ -5,6 +5,7 @@
5
5
  *.zip
6
6
  *.profraw
7
7
  node_modules/
8
+ /vendor/
8
9
  /packages/*/vendor/
9
10
 
10
11
  .claude/
@@ -369,7 +369,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
369
369
 
370
370
  [[package]]
371
371
  name = "corgea"
372
- version = "1.9.2"
372
+ version = "1.9.3"
373
373
  dependencies = [
374
374
  "chrono",
375
375
  "clap",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "corgea"
3
- version = "1.9.2"
3
+ version = "1.9.3"
4
4
  edition = "2021"
5
5
  readme = "README.md"
6
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: corgea-cli
3
- Version: 1.9.2
3
+ Version: 1.9.3
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -20,6 +20,11 @@ pip install corgea-cli
20
20
  ### Manual Installation
21
21
  You can get the latest binaries for your OS from https://github.com/Corgea/cli/releases.
22
22
 
23
+ On Linux, both a `-gnu` and a `-musl` binary are published for x86_64 and
24
+ aarch64. The `-gnu` builds run on glibc 2.17 and newer; the `-musl` builds are
25
+ fully static and have no libc requirement at all, which makes them the safer
26
+ pick for minimal containers and CI runners.
27
+
23
28
  ### Setup
24
29
  Once the binary is installed, login with your token from the Corgea app.
25
30
  ```
@@ -69,8 +69,29 @@ Pushing an annotated `vX.Y.Z` tag to `main` fans out to three GitHub Actions wor
69
69
  ## What gets built
70
70
 
71
71
  - **PyPI wheels** (`release.yml`): Linux (x86_64, x86), Windows (x64, x86), macOS (x86_64, aarch64), plus an sdist. Asserts `manylinux2014` tags for broad Linux compatibility.
72
- - **Native binaries** (`release-binaries.yml`): `x86_64-unknown-linux-gnu`, `x86_64-unknown-linux-musl`, `aarch64-unknown-linux-gnu`, `x86_64-apple-darwin`, `aarch64-apple-darwin`, `x86_64-pc-windows-msvc`.
73
- - **npm binary bundling** (`npm-publish.yml` → `scripts/npm/bundle-binaries.js`): downloads the GitHub Release zips and lays them out as `vendor/<target>/corgea/corgea`. At runtime `bin/corgea.js` selects the binary for the host OS/arch. npm ships 5 of the 6 targets (Linux x64 uses the musl build).
72
+ - **Native binaries** (`release-binaries.yml`): `x86_64-unknown-linux-gnu`, `x86_64-unknown-linux-musl`, `aarch64-unknown-linux-gnu`, `aarch64-unknown-linux-musl`, `x86_64-apple-darwin`, `aarch64-apple-darwin`, `x86_64-pc-windows-msvc`.
73
+ - **npm binary bundling** (`npm-publish.yml` → `scripts/npm/bundle-binaries.js`): downloads the GitHub Release zips and lays them out as `vendor/<target>/corgea/corgea`. At runtime `bin/corgea.js` selects the binary for the host OS/arch. npm ships 5 of the 7 targets (both Linux arches use the musl build).
74
+
75
+ ### Linux glibc floor
76
+
77
+ Building a `*-gnu` target natively stamps the *runner's* glibc into the binary's
78
+ ELF version-need table, and the loader then refuses to start it on any host with
79
+ an older glibc. Every release from `v1.7.2` through `v1.9.2` shipped Linux gnu
80
+ binaries that required `GLIBC_2.39`, so they failed on Ubuntu 22.04 (glibc 2.35)
81
+ and older with `version 'GLIBC_2.38' not found`.
82
+
83
+ All four Linux targets are therefore cross-built on `ubuntu-latest` with
84
+ [`cargo-zigbuild`](https://github.com/rust-cross/cargo-zigbuild), pinning the gnu
85
+ targets to the `GLIBC_FLOOR` declared in `release-binaries.yml` (currently
86
+ `2.17`, i.e. RHEL 7 / Ubuntu 14.04 and newer). `scripts/check-linux-binary.sh`
87
+ then re-reads each artifact and fails the build if a gnu binary exceeds the
88
+ floor, or if a musl binary is not fully static. Run it locally with:
89
+
90
+ ```bash
91
+ scripts/check-linux-binary.sh target/aarch64-unknown-linux-gnu/release/corgea aarch64-unknown-linux-gnu
92
+ ```
93
+
94
+ Raising `GLIBC_FLOOR` drops support for older distros — change it deliberately.
74
95
 
75
96
  ## Release notes
76
97
 
@@ -10,7 +10,7 @@ function resolveTargetTriple() {
10
10
  case "linux":
11
11
  case "android":
12
12
  if (process.arch === "x64") return "x86_64-unknown-linux-musl";
13
- if (process.arch === "arm64") return "aarch64-unknown-linux-gnu";
13
+ if (process.arch === "arm64") return "aarch64-unknown-linux-musl";
14
14
  return null;
15
15
  case "darwin":
16
16
  if (process.arch === "x64") return "x86_64-apple-darwin";
@@ -0,0 +1,48 @@
1
+ #!/bin/bash
2
+
3
+ BUILD_OS="$(uname)"
4
+
5
+ # Keep in sync with GLIBC_FLOOR in .github/workflows/release-binaries.yml. Linux
6
+ # binaries are cross-linked against this floor so they do not pick up whatever
7
+ # glibc the build host happens to ship.
8
+ GLIBC_FLOOR="${GLIBC_FLOOR:-2.17}"
9
+
10
+ if [ $BUILD_OS == "Darwin" ]; then
11
+ TARGETS=("aarch64-apple-darwin" "x86_64-apple-darwin")
12
+ elif [ $BUILD_OS == "Linux" ]; then
13
+ TARGETS=("aarch64-unknown-linux-gnu" "aarch64-unknown-linux-musl" "x86_64-unknown-linux-gnu" "x86_64-unknown-linux-musl")
14
+
15
+ if ! command -v cargo-zigbuild >/dev/null 2>&1; then
16
+ echo "cargo-zigbuild is required to build the Linux targets."
17
+ echo "Install it with: cargo install cargo-zigbuild && pip install ziglang"
18
+ exit 1
19
+ fi
20
+ else
21
+ echo "Are you building from a supported OS? (Darwin/Linux)"
22
+ exit 1
23
+ fi
24
+
25
+ for target in "${TARGETS[@]}"
26
+ do
27
+ if [ $BUILD_OS == "Darwin" ]; then
28
+ cargo build -r --target $target || exit 1
29
+ else
30
+ build_target="$target"
31
+ if [[ "$target" == *-gnu ]]; then
32
+ build_target="${target}.${GLIBC_FLOOR}"
33
+ fi
34
+
35
+ cargo zigbuild -r --target "$build_target" || exit 1
36
+ GLIBC_FLOOR="$GLIBC_FLOOR" \
37
+ ./scripts/check-linux-binary.sh "target/$target/release/corgea" "$target" || exit 1
38
+ fi
39
+
40
+ zip_file_name="corgea-$target.zip"
41
+
42
+ # if zip_file_name exists, remove it
43
+ if [ -f $zip_file_name ]; then
44
+ rm $zip_file_name
45
+ fi
46
+
47
+ zip -j $zip_file_name "target/$target/release/corgea"
48
+ done
@@ -0,0 +1,84 @@
1
+ #!/usr/bin/env bash
2
+ #
3
+ # Gate on the runtime requirements of a released Linux binary.
4
+ #
5
+ # Linking against the build runner's glibc stamps that version into the ELF
6
+ # version-need table, and the loader refuses the binary on any host with an
7
+ # older glibc. Runner images move forward on their own schedule, so without
8
+ # this check the supported floor silently follows them.
9
+ #
10
+ # scripts/check-linux-binary.sh <binary> <target-triple>
11
+ #
12
+ # GLIBC_FLOOR (default 2.17) is the highest glibc version a *-gnu binary may
13
+ # require. *-musl binaries must be fully static instead.
14
+
15
+ set -euo pipefail
16
+
17
+ binary=${1:-}
18
+ triple=${2:-}
19
+ floor=${GLIBC_FLOOR:-2.17}
20
+
21
+ if [ -z "$binary" ] || [ -z "$triple" ]; then
22
+ echo "usage: $0 <binary> <target-triple>" >&2
23
+ exit 2
24
+ fi
25
+
26
+ if [ ! -f "$binary" ]; then
27
+ echo "FAIL: $binary does not exist" >&2
28
+ exit 1
29
+ fi
30
+
31
+ case "$triple" in
32
+ aarch64-*) want_machine="AArch64" ;;
33
+ x86_64-*) want_machine="X86-64" ;;
34
+ *)
35
+ echo "FAIL: unsupported target triple: $triple" >&2
36
+ exit 1
37
+ ;;
38
+ esac
39
+
40
+ machine=$(readelf -h "$binary" | sed -n 's/^ *Machine: *//p')
41
+ case "$machine" in
42
+ *"$want_machine"*) ;;
43
+ *)
44
+ echo "FAIL: $binary is '$machine', expected $want_machine for $triple" >&2
45
+ exit 1
46
+ ;;
47
+ esac
48
+
49
+ case "$triple" in
50
+ *-musl)
51
+ if readelf -lW "$binary" | grep -q INTERP; then
52
+ echo "FAIL: $binary is dynamically linked; musl builds must be static" >&2
53
+ exit 1
54
+ fi
55
+ echo "OK: $binary ($triple) is statically linked"
56
+ ;;
57
+
58
+ *-gnu)
59
+ # A binary with no versioned glibc references is fine, but grep exits 1 on
60
+ # no match, so run it outside the pipeline that feeds the assignment.
61
+ # Requiring a digit keeps unversioned tags such as GLIBC_PRIVATE out.
62
+ version_info=$(readelf -V "$binary")
63
+ needed=$(grep -oE 'GLIBC_[0-9]+(\.[0-9]+)*' <<<"$version_info" | sed 's/^GLIBC_//' | sort -uV || true)
64
+
65
+ if [ -z "$needed" ]; then
66
+ echo "OK: $binary ($triple) requires no versioned glibc symbols"
67
+ exit 0
68
+ fi
69
+
70
+ highest=$(echo "$needed" | tail -1)
71
+ if [ "$(printf '%s\n%s\n' "$highest" "$floor" | sort -V | tail -1)" != "$floor" ]; then
72
+ echo "FAIL: $binary requires glibc $highest, above the $floor floor" >&2
73
+ echo " versions required: $(echo "$needed" | tr '\n' ' ')" >&2
74
+ exit 1
75
+ fi
76
+
77
+ echo "OK: $binary ($triple) requires at most glibc $highest (floor $floor)"
78
+ ;;
79
+
80
+ *)
81
+ echo "FAIL: unsupported libc in target triple: $triple" >&2
82
+ exit 1
83
+ ;;
84
+ esac
@@ -7,7 +7,7 @@ const { unzipSync } = require("fflate");
7
7
 
8
8
  const TARGETS = [
9
9
  { triple: "x86_64-unknown-linux-musl", binary: "corgea" },
10
- { triple: "aarch64-unknown-linux-gnu", binary: "corgea" },
10
+ { triple: "aarch64-unknown-linux-musl", binary: "corgea" },
11
11
  { triple: "x86_64-apple-darwin", binary: "corgea" },
12
12
  { triple: "aarch64-apple-darwin", binary: "corgea" },
13
13
  { triple: "x86_64-pc-windows-msvc", binary: "corgea.exe" },
@@ -33,6 +33,8 @@ corgea scan --scan-type secrets # Single scan type
33
33
  corgea scan --scan-type blast,policy,secrets,pii # Multiple scan types
34
34
  corgea scan --scan-type policy --policy 1 # Specific policy ID
35
35
  corgea scan --fail-on CR # Exit 1 on critical issues (CR, HI, ME, LO)
36
+ corgea scan --fail-on malicious # Exit 1 if any dependency is classified malicious
37
+ corgea scan --fail-on HI,malicious # Comma-separated conditions combine
36
38
  corgea scan --fail # Exit 1 based on project blocking rules
37
39
  corgea scan --out-format json --out-file r.json # Export (json, html, sarif, markdown)
38
40
  corgea scan --project-name my-service # Override project name
@@ -40,6 +42,8 @@ corgea scan --project-name my-service # Override project name
40
42
 
41
43
  Scan types: `blast` (base AI), `policy` (PolicyIQ), `malicious`, `secrets`, `pii`.
42
44
 
45
+ `--fail-on` takes comma-separated conditions: severity thresholds `CR`, `HI`, `ME`, `LO` (trip at or above the level) and/or `malicious` (trips when any dependency in the scan is classified malicious). Use `malicious` to block supply-chain findings in CI across every ecosystem the scan covers, including those the `corgea npm`/`corgea pip` install gate does not.
46
+
43
47
  `--only-uncommitted` and `--target` are mutually exclusive. `--fail-on` and `--fail` are mutually exclusive.
44
48
 
45
49
  ### Upload — `corgea upload [report]`
@@ -51,10 +55,13 @@ corgea upload path/to/report.json # JSON, SARIF, Coverity XML
51
55
  corgea upload path/to/report.fpr # Fortify FPR
52
56
  corgea upload report.sarif --project-name svc # Custom project name
53
57
  cat report.json | corgea upload # From stdin
58
+ corgea upload report.json --wait # Wait for scan to complete and print results
54
59
  ```
55
60
 
56
61
  Supported: Semgrep JSON, SARIF, Checkmarx (CLI/Web/XML), Coverity, Fortify FPR.
57
62
 
63
+ By default `upload` prints the scan page URL so you can track the results. Pass `--wait` to block until the scan completes and print the results (like `corgea scan`).
64
+
58
65
  ### Wait — `corgea wait [scan_id]`
59
66
 
60
67
  ```bash
@@ -129,6 +136,22 @@ Agent environments default to compact TSV; force output with `--format human|age
129
136
  Examples: `corgea deps policy init`; `corgea deps policy init --exist-ok --format quiet`
130
137
 
131
138
  Notes: `deps scan --out-format table|json|sarif` is the report/export selector; do not combine it with `deps scan --format`.
139
+
140
+ ### Dependency finding catalog
141
+
142
+ | ID | Status | Severity | Title | Description | Remediation |
143
+ | --- | --- | --- | --- | --- | --- |
144
+ | `DEP001` | emitted | High | Missing lockfile | The dependency manifest has no expected lockfile, so resolution is not reproducible. | Generate and commit the ecosystem lockfile. |
145
+ | `DEP002` | emitted | High | Stale lockfile | A manifest dependency is missing from its lockfile. | Regenerate and commit the lockfile. |
146
+ | `DEP003` | emitted | Medium | Direct dependency uses broad range | A direct dependency uses a bounded version range. | Pin an exact version or explicitly allow the range by policy. |
147
+ | `DEP004` | emitted | High | Wildcard or latest dependency | A direct dependency uses wildcard, latest, or another unbounded range. | Pin an exact version. |
148
+ | `DEP005` | emitted | High | Mutable Git branch dependency | A direct dependency is sourced from a mutable Git branch reference. | Pin a commit SHA or immutable release tag. |
149
+ | `DEP006` | emitted | High | URL/tarball dependency without checksum | A direct URL or tarball dependency has no integrity checksum. | Add an integrity checksum or pin a registry package. |
150
+ | `DEP008` | emitted | Medium | Lockfile integrity hash missing | A lockfile entry lacks its integrity hash. | Add the integrity hash to the lockfile entry. |
151
+ | `DEP010` | reserved | Medium | Vulnerable package advisory | Reserved for vulnerable-package/advisory findings; `corgea deps` does not emit it. | Handle this code in an advisory or install-wrapper flow, never in `corgea deps`. |
152
+ | `DEP014` | emitted | Low | Duplicate versions of same package | More than one resolved version of a package is present. | Align or deduplicate the resolved dependency versions. |
153
+ | `DEP019` | emitted | Medium | Unsupported lockfile | A detected lockfile format is not supported by the parser. | Use a supported lockfile or wait for parser support. |
154
+ | `DEP021` | emitted | High | Mutable artifact version | A direct artifact version is mutable, such as a Maven SNAPSHOT. | Pin an immutable release version. |
132
155
  <!-- END GENERATED CORGEA DEPS SKILL -->
133
156
 
134
157
  ### Advisories — `corgea advisories check`
@@ -330,6 +353,7 @@ corgea inspect --issue --diff ISSUE_ID
330
353
 
331
354
  ```bash
332
355
  corgea scan --fail-on CR --out-format sarif --out-file results.sarif
356
+ corgea scan --fail-on CR,malicious --out-format sarif --out-file results.sarif # also block malicious dependencies
333
357
  ```
334
358
 
335
359
  ### Upload third-party reports