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
30 changes: 29 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:
strategy:
fail-fast: false
matrix:
mcp-version: ["1.28.1", "2.3.0"]
mcp-version: ["1.30.0", "2.3.0"]
env:
MCP_SDK_VERSION: ${{ matrix.mcp-version }}
steps:
Expand Down Expand Up @@ -525,6 +525,34 @@ jobs:
$basePython = Join-Path $baseEnvironment "Scripts\python.exe"
uv pip install --python $basePython $wheels[0].FullName
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- name: Install security and all extras using pip on Windows
shell: pwsh
run: |
$wheel = Get-ChildItem dist -Filter "skillevaluator-*.whl" | Select-Object -First 1
$checkFloors = @'
from importlib.metadata import version
from packaging.version import Version

assert Version(version("pip")) >= Version("26.2.2")
assert Version(version("certifi")) >= Version("2026.10.19")
'@
foreach ($extra in @("security", "all")) {
$environment = Join-Path $env:RUNNER_TEMP "skillevaluator-pip-$extra-windows"
# Use the patched Python TLS denylist while exercising the older pip.
uv venv --managed-python --python 3.12.16 $environment
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$extraPython = Join-Path $environment "Scripts\python.exe"
uv pip install --python $extraPython "pip==26.2.1" "certifi==2025.8.3"
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
& $extraPython -m pip install "$($wheel.FullName)[$extra]"
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$checkFloors | & $extraPython -
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
& $extraPython -m pip check
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
& $extraPython -m pip_audit --version
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
}
- name: Smoke-test the installed Windows CLI with a CRLF checkout
shell: pwsh
run: |
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes to SkillEvaluator are documented in this file.

## Unreleased

### Security

- Update LiteLLM and the minimum AWS SDK version in the optional LLM and
Tier 3 installs. Bedrock preflight and host inference reject HTTP endpoint
overrides when bearer authentication is configured.
- Update aiohttp, fsspec, msgpack, OAuthLib, and urllib3 in the optional
installs to include upstream security fixes.
- Raise the Tier 3 MCP Python SDK floor to 1.30.0 for upstream security fixes.
- Update filelock, multidict, pip, and certifi in the optional LLM, Tier 2,
Tier 3, and dependency audit installs to include upstream security fixes.
- Build the public Docker image and managed GitLab jobs from a digest-pinned
Python 3.12.16 image to protect the pip bootstrap against the affected
eMudhra certificates. On Windows, use `python -m pip` with a patched Python
release to install the security or all extra so an older pip can upgrade
during installation.

### Changed

- Claude Code log recovery pairs batched and delayed tool results without repeatedly
Expand Down Expand Up @@ -38,6 +54,14 @@ All notable changes to SkillEvaluator are documented in this file.

### Fixed

- Bedrock preflight and host inference now sign requests with IAM credentials
when `AWS_BEARER_TOKEN_BEDROCK` is empty or whitespace-only, for example when
a CI job exports an unset secret. Previously the Tier 3 preflight sent a blank
`Authorization: Bearer` header, and host inference failed with an illegal
header value. This includes models called through the Bedrock Responses
route.
- Bedrock inference checks HTTPS on the endpoint selected for the request,
so an unused HTTP override no longer blocks a valid HTTPS route.
- `tier3 validate` now exits nonzero when `evals/` is missing, matching the
error it reports.
- Scanner install hints in `health-check` and `doctor` now match the host:
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
#
# The image installs every public optional dependency. Tier 3 still requires
# credentials for the selected provider and agent at runtime.
FROM python:3.12-slim
# Use a Python TLS stack that rejects the affected certificates during pip bootstrap.
FROM python:3.12.16-slim@sha256:5e2bdb1b0d542d5039cffb8181c65930093949194a65c365dfb1b0fe13a4fa5b

