Repository navigation
Upgrade notes
Two changes can make a scan fail where it passed before:
- A file's risk level is now at least the severity of its worst finding, so a file with one HIGH finding is reported HIGH, not MEDIUM.
skillshield scanon that file, and the GitHub Action at its defaultfail-on: high, now fail (#25). - Compiled Python (
.pyc,.pyo) is reported wherever it is, including in a committed.venv. A repository that commits a virtual environment will fail the Action atfail-on: high(#42).
Added
- SG-013, Untrusted Package Registry (HIGH): flags
pip,npmoryarnpointed at a registry other than the official one (--index-url,--extra-index-url,pip install -i,--registry,PIP_INDEX_URL, npm and yarn config, or apip.conf,.npmrcor.pypircoverride), which lets a later install pull the attacker's packages (OWASP AST02) (#46, by @Logic769). - SG-014, Compiled Python Payload (HIGH): flags
.pycand.pyofiles in a skill, and notes when the matching.pysource is missing. Bytecode runs directly but cannot be reviewed (#42, by @Logic769). - SG-015, Well-known Skill Name Impersonation (MEDIUM): flags a skill whose frontmatter
nameis a near-copy of a well-known skill name, such ascllawhub,clawhub1orpolymarket-pro. The names are insrc/skillshield/data/well_known_names.txt(#57, by @Lexus-099). - SG-006 flags base64 data decoded and piped into a shell (
base64 -d | bashand similar), whatever the length of the encoded string, the execution trigger in the ClawHavoc campaign (#43, by @Logic769). - SG-008 flags bidirectional control characters (Trojan Source, CVE-2021-42574) and names each character and line (#55, by @Lark-Alfen).
- Files a scan skips are listed as unscanned in text, JSON and SARIF output and in the Action's job summary. The job summary lists at most 50 entries per section, with full totals.
- A red-team corpus (
tests/fixtures/redteam/,tests/test_redteam.py) of 31 defanged malicious skills, 4 safe look-alikes and a skill folder that hides its payload outsideSKILL.md, with known gaps tracked as issues. docs/threat-coverage.md, mapping each published attack technique to its source and SkillShield's coverage; [ROADMAP.md](ROADMAP.md); and a Limitations section in the README.
Changed
- The package, CLI and Action descriptions now say SkillShield flags known attack patterns.