mirror of
https://github.com/rohitg00/skillkit.git
synced 2026-11-19 02:13:58 +00:00
Ships supply-chain content integrity for the SkillKit ecosystem (phase 1 of issue #90): - New @skillkit/core integrity module computes a deterministic SHA-256 digest over every file in a skill (excluding .skillkit.json metadata, VCS artifacts, editor noise) and emits a Subresource Integrity string (sha256-<base64>). 50 MB safety cap. - New `skillkit verify <path>` CLI with --expected, --against-lock, --files, --format sri|hex, --json. - `skillkit publish` now writes an `integrity` field per skill into .well-known/skills/index.json. - `skillkit install` and `skillkit update` record the full SRI digest into ~/.skillkit/lock.json (graceful fallback to legacy short checksum if integrity computation fails). - Docs: fumadocs security.mdx retitled "Security & Integrity" with a full verify section; commands.mdx + index.mdx updated; website Commands.tsx + Features.tsx surface the new feature and comparison matrix row. - Root CHANGELOG.md added. Phase 1 (content hashing) is the response to the ClawHavoc Q1 2026 supply-chain campaign and OWASP Agentic Skills Top 10 guidance. Phase 2 (ed25519 signing + publisher key registry) is tracked separately. Tests: 11 unit tests for the integrity module, 5 CLI E2E tests for `skillkit verify`. All 25 task suites green; typecheck clean.