ENV PIP_NO_INPUT=1 \
PYTHONDONTWRITEBYTECODE=1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Eligible NVIDIA Developer Program members can use NVIDIA-hosted endpoints for
3. Complete [scanner setup](docs/installation-options.mdx#system-tools), start Docker, and [prepare a reviewed dataset](docs/prepare-dataset.mdx). Install every tier, set the provider and key, then validate:

```bash
pip install "skillevaluator[all]"
python -m pip install "skillevaluator[all]"
export SKILL_EVAL_LLM_PROVIDER=nv_build
export NVIDIA_API_KEY='nvapi-...'
skillevaluator validate ./my-skill
Expand Down
6 changes: 3 additions & 3 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ records the exact resolved dependency set used for this release.
| Dependency group | Packages and licenses |
| --- | --- |
| Base | Bandit (Apache-2.0), Click (BSD-3-Clause), IDNA (BSD-3-Clause), Jinja2 (BSD-3-Clause), Markdown-It-Py (MIT), Packaging (Apache-2.0 or BSD-2-Clause), Pydantic (MIT), PyYAML (MIT), regex (Apache-2.0 AND CNRI-Python), Rich (MIT), uv (Apache-2.0 or MIT) |
| LLM | Anthropic (MIT), Boto3 (Apache-2.0), LiteLLM (MIT), OpenAI (Apache-2.0) |
| LLM | aiohttp (Apache-2.0 AND MIT), Anthropic (MIT), Boto3 (Apache-2.0), filelock (MIT), fsspec (BSD-3-Clause), LiteLLM (MIT), multidict (Apache-2.0), OpenAI (Apache-2.0), urllib3 (MIT) |
| Tier 3 | Harbor (Apache-2.0), MCP (MIT), OAuthLib (BSD-3-Clause), PyJWT (MIT), python-dotenv (BSD-3-Clause) |
| Security | pip-audit (Apache-2.0) |
| Dashboard | Streamlit (Apache-2.0) |
| Security | certifi (MPL-2.0), filelock (MIT), msgpack (Apache-2.0), pip (MIT), pip-audit (Apache-2.0), urllib3 (MIT) |
| Dashboard | Streamlit (Apache-2.0), urllib3 (MIT) |

## Embedded report charts

Expand Down
2 changes: 1 addition & 1 deletion ci/gitlab/all-tiers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ skill-evaluation:
- when: on_success

.skill-evaluation-tools:
image: python:3.12.12-slim
image: python:3.12.16-slim@sha256:5e2bdb1b0d542d5039cffb8181c65930093949194a65c365dfb1b0fe13a4fa5b
before_script:
- |
if ! command -v git >/dev/null 2>&1; then
Expand Down
2 changes: 1 addition & 1 deletion ci/gitlab/feedback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
skill-evaluation-feedback:
# Serializes comment updates; each job checks its own MR and current commit.
resource_group: skillevaluator-feedback
image: python:3.12.12-slim
image: python:3.12.16-slim@sha256:5e2bdb1b0d542d5039cffb8181c65930093949194a65c365dfb1b0fe13a4fa5b
stage: test
# The protected environment scopes the publisher token and restricts who can
# run this job. `prepare` records no deployment, so "Prevent outdated
Expand Down
4 changes: 2 additions & 2 deletions docs/developer-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This guide gets you from a fresh clone to a mergeable pull request. You need Pyt
If you prefer pip, `make install` runs the equivalent editable install:

```bash title="pip alternative"
pip install -e '.[all,dev]'
python -m pip install -e '.[all,dev]'
```

### Run the contribution gate
Expand All @@ -53,7 +53,7 @@ The Makefile wraps the standard tools, so you can run the underlying commands di

| Target | Runs | Purpose |
| --- | --- | --- |
| `make install` | `pip install -e '.[all,dev]'` | Editable install with every extra plus dev tooling |
| `make install` | `python -m pip install -e '.[all,dev]'` | Editable install with every extra plus dev tooling |
| `make test` | `pytest` | Default (fast) test suite |
| `make lint` | `ruff check src tests` | Lint the source and tests |
| `make build` | `python -m build` | Build the wheel and sdist |
Expand Down
10 changes: 7 additions & 3 deletions docs/tier3-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,13 @@ The exact Harbor pin is deliberate: its CLI, Python models, result artifacts,
and environment/agent subclass interfaces form one compatibility surface. This
release targets stable Harbor 0.25.0 rather than unreleased `main`. Harbor stays
behind the operator-selected `tier3` extra, so static Tier 1 installs do not pull
it in. The shared LLM client window (`litellm>=1.92.0,<1.94.0.dev0`) admits
patched 1.92 and 1.93 releases validated with this integration while excluding
prerelease and as-yet unvalidated 1.94 behavior.
it in. The shared LLM client uses `litellm>=1.110.2,<1.111.0.dev0` with
`boto3>=1.44.0`. When you set `AWS_BEARER_TOKEN_BEDROCK`, use HTTPS for the
Bedrock catalog and runtime endpoints checked by preflight and for the
endpoint used by the selected LiteLLM route. The runtime uses
`AWS_BEDROCK_RUNTIME_ENDPOINT`, Mantle uses `BEDROCK_MANTLE_API_BASE`, and
Claude Platform uses `ANTHROPIC_AWS_BASE_URL` or falls back to
`ANTHROPIC_AWS_API_BASE`.

The integration preserves SkillEvaluator's runtime and artifact contracts while
using Harbor 0.25:
Expand Down
30 changes: 24 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,18 @@ dependencies = [
[project.optional-dependencies]
# Shared public LLM / embedding clients used by LLM-backed checks, Tier 2, and Tier 3.
llm = [
# Security floors for dependencies installed through LiteLLM and boto3.
"aiohttp>=3.14.4,<4",
"anthropic>=0.83.0",
"boto3>=1.34.0",
"litellm>=1.92.0,<1.94.0.dev0",
# Botocore 1.44 introduced HTTPS enforcement for bearer authentication.
"boto3>=1.44.0",
# The LLM stack and Harbor use filelock; aiohttp uses multidict.
"filelock>=4.2.1,<5",
"fsspec>=2026.6.0",
"litellm>=1.110.2,<1.111.0.dev0",
"multidict>=6.9.1,<7",
"openai>=2.21.0",
"urllib3>=2.8.0,<3",
]
# Tier 2 intra-skill deduplication and local-catalog inter-skill similarity.
tier2 = [
Expand All @@ -71,18 +79,27 @@ tier2 = [
tier3 = [
"skillevaluator[llm]",
"harbor[gke]==0.25.0",
# CVE-2026-59950, CVE-2026-52870, and CVE-2026-52869 fixed floor.
"mcp>=1.28.1,<2",
# MCP 1.30 fixes the server-authentication, client-transport, and session limit advisories.
"mcp>=1.30.0,<2",
# CVE-2026-48522 through CVE-2026-48526 fixed floor.
"pyjwt[crypto]>=2.13.0",
# GHSA-hj66-6f7g-4r5v and GHSA-xpv3-w29h-x7cv fixed floor (via harbor[gke]).
"oauthlib>=4.0.0",
# The 4.0.1 release includes the device grant security fix (via harbor[gke]).
"oauthlib>=4.0.1",
# PYTHON_DOTENV_DISABLED, which keeps Harbor from loading .env files, needs 1.2.0.
"python-dotenv>=1.2.0",
]
# Scanner for the opt-in Dependency Vulnerability Audit (`--check dependency`).
security = [
# pip-audit uses the installed CA bundle for the eMudhra trust fix.
"certifi>=2026.10.19",
# Security floor for CacheControl's file-backed cache.
"filelock>=4.2.1,<5",
# CVE-2026-114613 fixed floor for pip-audit's CacheControl dependency.
"msgpack>=1.2.3",
# pip needs the same eMudhra fix in its vendored CA bundle.
"pip>=26.2.2",
"pip-audit>=2.10.0",
"urllib3>=2.8.0,<3",
]
# Verify GitHub-signed execution receipts for the optional CI report publisher.
publisher = [
Expand All @@ -92,6 +109,7 @@ publisher = [
dashboard = [
# server.allowedHosts, which limits the dashboard to loopback host names, needs 1.61.
"streamlit>=1.61,<2",
"urllib3>=2.8.0,<3",
]
# Full public install convenience bundle.
all = [
Expand Down
Loading
Loading