Compare commits
2
Commits
v2.4
..
f6a5ec2331
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6a5ec2331 | ||
|
|
d133a60b0b |
No files matched your search
Binary file not shown.
@@ -142,7 +142,7 @@ runs:
|
|||||||
SERVER_URL: ${{ github.server_url }}
|
SERVER_URL: ${{ github.server_url }}
|
||||||
REPOSITORY: ${{ github.repository }}
|
REPOSITORY: ${{ github.repository }}
|
||||||
SHA: ${{ github.sha }}
|
SHA: ${{ github.sha }}
|
||||||
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_number }}
|
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
ACTION_DIR: ${{ github.action_path }}
|
ACTION_DIR: ${{ github.action_path }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|||||||
@@ -381,7 +381,7 @@ For **each** advisory:
|
|||||||
|
|
||||||
The `reason` must be **specific and true**: name our files, functions or configuration and the dependency path, and say why the vulnerable code is not reached or not exposed. Start it with a CycloneDX justification: `code_not_present`, `code_not_reachable`, `requires_configuration`, `requires_dependency`, `requires_environment`, `protected_by_compiler`, `protected_at_runtime`, `protected_at_perimeter` or `protected_by_mitigating_control`. "Not exploitable" or "dev dependency" alone is not a reason. `ignoreUntil` is {days} days from today ({until.isoformat()}): the monthly re-check refreshes it while the reason still holds. Check the file still parses: `python3 -c 'import tomllib,sys; tomllib.load(open("{config_name}","rb"))'`.
|
The `reason` must be **specific and true**: name our files, functions or configuration and the dependency path, and say why the vulnerable code is not reached or not exposed. Start it with a CycloneDX justification: `code_not_present`, `code_not_reachable`, `requires_configuration`, `requires_dependency`, `requires_environment`, `protected_by_compiler`, `protected_at_runtime`, `protected_at_perimeter` or `protected_by_mitigating_control`. "Not exploitable" or "dev dependency" alone is not a reason. `ignoreUntil` is {days} days from today ({until.isoformat()}): the monthly re-check refreshes it while the reason still holds. Check the file still parses: `python3 -c 'import tomllib,sys; tomllib.load(open("{config_name}","rb"))'`.
|
||||||
If an advisory **does** affect us and there is no fix, do not ignore it: describe the exposure and the options in the PR and in this issue.
|
If an advisory **does** affect us and there is no fix, do not ignore it: describe the exposure and the options in the PR and in this issue.
|
||||||
4. **Open one pull request** for this issue: branch `osv/issue-<this issue's number>` from `{base}`, commit, push, then create the PR against `{base}` (`mcp__local_git_ops__create_pull_request`). Its body starts with `Closes #<this issue's number>` and has one line per advisory: the id, and either the fix (package and version) or the justification. Do not merge it; do not close this issue yourself (the PR closes it when merged).
|
4. **Open one pull request** for this issue from a branch named `osv/issue-<this issue's number>`, created from `{base}` (`git checkout -b osv/issue-<n> origin/{base}`). Do not use the `claude/issue-…` branch the runner checked out: its end-of-run cleanup deletes that branch, which closes a PR made from it. Commit, push, then create the PR against `{base}` (`mcp__local_git_ops__create_pull_request`). Its body starts with `Closes #<this issue's number>` and has one line per advisory: the id, and either the fix (package and version) or the justification. Do not merge it; do not close this issue yourself (the PR closes it when merged).
|
||||||
|
|
||||||
If you run short of time, push what is done, open the PR with those advisories and list in this issue the ones still open."""
|
If you run short of time, push what is done, open the PR with those advisories and list in this issue the ones still open."""
|
||||||
|
|
||||||
@@ -404,7 +404,7 @@ For **each** entry:
|
|||||||
|
|
||||||
Reasons start with a CycloneDX justification (`code_not_present`, `code_not_reachable`, `requires_configuration`, `requires_dependency`, `requires_environment`, `protected_by_compiler`, `protected_at_runtime`, `protected_at_perimeter`, `protected_by_mitigating_control`). Check the file still parses: `python3 -c 'import tomllib,sys; tomllib.load(open("{config_name}","rb"))'`.
|
Reasons start with a CycloneDX justification (`code_not_present`, `code_not_reachable`, `requires_configuration`, `requires_dependency`, `requires_environment`, `protected_by_compiler`, `protected_at_runtime`, `protected_at_perimeter`, `protected_by_mitigating_control`). Check the file still parses: `python3 -c 'import tomllib,sys; tomllib.load(open("{config_name}","rb"))'`.
|
||||||
|
|
||||||
If anything changes, open one pull request: branch `osv/recheck-<this issue's number>` from `{base}`, PR against `{base}` (`mcp__local_git_ops__create_pull_request`), body starting with `Closes #<this issue's number>` and one line per entry (kept / reason rewritten / removed, and why). Do not merge it. If nothing needs changing, comment with one line per entry saying why it still holds; then this issue may be closed."""
|
If anything changes, open one pull request from a branch named `osv/recheck-<this issue's number>`, created from `{base}` (not the runner's `claude/issue-…` branch: its end-of-run cleanup deletes it, which closes a PR made from it), PR against `{base}` (`mcp__local_git_ops__create_pull_request`), body starting with `Closes #<this issue's number>` and one line per entry (kept / reason rewritten / removed, and why). Do not merge it. If nothing needs changing, comment with one line per entry saying why it still holds; then this issue may be closed."""
|
||||||
|
|
||||||
|
|
||||||
def marker(kind: str, ids: list[str]) -> str:
|
def marker(kind: str, ids: list[str]) -> str:
|
||||||
|
|||||||
Reference in new issue
Block a user