Repository navigation
chore(deps): update security scanners - #2441
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
lgecse
approved these changes
Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.8.6→4.8.72.0.12→2.3.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
cisco-ai-defense/mcp-scanner (cisco-ai-mcp-scanner)
v4.8.7Compare Source
What's Changed
New Contributors
Full Changelog: cisco-ai-defense/mcp-scanner@v4.8.6...4.8.7
cisco-ai-defense/skill-scanner (cisco-ai-skill-scanner)
v2.3.1: Skill Scanner 2.3.1Compare Source
Skill Scanner 2.3.1
This release keeps the hijacked litellm 1.107.0 out of skill-scanner installs. If you install skill-scanner with pip, upgrade.
Security
litellm>=1.89.7,<2,!=1.107.0. That PyPI release was hijacked: every platform wheel dropscook.pthandsitecustomize.pyinto site-packages, and on every Python start (noimport litellmneeded) they collect environment variables, SSH, GPG and TLS keys, cloud and Kubernetes credentials, browser data and AI-assistant tokens and send them to an attacker host (JFrog write-up, BerriAI/litellm#47826). The 2.3.0 range allowed it. (#276)PyPI has removed 1.107.0, but mirrors and caches (Artifactory, pip caches) may still serve it. If
pip show litellmreports 1.107.0 in an environment where skill-scanner was installed, treat that host as compromised and rotate its credentials; the JFrog post lists the IOCs. The Homebrew formula pins litellm 1.105.1 by hash and was not affected, anduv.lockstays on 1.89.7.Changes
get_aitech_definition()andget_aisubtech_definition(), plus a generated taxonomy reference covering all 19 objectives, 44 techniques and 130 sub-techniques.threats.pykeeps one full table per analyzer, AI Defense labels included, each entry with a description. (#272)--llm-provider openrouternow resolves toopenrouter/openai/gpt-5.6-sol(OpenAI shuts downgpt-4on 2026-10-23), andgcp-vertextovertex_ai/gemini-3.8-flash(gemini-1.5-prois retired on Vertex AI). (#275)Behavior notes
Findings are unchanged.
scan_metadata.taxonomy.snapshot_sha256changes from3df746f0…to413e8ce9…because the snapshot now carries definitions, so update anything that pins it. OpenRouter and Vertex users who relied on the default model get the new one; setSKILL_SCANNER_LLM_MODELto keep a specific model.The hash-pinned
requirements.txtattached to this release locks certifi 2026.4.22, which pip-audit started flagging this week (PYSEC-2026-4320, fixed in 2026.10.19). A plainpip installresolves the newer certifi; the lock update follows in the next release.Validation
None of the changes since 2.3.0 change what the static rules detect: #272 adds definitions without changing finding output and passed the base-versus-head detection comparison, #275 changes two LLM provider default model names, and #276 changes a dependency specifier. On
c615acbthe local release gate passed pre-commit on all files and 6,062 tests (31 skipped, 1 xfailed), and the eval benchmark scored all 29 skills at 100% precision and recall.v2.3.0: Skill Scanner 2.3.0Compare Source
Skill Scanner 2.3.0
This release maps every finding to the Cisco AI Security and Safety Taxonomy, closes several ways to hide text from the frontmatter scan, and stops silently skipping symlinks and unloadable skills, while keeping the measured false-positive rate steady on the pull-request development corpus.
Changes
not_applicable, and a code that cannot be resolved isunmappedrather than guessed. New finding metadata:aitech,aitech_name,aisubtech,aisubtech_name,aitech_mappings,aisubtech_mappings,framework_mappings,taxonomy_statusandtaxonomy_source, plus scan-level counts inscan_metadata.taxonomyand SARIF result properties. (#267)SKILL.mdfrontmatter value and comment exceptallowed-tools, as the loader parses it. Quoted and complex keys, YAML aliases and merge keys, escape sequences,!!binaryvalues and values folded over several lines no longer hide text from the static rules. (#265, #268)ACTIVE_SENSITIVE_EXFILTRATION. (#264)SYMLINK_NOT_SCANNED(HIGH when the target leaves the skill root), and skills that fail to load asSKILL_LOAD_FAILEDfindings inscan-all. (#265)Behavior notes
Taxonomy codes follow taxonomy 2.0.0, so some change: jailbreak rules move from
AITech-2.1toAITech-1.1/AISubtech-1.1.5, and hardcoded secrets fromAISubtech-8.2.2toAISubtech-14.1.1. TheAITech-99.9/AISubtech-99.9.9placeholders are no longer emitted. Update any filters on 1.x codes.scan-allnow reports folders with unloadable skills or symlinks as findings instead of skipping them, so SARIF, markdown output and--fail-on-severityexit codes include them.Validation
The PR detection-impact gate compares base and head on the same labelled development records and fixed real-skill sample, enforcing a 0.5 percentage point FPR-rise limit. Across this release, benign flags stayed at 14/1,338 (1.05%) and real-skill flags at 130/2,000, while development-split recall rose from 31.43% to 31.94%. The exact-SHA release evidence and mandatory release gate passed 3,551 checks. The release holdout compares CEL-off and active modes of this revision; both flagged 23/545 benign samples (4.22%), and holdout recall (7.75%) and macro-F1 (35.41%) are unchanged from 2.2.2.
v2.2.2: Skill Scanner 2.2.2Compare Source
Skill Scanner 2.2.2
This release improves static detection while keeping the measured false-positive rate steady on the pull-request development corpus.
Changes
PG_PII_CREDIT_CARDfrom treating digits in decimal fractions as card numbers.SKILL_SCANNER_ADJUDICATOR_LLM_MAX_TOKENS.Behavior notes
A shell prompt marker by itself no longer captures a command on the next line; prompt and command must share a line. The adjudicator's reasoning default is now disabled and can be overridden with
SKILL_SCANNER_ADJUDICATOR_LLM_REASONING_EFFORT.Validation
The PR detection-impact gate compares base and head on the same labelled development records and fixed real-skill sample, enforcing a 0.5 percentage point FPR-rise limit. On the combined change, benign flags stayed at 14/1,338 (1.05%) and real-skill flags at 130/2,000. The exact-SHA release evidence and mandatory release gate passed 3,551 checks. The release holdout compares CEL-off and active modes of this revision; both flagged 23/545 benign samples (4.22%).
v2.2.1Compare Source
A patch release with a security fix for untrusted archives and Markdown, report-format fixes, and a working Homebrew formula. Upgrading from 2.2.0 is recommended.
Security
.tar.gzcould expand to 20 MB with no finding. The scanner now copies the TAR payload through a bounded buffer and checks every member before it writes anything. The checks cover member count, declared size, compression ratio, path traversal and links. An archive over a limit raisesARCHIVE_ZIP_BOMB(CRITICAL) and nothing is extracted.Fixes
#,?,%, spaces and non-ASCII file names no longer become fragments, queries or the wrong file. Absolute paths are emitted asfile:URIs withouturiBaseId, as SARIF §3.4.4 requires.brew tap cisco-ai-defense/skill-scanner https://github.com/cisco-ai-defense/skill-scanner && brew install cisco-ai-defense/skill-scanner/skill-scanner. Each release now gets a reproducible formula, and the unusedrustbuild dependency, about 2.3 GB withllvm, is gone.Behavior changes
ARCHIVE_ZIP_BOMB(CRITICAL) and is not extracted. Previously it was expanded silently.artifactLocation.urivalues for paths with reserved or non-ASCII characters are now percent-encoded, and absolute paths arefile:URIs withouturiBaseId. Tools that match SARIF paths as raw strings should decode them.Detection impact on the development split and a 2,000-skill real-skill sample was unchanged: recall 31.45% to 31.43%, FPR unchanged at 1.05%, and real-skill flag rate unchanged at 6.50%.
Full Changelog: cisco-ai-defense/skill-scanner@2.2.0...2.2.1
v2.2.0Compare Source
Highlights
A setup guide built from measurements. Recommended Settings lists setups by goal. Every recommended setup runs the LLM judge. Results on MaliciousSkillBench's held-out split (839 malicious, 545 benign), judge on Gemma 4 26B-A4B:
balanced+ judge, review MEDIUM+low-noise+ judge, review MEDIUM+quiet+ judge, review MEDIUM+quiet+ judge, block HIGH+New
low-noiseandquietpresets (#230). They demote the rules that most often flag harmless real skills, and cap the judge's low-confidence findings (low_confidence_max_severity) and contextual-risk findings (contextual_risk_max_severity).quietrequires the judge.A stronger judge (#230). A new prompt separates a skill's purpose from misuse. Repair of a self-contradicting SAFE verdict is on by default, and
--llm-decomposeruns one focused pass per concern. Bedrock structured output and meta-analyzer schema wiring are fixed.Current default model:
claude-sonnet-5-5, orbedrock/us.anthropic.claude-sonnet-5-5on Bedrock (#241). The old default,claude-3-5-sonnet-20241022, is retired. Temperature is left out for models that reject it. Sonnet 5.5, Opus 5.5 and Fable 5.1 get plain JSON output with the schema in the prompt.Scoped suppressions for rules, by skill and path (#223).
New providers:
SKILL_SCANNER_LLM_PROVIDER=openai-compatible.Detection:
descriptionandwhen_to_useare scanned (#229).SUPPLY_CHAIN_REGISTRY_REDIRECTrule (HIGH) andUNDECLARED_NETWORK_DESTINATIONrule (LOW) (#236).package.json(#228).Pre-commit can run the judge: set
use_llm,llm_modelandllm_providerin.skill_scannerrc(#241).Reusable workflow (#241): new
scanner_version,llm_provider,llm_base_urlandaws_regioninputs. Abedrock/model installs the[bedrock]extra, and configuration errors are reported separately from findings.Docs (#240):
Behavior changes
--use-llm,--use-behavioraland--enable-metafail closed. If the requested analyzer can't be built (no key, missing extra, unknown provider), the scan exits 2 with the fix in the message, and the REST API returns 400. Previously the scan ran rules only and exited 0.--fail-on-severity.SKILL_SCANNER_LLM_REPAIR_INCONSISTENT_VERDICT=0.FILE_MAGIC_MISMATCHcan be LOW when only a text label disagrees with the extension.descriptionandwhen_to_useare now scanned by the core rules, YARA and the active-directive rules. Opt-in packs still scan the body only.Fixes
scan-all --recursive --lenientno longer splits a skill's Markdown subfolders into separate skills (#238).--adjudicateresolves credentials for every provider (#233).priority_orderno longer fails the batch (#224).actions: read(#221).Measured figures and methodology: https://huggingface.co/spaces/Vineethsain/skill-scanner-vs-skillspector and Measured results.
Full Changelog: cisco-ai-defense/skill-scanner@2.1.0...2.2.0
v2.1.0Compare Source
What's Changed
Full Changelog: cisco-ai-defense/skill-scanner@2.0.14...2.1.0
v2.0.14Compare Source
What's Changed
Full Changelog: cisco-ai-defense/skill-scanner@2.0.13...2.0.14
v2.0.13Compare Source
What's Changed
New Contributors
Full Changelog: cisco-ai-defense/skill-scanner@2.0.12...2.0.13