Repository navigation
Upgrade notes
Some changes can make a scan fail where it passed before:
- At the default threshold (
--fail-on high), a directory scan exits 1 when any file is CRITICAL or HIGH, as a single-file scan does. Before, a folder whose only problem was HIGH exited 0 (#83, by @ShahadatTest). - Many more attacks are caught, several of them at CRITICAL or HIGH: instruction overrides in eleven more languages,
curl ... | bash, code run from decoded data, a skill told to replace itself with downloaded content, text hidden in Unicode tag characters or emoji variation selectors, and Base64 payloads. A skill that tells its users to install withcurl ... | bashis now flagged CRITICAL. - More files are scanned: Cursor, Windsurf, Cline, Roo Code and Zed rule files, and saved MCP tool listings. A malformed tool listing is reported as unreadable and exits 2.
- Three OWASP tags changed: SG-003 adds
owasp-asi05, SG-007 moves fromowasp-asi05toowasp-asi03, and SG-010 moves fromowasp-asi04toowasp-asi09. If you filter findings by tag, check your filters.
After reviewing a finding you trust, accept it with a reason in a .skillshield-ignore file, which is new in this release.
Added
Checking skills you have, and keeping track of them
skillshield scan --installedfinds and scans the skills already installed for Claude Code, Codex, OpenCode and OpenClaw, and groups the report by agent and skill. A folder that exists but cannot be read is reported, so an incomplete scan cannot look clean (#92, by @JoaoSilvaIT).skillshield scan https://github.com/owner/reposcans a repository, branch or subfolder before you install it. The archive is downloaded to a temporary folder with size, file-count and path-safety limits, and deleted afterwards (#100, by @mafujahmedridoy22-commits).skillshield lock skills/writesskillshield.lock, with a SHA-256 hash of every file in each skill and its risk level at lock time. Locking again gives a byte-identical file when nothing changed (#174, by @seung-waedet)..skillshield-ignoreaccepts a reviewed finding with a required reason: by rule ID and path glob, or by the finding's fingerprint. Accepted findings leave the score and exit code but are still counted, listed with--show-accepted, and kept in SARIF as suppressions. A rule entry cannot accept a CRITICAL finding, and on the command line the file is only read with--ignore-file, so a downloaded skill cannot accept its own findings.skillshield acceptwrites fingerprints for the current findings (#101).skillshield scan --fail-onsets the failing threshold (critical,high,medium,lowornone), as the Action already could (#173, by @pear1-pea).
MCP tool listings
skillshield scanrecognises saved MCP tool listings (a JSON manifest, atools/listresponse or a.jsonlfile) and checks each tool, reporting findings on the line where the tool starts. The text rules still run on the raw file (#138).- SG-103, Unrestricted Path Parameter (HIGH): a filesystem path parameter with no
patternorenumof its own (#137, by @kushaldave002). - SG-104, Suspicious Tool Name (HIGH): a tool named, for example,
harvest_credentialsorexfiltrate_data(#138, by @jay23606). - SG-105, Tool with No Description or Input Schema (MEDIUM) (#139, by @jay23606).
- SG-106, Excessive Tool Count (LOW): a server with more than 50 tools (#140, by @kushaldave002).
- Defanged example listings in
tests/fixtures/mcp/: three safe servers and one malicious listing per MCP rule (#141, by @ununto).
Prompt injection in more languages (SG-001)
Each language has its own phrase list, leaves negated and merely descriptive sentences alone, and is skipped quickly on text it cannot match, so English files scan about as fast as before.
- Chinese (Simplified and Traditional) and Japanese (#66, by @ppcvote), and Korean (#122, by @ppcvote).
- French (#115), Spanish (#116), Portuguese (#118), German (#117), Arabic (#121) and Hindi, in Devanagari and in Latin letters (#123), by @MaxonT.
- Italian (#119, by @mrCabez).
- Russian (#120, by @pear1-pea).
More attacks caught
- SG-006 flags a script downloaded with
curlorwgetand piped into a shell, includingbash <(curl ...),sh -c "$(curl ...)"andeval "$(wget ...)". A file saved withcurl -o, a lookup such ascommand -v curl, or a file whose name contains "curl" is not flagged (#30, by @matheussilvano). - SG-006 flags
exec,evalorcompilerun on data decoded in the same call (b64decode,bytes.fromhex, rot13,zlib.decompress,marshal.loads,atoband more), however short the payload (#105, by @sarankumar1325). - SG-006 flags an instruction to download content and replace this skill with it. An ordinary edit, a "how to" description and a negated instruction are not flagged (#35, by @joelabarbera).
- SG-004 flags a named human persona ("You are Sarah, a human support agent") and an instruction to deny being an AI when asked (#34, by @erSpell).
- SG-002 flags code that sends the whole environment (
dict(os.environ),JSON.stringify(process.env)) over HTTP (#33, by @matheussilvano). - SG-008 flags Unicode tag characters (ASCII smuggling), and the text hidden in them is decoded and scanned with every rule (#54, by @matheussilvano).
- SG-008 flags runs of invisible emoji variation selectors, which can carry hidden bytes (#107, by @jay23606).
- Base64 text is decoded and read with the text rules, so an instruction hidden in an encoded payload is found. A payload over the size limit marks the scan incomplete, with a warning in text and JSON output and in the Action (#29, by @Neeraj111010).
Output and the command line
- Directory scans include Cursor
.mdcrules,.clinerules/contents, extensionless Cursor, Windsurf and Cline rules, and Roo Code and Zed instruction files (#124, by @arpanjot-coding). scanandcheckhonourNO_COLORand accept--no-color(#110, by @arpanjot-coding).skillshield rules --format jsonexports the rule metadata (#111, by @arpanjot-coding).- JSON output includes each finding's
tags, so findings can be filtered by OWASP risk.
Changed
- Every rule is tagged with the OWASP Top 10 for Agentic Applications and the OWASP Agentic Skills Top 10, and the README maps each rule to both.
- SG-001 and SG-011 are faster on large files: SG-011 checks file and network access first (#144, by @cardtable), and the French, Spanish, Portuguese and German checks search a lowercase copy of the text (part of #144).
tests/bench_large_files.pytimes each rule on large inputs. - The README's test badge is GitHub's live CI status (#108, by @Noblesse013), and the README explains how to scan MCP tool listings (#142, by @duy-dev-26).
Fixed
- SG-003 only flags explicit requests for elevated system privileges, not routine support escalation or admin-access wording (#8, by @arpanjot-coding).
- Findings from multiline and repeated matches report every starting line in text, JSON and SARIF output (#9, by @Mr-Neutr0n).
- SG-013 recognises
pip install -ion versioned, quoted, escaped and Windows pip paths, such aspip3.12,"/opt/my env/bin/pip",/usr/bin/\pipandC:\Python312\Scripts\pip, and a latercurl -iis never read as pip's-i(by @arin30). - SG-001 no longer flags a negated Chinese instruction when the negation carries a phrase such as "under any circumstances" before the verb (#99, by @shounakjoshi88-a11y).
- SG-008 keeps decoded variation-selector bytes in order when the snippet is cut short (#132, by @jay23606).
skillshield scan -reads stdin as UTF-8, as a file is read. On Windows, a skill piped in with Chinese or Japanese text could scan as SAFE (by @ppcvote).- A text report no longer stops with
UnicodeEncodeErrorwhen stdout cannot encode a file name or snippet; before, the exit code of 1 read as a CRITICAL or HIGH result (by @ppcvote). - A test covers the 50-snippet cap on line-number lookups (#112, by @Noblesse013).