fix: bump scanner versions so cached verdicts re-scan with the new exception
Some checks failed
Deploy Site / deploy-vercel (push) Has been cancelled
Deploy Site / deploy-docs (push) Has been cancelled
Skills Index Freshness Check / check-freshness (push) Has been cancelled
Skills Index Freshness Check / check-catalog-cors (push) Has been cancelled
auto-fix lint issues & formatting / Generate eslint --fix patch (push) Has been cancelled
auto-fix lint issues & formatting / Apply patch (push) Has been cancelled

The verdict cache is keyed on SCANNER_VERSION / PLUGIN_SCANNER_VERSION. Without
a bump, a skill or plugin already cached as dangerous for one of the public
Solana program ids keeps that cached verdict after upgrading. Same practice as
4e03f4581a and 1bb5b3d67bbe; the existing
test_cached_verdict_rescans_after_scanner_version_bump covers the re-scan.
This commit is contained in:
Teknium
2026-11-13 04:14:37 -08:00
parent fd6c6fcb10
commit ff279c7ed0
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ from tools.skills_guard import (
Finding, ScanResult, SUSPICIOUS_BINARY_EXTENSIONS, _determine_verdict, format_scan_report,
scan_file)
PLUGIN_SCANNER_VERSION = "plugin-guard-v12"
PLUGIN_SCANNER_VERSION = "plugin-guard-v13"
# Never scanned: VCS internals, caches, vendored envs.
EXCLUDED_DIRS = {

View File

@@ -22,7 +22,7 @@ from typing import List, Tuple
from tools.skills_guard_credentials import SKILL_ONLY_PATTERNS, code_views, raise_provider_key_reads
SCANNER_VERSION = "skills-guard-v13"
SCANNER_VERSION = "skills-guard-v14"
# NVIDIA-verified skills each ship a signed `skill.oms.sig` + governance `skill-card.md`.
TRUSTED_REPOS = {