Commit Graph

54 Commits

Author SHA1 Message Date
davida-ps 5ee8587b1e Integration/signing work (#20)
* ci: sign advisory feed and checksums in workflows

* feat(clawsec-suite): add verifier-side signature and checksum enforcement

Implements cryptographic verification for advisory feed loading:

- Ed25519 detached signature verification for feed.json
- Supports raw base64 and JSON-wrapped signature formats
- Pinned public key at advisories/feed-signing-public.pem

- SHA-256 checksum manifest (checksums.json) verification
- Signed checksums.json.sig prevents partial artifact substitution
- Verifies feed.json, feed.json.sig, and public key against manifest

- Remote feed: returns null on verification failure (triggers fallback)
- Local feed: throws on verification failure (hard fail)
- No silent bypass of verification

- CLAWSEC_ALLOW_UNSIGNED_FEED=1 temporarily bypasses verification
- Warning logged when bypass mode is enabled
- Intended for transition period only

- guarded_skill_install without --version matches any advisory for skill
- Encourages explicit version specification

- scripts/sign_detached_ed25519.mjs - signing utility
- scripts/verify_detached_ed25519.mjs - verification utility
- scripts/generate_checksums_json.mjs - checksum manifest generator
- test/feed_verification.test.mjs - 14 verification tests
- test/guarded_install.test.mjs - 6 install flow tests

- hooks/.../lib/feed.mjs - full rewrite with verification
- hooks/.../handler.ts - verification options integration
- scripts/guarded_skill_install.mjs - verification integration
- skill.json - v0.0.9, new SBOM entries, openssl requirement
- SKILL.md - signed install flow, env vars documentation
- HOOK.md - new environment variables
- ci.yml - added verification test job

Refs: fail-closed verification, Ed25519 signatures, checksum manifests

* fix: update action versions in CI workflows for improved stability

* chore(clawsec-suite): bump version to 0.0.10

* feat: enhance security measures in asset deployment and add changelog for version history

* feat: add dry-run signing for advisory artifacts and generate checksums

* fix: enhance error handling in loadRemoteFeed for security policy violations

* feat: implement Ed25519 signing and verification for advisory artifacts and checksums

* feat: implement signing and verification for advisory artifacts and checksums in workflows

* feat: update dry-run signing key generation to use Ed25519 algorithm

* feat: update Ed25519 signing and verification to use -rawin flag for compatibility

* feat: add public key copying to advisory directory and implement safe basename extraction for URLs

* feat: remove Product Hunt promotion section from README and Home page
2026-02-12 18:49:34 +02:00
davida-ps 331219eec3 Add Contributor Covenant Code of Conduct and Security policy
* Add Contributor Covenant Code of Conduct

This document outlines the expectations for behavior within the community, including pledges, standards, enforcement responsibilities, and consequences for violations.

* Create SECURITY.md for security policy and reporting

Added a security policy document outlining supported versions and vulnerability reporting procedures.

* Update CODE_OF_CONDUCT.md

Co-authored-by: baz-reviewer[bot] <174234987+baz-reviewer[bot]@users.noreply.github.com>

---------

Co-authored-by: baz-reviewer[bot] <174234987+baz-reviewer[bot]@users.noreply.github.com>
2026-02-11 11:31:18 +02:00
davida-ps 0554a7ffd2 feat: add GitHub icon to header and improve navigation toggle layout (#18) 2026-02-09 15:54:42 +02:00
davida-ps 1ff41b6127 Fix/UI phunt (#16)
* fix: update hero section heading for clarity on OpenClaw security

* fix: add Product Hunt promotion section to Home page
2026-02-09 13:18:30 +02:00
davida-ps 9e4134c63e fix: adjust layout and spacing in AdvisoryCard and FeedSetup components (#15)
* fix: adjust layout and spacing in AdvisoryCard and FeedSetup components

* fix: update README to include Product Hunt promotion and badge
2026-02-09 12:33:42 +02:00
davida-ps 2974daed6c feat: replace Shield icon with favicon in Header and adjust Home section spacing (#14) 2026-02-09 11:29:17 +02:00
davida-ps 6caef15234 chore(clawsec-suite): bump version to 0.0.9 (#13) 2026-02-09 08:39:21 +02:00
davida-ps 1429ddd241 fix: improve commit handling and rollback logic in release script (#12) 2026-02-09 08:28:29 +02:00
davida-ps 83ec542a1e feat: add clawsec-advisory-guardian hook for advisory monitoring and … (#9)
* feat: add clawsec-advisory-guardian hook for advisory monitoring and user approval

- Implemented clawsec-advisory-guardian hook to detect advisories for installed skills.
- Added handler for processing advisory matches and notifying users.
- Created scripts for setting up advisory hooks and cron jobs for periodic scans.
- Introduced guarded skill installation script requiring user confirmation for high-risk advisories.
- Updated skill.json to reflect new features and embedded components for advisory monitoring.

* chore(clawsec-suite): bump version to 0.0.8

* feat: enhance release script to support version tagging and improve install function

* fix: use globalThis for AbortController and timeout functions in loadRemoteFeed

* Update scripts/release-skill.sh

Co-authored-by: baz-reviewer[bot] <174234987+baz-reviewer[bot]@users.noreply.github.com>

* Update skills/clawsec-suite/scripts/guarded_skill_install.mjs

Co-authored-by: baz-reviewer[bot] <174234987+baz-reviewer[bot]@users.noreply.github.com>

* Update scripts/release-skill.sh

Co-authored-by: baz-reviewer[bot] <174234987+baz-reviewer[bot]@users.noreply.github.com>

* Normalize version input by removing leading 'v' in versionMatches function

* Add dirName property to InstalledSkill and update alert message paths

* Enhance file permission handling in persistState function and add warning for chmod errors

* Refactor advisory guardian hook: modularize utility functions, version handling, and feed management

- Moved utility functions (isObject, normalizeSkillName, uniqueStrings) to lib/utils.mjs
- Created version handling functions (parseSemver, compareSemver, versionMatches) in lib/version.mjs
- Implemented feed management functions (parseAffectedSpecifier, isValidFeedPayload, loadRemoteFeed) in lib/feed.mjs
- Updated handler.ts to utilize new modular functions for improved readability and maintainability
- Added new types and state management in lib/types.ts and lib/state.ts
- Updated scripts to reflect new file structure and dependencies

* Update skills/clawsec-suite/hooks/clawsec-advisory-guardian/lib/matching.ts

Co-authored-by: baz-reviewer[bot] <174234987+baz-reviewer[bot]@users.noreply.github.com>

* Add published field to Advisory type and refine version matching logic

* Set default version to "unknown" in discoverInstalledSkills and adjust versionMatches logic

* Update skills/clawsec-suite/hooks/clawsec-advisory-guardian/lib/version.mjs

Co-authored-by: baz-reviewer[bot] <174234987+baz-reviewer[bot]@users.noreply.github.com>

* Update skills/clawsec-suite/hooks/clawsec-advisory-guardian/lib/matching.ts

Co-authored-by: baz-reviewer[bot] <174234987+baz-reviewer[bot]@users.noreply.github.com>

* Update skills/clawsec-suite/hooks/clawsec-advisory-guardian/lib/version.mjs

Co-authored-by: baz-reviewer[bot] <174234987+baz-reviewer[bot]@users.noreply.github.com>

---------

Co-authored-by: baz-reviewer[bot] <174234987+baz-reviewer[bot]@users.noreply.github.com>
clawsec-suite-v0.0.8
2026-02-08 23:34:27 +02:00
davida-ps 3ffa6eed68 Refactor release asset packaging to preserve directory structure and improve checksum generation (#11) 2026-02-08 22:00:16 +02:00
davida-ps 57eeb6d8f3 Fix formatting issues in skill release workflow YAML (#10) 2026-02-08 21:17:35 +02:00
davida-ps 4542b7b96b Enhance/skill release (#8)
* Refactor skill packaging and checksum generation process

- Removed .skill package creation from the skill-release workflow and scripts, focusing on checksum generation only.
- Updated README and SKILL.md files to reflect new installation methods using clawhub.
- Simplified the skill checksums generator script to only generate checksums without packaging.
- Adjusted installation instructions across various skills to promote clawhub for easier installation.
- Enhanced error handling and verification steps in the installation scripts for individual files.

* Add ext-docs to .gitignore to exclude documentation files from version control
2026-02-08 19:18:21 +02:00
davida-ps 85966ff569 Update installation instructions and remove deprecated SKILL_URL (#7)
* Update installation instructions and remove deprecated SKILL_URL

* Remove redundant installation instruction from Home component

* Remove unused SKILL_URL import from Home component
2026-02-08 14:13:53 +02:00
davida-ps 24db3d46a4 Update README with additional live site link (#6)
* Update README with additional live site link

Added an additional link to the live site in the README.

* Fix image references in README.md

Removed duplicate mascot image and updated logo.

* Update mascot image syntax in README.md
2026-02-08 13:08:04 +02:00
davida-ps e08c91b504 Remove advisory for helper-plus prompt injection (#5)
Removed advisory for high severity prompt injection vulnerability in helper-plus skill.
2026-02-08 13:02:13 +02:00
davida-ps 57720d5493 Refactor Install Card layout and add mascot image (#4)
* Refactor Install Card layout and add mascot image

* mascot
2026-02-08 12:59:19 +02:00
davida-ps a706ef9df9 Merge pull request #3 from prompt-security/automated/nvd-cve-update-21793513607
chore: CVE advisories - 1 new, 0 updated
2026-02-08 10:12:48 +01:00
davida-ps 7f741d11da Merge branch 'main' into automated/nvd-cve-update-21793513607 2026-02-08 10:10:39 +01:00
davida-ps e9db0c48c9 Merge pull request #2 from prompt-security/automated/nvd-cve-update-21775459869
chore: CVE advisories - 1 new, 0 updated
2026-02-08 10:09:12 +01:00
davida-ps e329a71de6 Merge branch 'main' into automated/nvd-cve-update-21775459869 2026-02-08 10:07:37 +01:00
davida-ps ad8a751b77 Merge pull request #1 from prompt-security/automated/nvd-cve-update-21728874631
chore: CVE advisories - 0 new, 1 updated
2026-02-08 10:05:56 +01:00
davida-ps 186c2ec165 Merge branch 'main' into automated/nvd-cve-update-21728874631 2026-02-08 10:04:23 +01:00
davida-ps 9ae2efa2f7 chore: CVE advisories - 1 new, 0 updated
Automated update from NVD CVE feed.
Keywords: OpenClaw clawdbot Moltbot
Poll window: 2026-02-05T12:53:37Z to 2026-02-08T06:16:10.000Z
2026-02-08 06:16:29 +00:00
davida-ps 5ded815e6a chore: CVE advisories - 1 new, 0 updated
Automated update from NVD CVE feed.
Keywords: OpenClaw clawdbot Moltbot
Poll window: 2026-02-05T12:53:37Z to 2026-02-07T06:10:40.000Z
2026-02-07 06:10:59 +00:00
David Abutbul 87f80aae94 chore(soul-guardian): bump version to 0.0.2 soul-guardian-v0.0.2 2026-02-06 19:32:20 +02:00
David Abutbul c856bb6426 chore(docs): correct installation command for clawsec-suite in index.html and Home.tsx 2026-02-06 02:01:24 +02:00
David Abutbul 4783849476 chore(docs): update installation instructions for clawsec-suite in index.html and Home.tsx 2026-02-06 01:57:12 +02:00
David Abutbul 4904990500 chore(constants): update SKILL_URL to use the latest download link 2026-02-06 01:18:55 +02:00
David Abutbul c7749e6d5a chore(clawsec-suite): bump version to 0.0.6 clawsec-suite-v0.0.6 2026-02-06 01:17:24 +02:00
David Abutbul ecf715940d chore(constants, SKILL.md): update SKILL_URL to version 0.0.6 and adjust download script 2026-02-06 01:17:15 +02:00
David Abutbul 007a9cc5f4 chore(constants): update SKILL_URL to version 0.0.5 2026-02-06 00:55:02 +02:00
David Abutbul fae4444526 chore(clawsec-suite): bump version to 0.0.5 clawsec-suite-v0.0.5 2026-02-06 00:54:09 +02:00
David Abutbul db091fb8b3 chore(clawsec-feed): bump version to 0.0.4 clawsec-feed-v0.0.4 2026-02-06 00:53:56 +02:00
David Abutbul b950c7d937 chore(clawsec-suite, clawsec-feed): update installation instructions and emphasize script review 2026-02-06 00:53:43 +02:00
David Abutbul 96741196e5 chore(constants): update SKILL_URL to version 0.0.4 2026-02-06 00:40:03 +02:00
David Abutbul c31b81f24f chore(clawsec-suite): bump version to 0.0.4 clawsec-suite-v0.0.4 2026-02-06 00:36:33 +02:00
David Abutbul 8c4f7d594c chore(clawsec-feed): bump version to 0.0.3 clawsec-feed-v0.0.3 2026-02-06 00:36:03 +02:00
David Abutbul fdaa933a24 chore(clawtributor): bump version to 0.0.3 clawtributor-v0.0.3 2026-02-06 00:35:52 +02:00
David Abutbul 760e49f3e0 chore(openclaw-audit-watchdog): bump version to 0.0.4 openclaw-audit-watchdog-v0.0.4 2026-02-06 00:35:36 +02:00
David Abutbul 24b5bf9f1b chore(openclaw-audit-watchdog): bump version to 0.0.3 openclaw-audit-watchdog-v0.0.3 2026-02-06 00:31:39 +02:00
David Abutbul 334731f323 chore(clawtributor): bump version to 0.0.2 clawtributor-v0.0.2 2026-02-06 00:30:59 +02:00
David Abutbul 446cc690dd chore(clawsec-feed): bump version to 0.0.2 clawsec-feed-v0.0.2 2026-02-06 00:30:33 +02:00
David Abutbul e90a6306a9 chore(clawsec-suite): bump version to 0.0.3 clawsec-suite-v0.0.3 2026-02-06 00:29:47 +02:00
David Abutbul 06ad0c2812 refactor(docs): standardize installation instructions across skills and update skill descriptions 2026-02-06 00:29:27 +02:00
David Abutbul 1c172d5e7d fix(constants): update SKILL_URL to point to version 0.0.2 2026-02-06 00:03:49 +02:00
David Abutbul a18d37f69b chore(clawsec-suite): bump version to 0.0.2 clawsec-suite-v0.0.2 2026-02-06 00:00:30 +02:00
David Abutbul 17311495c2 Skip bundled files during asset preparation in skill-release workflow clawsec-suite-v0.0.1 2026-02-05 23:57:55 +02:00
David Abutbul 19d0c76449 Update SKILL_URL and refine human instruction message in Home component 2026-02-05 23:50:05 +02:00
davida-ps 973b0a0016 chore: CVE advisories - 0 new, 1 updated
Automated update from NVD CVE feed.
Keywords: OpenClaw clawdbot Moltbot
Poll window: 2025-10-08T21:18:58.000Z to 2026-02-05T21:18:58.000Z
2026-02-05 21:19:17 +00:00
David Abutbul 8c91b43911 Remove unused environment variables from skill-release workflow clawtributor-v0.0.1 clawsec-feed-v0.0.1 2026-02-05 22:49:41 +02:00