Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Weekly Python dependency updates.
# The uv ecosystem updates the exact pins in pyproject.toml / requirements-ci.in and recompiles the
# hash-pinned requirements-ci.txt with the options recorded in its header (--universal, --python-version, --generate-hashes).
# Cooldown: a new release is proposed only after it has been public for 7 days, so a malicious
# release that PyPI pulls within hours (like agent-framework 1.26.1/1.26.2) never reaches a PR.
version: 2
updates:
- package-ecosystem: uv
directory: /
schedule:
interval: weekly
cooldown:
default-days: 7
open-pull-requests-limit: 5
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

- Dependabot: weekly Python updates (uv ecosystem) for `pyproject.toml`, `requirements-ci.in` and the hash-pinned `requirements-ci.txt`. `requirements-ci.txt` is now compiled from `requirements-ci.in` so Dependabot can recompile it with hashes.
- Demo: fictional Oracle Java SE rows for CVE-2026-114938 (Java4Shell) with a recorded NVD document (status Received, official Oracle CVSS 3.1 8.1, CNA affected versions, no invented CPE ranges or EPSS). The CVE is not in the demo KEV catalog. `from_nvd_cve` now reads NVD `affected` / `affectedData` when present; CPE `configurations` still win when both exist.
- Dependencies: runtime, dev and build requirements in `pyproject.toml` are pinned to exact versions (`==`). CI installs from the hash-pinned `requirements-ci.txt` (`pip install --require-hashes`), then the project itself with `--no-deps`. Prompted by the malicious `agent-framework` 1.26.1/1.26.2 releases on PyPI ([MAL-2026-20101](https://osv.dev/vulnerability/MAL-2026-20101)); none of these projects depend on it.
- `--columns NAMES` with `--format csv` on `scan` and `demo`: write only the named columns, in the given order. Unknown or repeated names exit 2 before any request.
Expand Down
4 changes: 4 additions & 0 deletions requirements-ci.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Direct CI dependencies, same exact pins as pyproject.toml (runtime + dev extra).
# requirements-ci.txt is compiled from this file with uv; Dependabot (uv ecosystem) updates both.
PyYAML==6.0.3
pytest==9.2.0
8 changes: 4 additions & 4 deletions requirements-ci.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Hash-pinned CI dependencies. Regenerate with:
# uv pip compile pyproject.toml --extra dev --universal --python-version 3.11 --generate-hashes --no-header -o requirements-ci.txt
# This file was autogenerated by uv via the following command:
# uv pip compile requirements-ci.in --universal --python-version 3.11 --generate-hashes --output-file requirements-ci.txt
colorama==0.4.6 ; sys_platform == 'win32' \
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
Expand All @@ -23,7 +23,7 @@ pygments==2.21.0 \
pytest==9.2.0 \
--hash=sha256:07acdcf88ec174f907dc01af70bf52d49b014bbab03faeeade31c96b18c2e588 \
--hash=sha256:97c4f3b1f3c7414aa36465e09b8220f1d03627993bd51b1282e193753c80557b
# via patchorder (pyproject.toml)
# via -r requirements-ci.in
pyyaml==6.0.3 \
--hash=sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c \
--hash=sha256:0150219816b6a1fa26fb4699fb7daa9caf09eb1999f3b70fb6e786805e80375a \
Expand Down Expand Up @@ -98,4 +98,4 @@ pyyaml==6.0.3 \
--hash=sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6 \
--hash=sha256:fa160448684b4e94d80416c0fa4aac48967a969efe22931448d853ada8baf926 \
--hash=sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0
# via patchorder (pyproject.toml)
# via -r requirements-ci.in
Loading