Skip to content

v1.4.0

Latest

Choose a tag to compare

@obielin obielin released this 27 Nov 21:16
· 67 commits to main since this release
753d9f3

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 with curl ... | bash is 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 from owasp-asi05 to owasp-asi03, and SG-010 moves from owasp-asi04 to owasp-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 --installed finds 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/repo scans 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/ writes skillshield.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-ignore accepts 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 accept writes fingerprints for the current findings (#101).
  • skillshield scan --fail-on sets the failing threshold (critical, high, medium, low or none), as the Action already could (#173, by @pear1-pea).

MCP tool listings

  • skillshield scan recognises saved MCP tool listings (a JSON manifest, a tools/list response or a .jsonl file) 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 pattern or enum of its own (#137, by @kushaldave002).
  • SG-104, Suspicious Tool Name (HIGH): a tool named, for example, harvest_credentials or exfiltrate_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.

More attacks caught

  • SG-006 flags a script downloaded with curl or wget and piped into a shell, including bash <(curl ...), sh -c "$(curl ...)" and eval "$(wget ...)". A file saved with curl -o, a lookup such as command -v curl, or a file whose name contains "curl" is not flagged (#30, by @matheussilvano).
  • SG-006 flags exec, eval or compile run on data decoded in the same call (b64decode, bytes.fromhex, rot13, zlib.decompress, marshal.loads, atob and 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 .mdc rules, .clinerules/ contents, extensionless Cursor, Windsurf and Cline rules, and Roo Code and Zed instruction files (#124, by @arpanjot-coding).
  • scan and check honour NO_COLOR and accept --no-color (#110, by @arpanjot-coding).
  • skillshield rules --format json exports 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.py times 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 -i on versioned, quoted, escaped and Windows pip paths, such as pip3.12, "/opt/my env/bin/pip", /usr/bin/\pip and C:\Python312\Scripts\pip, and a later curl -i is 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 UnicodeEncodeError when 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).