Skip to content

Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.

fix(security): update SkillSpector to latest release 2.13.4 (#512)

Narendran Raghavanc564469d40c6
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 83b60066..8fc9c5e6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -81,6 +81,13 @@ All notable changes to SkillEvaluator are documented in this file.
### Changed
+- Update the managed SkillSpector scanner and Tier 1 CI image from 2.13.3 to
+ the latest release, 2.13.4, with matching verified wheel and source hashes.
+ This fixes false LP1 findings for scoped `allowed-tools` grants and improves
+ recovery of malformed LLM responses. SkillSpector 2.13.4 can still report
+ JSON files containing a `timeout` key as partial analysis; those scans
+ remain incomplete rather than being treated as successful.
+
- The rubric judge's reference supplement budget is configurable through
`SKILLEVALUATOR_RUBRIC_SUPPLEMENT_BYTES` and defaults to one mebibyte instead
of 30,000 bytes, which a real linked guide graph outgrows. Required linked
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
index eaeee527..a8ad46a4 100644
--- a/THIRD_PARTY_NOTICES.md
+++ b/THIRD_PARTY_NOTICES.md
@@ -57,7 +57,7 @@ license is retained at `/usr/local/share/licenses/gitleaks/LICENSE`.
| Tool | Pinned source | License |
| --- | --- | --- |
| Semgrep | [v1.182.0](https://github.com/semgrep/semgrep/tree/v1.182.0) | LGPL-2.1 |
-| SkillSpector | [38a1dfe](https://github.com/NVIDIA/SkillSpector/tree/38a1dfe93325d2f8bfcd4f8d0241eed706334915) | Apache-2.0 |
+| SkillSpector | [5482446](https://github.com/NVIDIA/SkillSpector/tree/54824463814a0be01360792523ec7245a69190fc) | Apache-2.0 |
| Gitleaks | [v8.30.0](https://github.com/gitleaks/gitleaks/tree/v8.30.0) | MIT |
## Unicode security data
diff --git a/ci/requirements/skillspector.in b/ci/requirements/skillspector.in
index 2afbd995..216ffc40 100644
--- a/ci/requirements/skillspector.in
+++ b/ci/requirements/skillspector.in
@@ -1,2 +1,2 @@
-skillspector @ https://github.com/NVIDIA/SkillSpector/archive/38a1dfe93325d2f8bfcd4f8d0241eed706334915.tar.gz
+skillspector @ https://github.com/NVIDIA/SkillSpector/archive/54824463814a0be01360792523ec7245a69190fc.tar.gz
hatchling==1.31.0
diff --git a/ci/requirements/skillspector.txt b/ci/requirements/skillspector.txt
index da3933f7..fb72e196 100644
--- a/ci/requirements/skillspector.txt
+++ b/ci/requirements/skillspector.txt
@@ -936,8 +936,8 @@ shellingham==1.5.4 \
six==1.17.0 \
--hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \
--hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
-skillspector @ https://github.com/NVIDIA/SkillSpector/archive/38a1dfe93325d2f8bfcd4f8d0241eed706334915.tar.gz \
- --hash=sha256:c503337dd2e0e3a600149a6ab33a7cfa3d88e9869c2cfaff3eb1dbb77e68e29e
+skillspector @ https://github.com/NVIDIA/SkillSpector/archive/54824463814a0be01360792523ec7245a69190fc.tar.gz \
+ --hash=sha256:562349db9ef4084cfe2f18707de3d942c5b94e221162c314c795e4501fabc07d
sniffio==1.3.1 \
--hash=sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2 \
--hash=sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc
@@ -1009,6 +1009,53 @@ tiktoken==0.14.0 \
--hash=sha256:f3d6cf93fbe2e7117eb7bedca684216fbe328a41f0843ce34245451d8eb2df1c \
--hash=sha256:f5e7665f6624e052e5e7f6a36919ab69279decdc976d7b16b4fa15e1897d0513 \
--hash=sha256:f702e0aeeb6506e57687e881c59e844ebe8f0a6a097ddafe20e3ab25f387be4e
+tree-sitter==0.25.2 \
+ --hash=sha256:0628671f0de69bb279558ef6b640bcfc97864fe0026d840f872728a86cd6b6cd \
+ --hash=sha256:0c8b6682cac77e37cfe5cf7ec388844957f48b7bd8d6321d0ca2d852994e10d5 \
+ --hash=sha256:1799609636c0193e16c38f366bda5af15b1ce476df79ddaae7dd274df9e44266 \
+ --hash=sha256:20b570690f87f1da424cd690e51cc56728d21d63f4abd4b326d382a30353acc7 \
+ --hash=sha256:260586381b23be33b6191a07cea3d44ecbd6c01aa4c6b027a0439145fcbc3358 \
+ --hash=sha256:3e65ae456ad0d210ee71a89ee112ac7e72e6c2e5aac1b95846ecc7afa68a194c \
+ --hash=sha256:44488e0e78146f87baaa009736886516779253d6d6bac3ef636ede72bc6a8234 \
+ --hash=sha256:463c032bd02052d934daa5f45d183e0521ceb783c2548501cf034b0beba92c9b \
+ --hash=sha256:4973b718fcadfb04e59e746abfbb0288694159c6aeecd2add59320c03368c721 \
+ --hash=sha256:49ee3c348caa459244ec437ccc7ff3831f35977d143f65311572b8ba0a5f265f \
+ --hash=sha256:56ac6602c7d09c2c507c55e58dc7026b8988e0475bd0002f8a386cce5e8e8adc \
+ --hash=sha256:65d3c931013ea798b502782acab986bbf47ba2c452610ab0776cf4a8ef150fc0 \
+ --hash=sha256:6d0302550bbe4620a5dc7649517c4409d74ef18558276ce758419cf09e578897 \
+ --hash=sha256:72a510931c3c25f134aac2daf4eb4feca99ffe37a35896d7150e50ac3eee06c7 \
+ --hash=sha256:7712335855b2307a21ae86efe949c76be36c6068d76df34faa27ce9ee40ff444 \
+ --hash=sha256:7d2ee1acbacebe50ba0f85fff1bc05e65d877958f00880f49f9b2af38dce1af0 \
+ --hash=sha256:a0ec41b895da717bc218a42a3a7a0bfcfe9a213d7afaa4255353901e0e21f696 \
+ --hash=sha256:a925364eb7fbb9cdce55a9868f7525a1905af512a559303bd54ef468fd88cb37 \
+ --hash=sha256:b3d11a3a3ac89bb8a2543d75597f905a9926f9c806f40fcca8242922d1cc6ad5 \
+ --hash=sha256:b3f63a1796886249bd22c559a5944d64d05d43f2be72961624278eff0dcc5cb8 \
+ --hash=sha256:b43a9e4c89d4d0839de27cd4d6902d33396de700e9ff4c5ab7631f277a85ead9 \
+ --hash=sha256:b878e296e63661c8e124177cc3084b041ba3f5936b43076d57c487822426f614 \
+ --hash=sha256:b8ca72d841215b6573ed0655b3a5cd1133f9b69a6fa561aecad40dca9029d75b \
+ --hash=sha256:b8d4429954a3beb3e844e2872610d2a4800ba4eb42bb1990c6a4b1949b18459f \
+ --hash=sha256:bd88fbb0f6c3a0f28f0a68d72df88e9755cf5215bae146f5a1bdc8362b772053 \
+ --hash=sha256:bda059af9d621918efb813b22fb06b3fe00c3e94079c6143fcb2c565eb44cb87 \
+ --hash=sha256:c0c0ab5f94938a23fe81928a21cc0fac44143133ccc4eb7eeb1b92f84748331c \
+ --hash=sha256:c2f8e7d6b2f8489d4a9885e3adcaef4bc5ff0a275acd990f120e29c4ab3395c5 \
+ --hash=sha256:cc0351cfe5022cec5a77645f647f92a936b38850346ed3f6d6babfbeeeca4d26 \
+ --hash=sha256:d77605e0d353ba3fe5627e5490f0fbfe44141bafa4478d88ef7954a61a848dae \
+ --hash=sha256:dd12d80d91d4114ca097626eb82714618dcdfacd6a5e0955216c6485c350ef99 \
+ --hash=sha256:ddabfff809ffc983fc9963455ba1cecc90295803e06e140a4c83e94c1fa3d960 \
+ --hash=sha256:eac4e8e4c7060c75f395feec46421eb61212cb73998dbe004b7384724f3682ab \
+ --hash=sha256:f5ddcd3e291a749b62521f71fc953f66f5fd9743973fd6dd962b092773569601 \
+ --hash=sha256:fbb1706407c0e451c4f8cc016fec27d72d4b211fdd3173320b1ada7a6c74c3ac \
+ --hash=sha256:fe43c158555da46723b28b52e058ad444195afd1db3ca7720c59a254544e9c20
+tree-sitter-javascript==0.25.0 \
+ --hash=sha256:199d09985190852e0912da2b8d26c932159be314bc04952cf917ed0e4c633e6b \
+ --hash=sha256:1b852d3aee8a36186dbcc32c798b11b4869f9b5041743b63b65c2ef793db7a54 \
+ --hash=sha256:329b5414874f0588a98f1c291f1b28138286617aa907746ffe55adfdcf963f38 \
+ --hash=sha256:622a69d677aa7f6ee2931d8c77c981a33f0ebb6d275aa9d43d3397c879a9bb0b \
+ --hash=sha256:8264a996b8845cfce06965152a013b5d9cbb7d199bc3503e12b5682e62bb1de1 \
+ --hash=sha256:9dc04ba91fc8583344e57c1f1ed5b2c97ecaaf47480011b92fbeab8dda96db75 \
+ --hash=sha256:b70f887fb269d6e58c349d683f59fa647140c410cfe2bee44a883b20ec92e3dc \
+ --hash=sha256:dfcf789064c58dc13c0a4edb550acacfc6f0f280577f1e7a00de3e89fc7f8ddc \
+ --hash=sha256:e5ed840f5bd4a3f0272e441d19429b26eedc257abe5574c8546da6b556865e3c
trove-classifiers==2026.9.21.13 \
--hash=sha256:0a9ebc8d4e2f3e8a22848c5258033035bec17a3012ac3fea16dbaa764489eb71 \
--hash=sha256:8b1ff4f9c191b1040b71c37f1e445ab99732911e3cd91de52838453a854d7a17
diff --git a/docs/ci-integration.mdx b/docs/ci-integration.mdx
index 2052f8d0..f903d994 100644
--- a/docs/ci-integration.mdx
+++ b/docs/ci-integration.mdx
@@ -74,7 +74,7 @@ jobs:
- name: Install external Python scanners
run: |
uv tool install semgrep
- uv tool install git+https://github.com/NVIDIA/[email protected]
+ uv tool install git+https://github.com/NVIDIA/[email protected]
- name: Install Gitleaks
run: |
diff --git a/docs/installation.mdx b/docs/installation.mdx
index 9e3ce0bb..fddc6205 100644
--- a/docs/installation.mdx
+++ b/docs/installation.mdx
@@ -186,7 +186,7 @@ and environment backends.
<Note>
Tier 1 provisions the external security scanners in their own environments, so their dependency stacks do not constrain the SkillEvaluator distribution:
-- **SkillSpector:** when no executable is found, Tier 1 downloads the 2.13.3 release wheel once into the SkillEvaluator runtime folder, verifies its SHA-256 checksum, and runs it with `uv tool run`. The first run needs uv and network access; later runs use the uv cache.
+- **SkillSpector:** when no executable is found, Tier 1 downloads the 2.13.4 release wheel once into the SkillEvaluator runtime folder, verifies its SHA-256 checksum, and runs it with `uv tool run`. The first run needs uv and network access; later runs use the uv cache.
- **Semgrep:** optional. When it is installed, Code Risk Analysis adds its rules to Bandit; when it is not, the check notes it was skipped. Set `SKILLEVALUATOR_REQUIRE_SEMGREP=1` to report a missing Semgrep as `INCOMPLETE` (the Tier 1 CI image does).
- **Gitleaks:** on first use, SkillEvaluator downloads the pinned 8.30.0 release into its runtime folder and verifies its SHA-256 checksum. There is no prompt, so CI runs install it too. Linux and macOS only.
@@ -194,7 +194,7 @@ Installed executables take precedence. To use your own, put them on `PATH` or se
```bash title="Optional: preinstall the scanners"
uv tool install semgrep
-uv tool install git+https://github.com/NVIDIA/[email protected]
+uv tool install git+https://github.com/NVIDIA/[email protected]
brew install gitleaks # or a binary from https://github.com/gitleaks/gitleaks/releases
```
@@ -203,6 +203,10 @@ Docker is required only for Tier 3 Docker-mode evaluation. Agent CLIs and their
`skillevaluator health-check --tier 1` reports the path and version of each installed scanner and exits non-zero when one is missing, misconfigured, or older than the supported release. Add `--checks security,code-integrity,dependency` to include pip-audit.
</Note>
+SkillSpector 2.13.4 can report JSON files containing a `timeout` key as partial
+analysis. SkillEvaluator keeps these scans incomplete; inspect the scanner
+diagnostics before treating the skill as validated.
+
## Verify your install
Two commands tell you whether the install landed:
diff --git a/docs/tier1-validation.mdx b/docs/tier1-validation.mdx
index f8a241b8..c41a2edc 100644
--- a/docs/tier1-validation.mdx
+++ b/docs/tier1-validation.mdx
@@ -76,7 +76,7 @@ for skills. Its Tier 1 LLM checks still run only when requested.
```bash title="Complete offline Tier 1"
brew install gitleaks semgrep
- uv tool install git+https://github.com/NVIDIA/[email protected]
+ uv tool install git+https://github.com/NVIDIA/[email protected]
skillevaluator validate ./my-skill --tiers 1
```
@@ -299,7 +299,7 @@ For `validate`, the default set is `schema`, `version`, `security`, `pii`, `lice
SkillSpector records the same row when it could not parse part of the manifest or read only its first 2,048 hook, permission and settings records. How much of that SkillEvaluator can see depends on the release:
- v2.13.4 reports `observed_records` and `limit_records` on the row. SkillEvaluator accepts the row only when `observed_records` equals the BH1 `declaration_count` and does not exceed `limit_records`. A manifest with more records than SkillSpector reads, or with a hook handler it counted but could not parse, therefore stays `INCOMPLETE`. So does a settings file with permission rules, `env` or other settings beside its hooks, because SkillSpector counts those records too. A part it does not count, such as a hook group that is not an object, is not visible and gets the Critical.
- - v2.13.3, the release SkillEvaluator installs, does not report them. SkillEvaluator then refuses only a BH1 that counts 2,048 or more declarations, because SkillSpector may have cut that manifest short. A manifest that SkillSpector parsed only in part, such as one with a malformed handler beside a valid one, gets the same Critical as a manifest it read in full, and still fails.
+ - v2.13.3 does not report them. SkillEvaluator then refuses only a BH1 that counts 2,048 or more declarations, because SkillSpector may have cut that manifest short. A manifest that SkillSpector parsed only in part, such as one with a malformed handler beside a valid one, gets the same Critical as a manifest it read in full, and still fails.
**Incomplete referenced artifacts.** SkillSpector reports a High **Incomplete referenced artifact analysis (AE1)** finding at each line that names a file it did not completely inspect. Releases before v2.12.0 leave the finding's name empty, so SkillEvaluator names it by its rule instead of `Unknown (AE1)`. A `severity_overrides` entry for these findings uses `SECURITY.Incomplete referenced artifact analysis (AE1)`; one keyed on `SECURITY.Unknown (AE1)` no longer matches. The finding's suggestion names the file, its disposition (`partial`, `failed`, `out_of_scope` or `uninspected`) and each reason SkillSpector gives: the reason code, such as `static_parse_limit` or `read_error`, the analyzers, the line in the file, the message and any limits, such as `limit_characters=8000`. The suggestion is part of the finding's `finding_id`, so it leaves out the run time and the time budget (`observed_seconds`, `limit_seconds`), which differ from run to run; the metadata keeps them. Reasons that differ only in the analyzer, the run time or the time budget are listed once. SkillSpector's own remedy is kept. Releases before v2.12.0 give no reasons in the finding and a generic remedy that says to make the file available: SkillEvaluator then reads the reasons from the report's `analysis_completeness` rows for that file and gives a remedy for a parse limit, a read error, or any other reason. Without such a row the finding keeps SkillSpector's text. The finding's metadata records the file, its disposition and up to 16 reasons under `skillspector_evidence`, with `reasons_truncated` when SkillSpector gave more, and up to 128 reference lines under `skillspector_occurrences`. In a folder of skills each reference line's `file` starts with the skill's `[name]` prefix, like the finding's own path, and `target_path` stays relative to that skill. Text with control characters is left out, credential-shaped text is masked, and a path outside the scanned target is dropped.
@@ -802,10 +802,10 @@ Tier 1 checks always gate the exit code inside `validate`. Tier 2 gates when it
Install it with `brew install gitleaks` or download a binary from the official [Gitleaks releases](https://github.com/gitleaks/gitleaks/releases).
</Accordion>
<Accordion title="A scanner is missing">
- Bandit installs with SkillEvaluator; reinstall it if Bandit is missing. Install pip-audit with `skillevaluator[security]`. Install Semgrep separately with `brew install semgrep` or `uv tool install semgrep`, and SkillSpector with `uv tool install git+https://github.com/NVIDIA/[email protected]`. Required scanner failures remain `INCOMPLETE` until the scanner is installed and returns valid evidence. `skillevaluator doctor --tier 1` lists every scanner the selected checks need, with its resolved path and version.
+ Bandit installs with SkillEvaluator; reinstall it if Bandit is missing. Install pip-audit with `skillevaluator[security]`. Install Semgrep separately with `brew install semgrep` or `uv tool install semgrep`, and SkillSpector with `uv tool install git+https://github.com/NVIDIA/[email protected]`. Required scanner failures remain `INCOMPLETE` until the scanner is installed and returns valid evidence. `skillevaluator doctor --tier 1` lists every scanner the selected checks need, with its resolved path and version.
</Accordion>
<Accordion title="SkillSpector reports incomplete analysis for a valid helper script">
- SkillSpector releases before v2.13.1 can stop inspecting a valid Python or Perl helper early and record a `static_parse_limit`, `obfuscated_instruction_text`, or `runtime_limit` ledger exception. The security check is then `INCOMPLETE`, often with a High **Incomplete referenced artifact analysis (AE1)** finding at each line that names the helper. The finding's suggestion names the helper and the reason, such as `static_parse_limit (static_patterns_tool_misuse)`. Check the installed release with `skillspector --version` and upgrade with `uv tool install git+https://github.com/NVIDIA/[email protected]`. If the exception remains after the upgrade, investigate it like any other incomplete scan.
+ SkillSpector releases before v2.13.1 can stop inspecting a valid Python or Perl helper early and record a `static_parse_limit`, `obfuscated_instruction_text`, or `runtime_limit` ledger exception. The security check is then `INCOMPLETE`, often with a High **Incomplete referenced artifact analysis (AE1)** finding at each line that names the helper. The finding's suggestion names the helper and the reason, such as `static_parse_limit (static_patterns_tool_misuse)`. Check the installed release with `skillspector --version` and upgrade with `uv tool install git+https://github.com/NVIDIA/[email protected]`. If the exception remains after the upgrade, investigate it like any other incomplete scan.
</Accordion>
<Accordion title="SkillSpector could not fully model the hooks">
With SkillSpector v2.12.0 and later, a skill, folder or hooks-only plugin
diff --git a/src/skillevaluator/utils/scanner_install.py b/src/skillevaluator/utils/scanner_install.py
index b898ccb0..db55f8dc 100644
--- a/src/skillevaluator/utils/scanner_install.py
+++ b/src/skillevaluator/utils/scanner_install.py
@@ -23,12 +23,12 @@ import urllib.request
from pathlib import Path
from types import MappingProxyType
-SKILLSPECTOR_VERSION = "2.13.3"
+SKILLSPECTOR_VERSION = "2.13.4"
SKILLSPECTOR_WHEEL = f"skillspector-{SKILLSPECTOR_VERSION}-py3-none-any.whl"
SKILLSPECTOR_WHEEL_URL = (
f"https://github.com/NVIDIA/SkillSpector/releases/download/v{SKILLSPECTOR_VERSION}/{SKILLSPECTOR_WHEEL}"
)
-SKILLSPECTOR_WHEEL_SHA256 = "a421dffba5e0f966bf1baf8acd77f4750a8ece0afc5520ecf49252b4004a8577"
+SKILLSPECTOR_WHEEL_SHA256 = "c5e7f290897c65018013a6e37022fabdd2ba1aeeb4994b65df2de8b0d536bea0"
GITLEAKS_VERSION = "8.30.0"
_GITLEAKS_SHA256 = MappingProxyType(
diff --git a/tests/test_oss_packaging.py b/tests/test_oss_packaging.py
index 3aef8650..442c877c 100644
--- a/tests/test_oss_packaging.py
+++ b/tests/test_oss_packaging.py
@@ -886,13 +886,17 @@ def test_launch_docs_address_scanner_and_naming_ambiguities() -> None:
assert "are not interchangeable" in environment
-SKILLSPECTOR_RELEASE = "v2.13.3"
+SKILLSPECTOR_RELEASE = "v2.13.4"
# Tag commit of SKILLSPECTOR_RELEASE. The Tier 1 CI image installs this commit's
# source archive, so it must move together with the install instructions.
-SKILLSPECTOR_RELEASE_COMMIT = "38a1dfe93325d2f8bfcd4f8d0241eed706334915"
+SKILLSPECTOR_RELEASE_COMMIT = "54824463814a0be01360792523ec7245a69190fc"
def test_skillspector_install_instructions_pin_one_release() -> None:
+ from skillevaluator.utils.scanner_install import SKILLSPECTOR_VERSION
+
+ assert f"v{SKILLSPECTOR_VERSION}" == SKILLSPECTOR_RELEASE
+
sources = [
REPO_ROOT / "README.md",
*(REPO_ROOT / "docs").rglob("*.mdx"),
diff --git a/tests/utils/test_scanner_install.py b/tests/utils/test_scanner_install.py
index a29dd154..aba8779a 100644
--- a/tests/utils/test_scanner_install.py
+++ b/tests/utils/test_scanner_install.py
@@ -44,7 +44,7 @@ class TestSkillSpectorWheel:
monkeypatch.setattr(scanner_install, "SKILLSPECTOR_WHEEL_SHA256", hashlib.sha256(payload).hexdigest())
with (
patch("urllib.request.urlopen", return_value=io.BytesIO(payload)),
- patch("subprocess.run", return_value=CompletedProcess([], 0, "SkillSpector v2.13.3", "")) as run,
+ patch("subprocess.run", return_value=CompletedProcess([], 0, "SkillSpector v2.13.4", "")) as run,
):
assert scanner_install.prepare_skillspector("/opt/uv") is None
wheel = scanner_install.managed_skillspector_wheel()
@@ -100,7 +100,7 @@ class TestSkillSpectorWheel:
patch("subprocess.run") as run,
):
result = tool.run(["scan", "x"])
- assert result.error_message == "SkillSpector 2.13.3 download failed checksum verification"
+ assert result.error_message == "SkillSpector 2.13.4 download failed checksum verification"
run.assert_not_called()
def test_pinned_wheel_url_matches_version(self):
diff --git a/tests/utils/test_tool_runner.py b/tests/utils/test_tool_runner.py
index 414f8a03..7b0acf32 100644
--- a/tests/utils/test_tool_runner.py
+++ b/tests/utils/test_tool_runner.py
@@ -414,7 +414,7 @@ class TestExternalTool:
assert (
tool.get_install_hint() == "Install with: uv tool install "
- "https://github.com/NVIDIA/SkillSpector/releases/download/v2.13.3/skillspector-2.13.3-py3-none-any.whl"
+ "https://github.com/NVIDIA/SkillSpector/releases/download/v2.13.4/skillspector-2.13.4-py3-none-any.whl"
)
assert "[security]" not in tool.get_install_hint()