Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"metadata": {
"description": "Claude Code skills for earning Security Slam project badges.",
"version": "0.0.10"
"version": "0.1.0"
},
"plugins": [
{
Expand Down
73 changes: 73 additions & 0 deletions .github/workflows/publish-results.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Publishes the OSPS Baseline results for this repository to grc.store, for the
# Mechanizer and Defender badges. Written from the mechanizer skill's
# assets/publish-results.yml. Publishes only once security-slam/skills is bound
# as a trusted publisher on the eddie-knight namespace.
name: Publish OSPS Baseline results to grc.store

on:
workflow_dispatch:
inputs:
dry-run:
description: "Run the scan but publish nothing (bundles land in the pvtr-bundles artifact)"
type: boolean
default: false
push:
branches: [main]
schedule:
- cron: "17 6 * * 1" # Weekly, Mondays 06:17 UTC
# Never pull_request: the hub stores one log per target and catalog every
# ten minutes and refuses the rest with rate_limited. A release trigger is
# also allowed, but a release usually follows a push inside that window, so
# pick one of the two.

permissions: {}

jobs:
version:
runs-on: ubuntu-latest
permissions:
contents: read # Read the latest release tag
outputs:
version: ${{ steps.tag.outputs.version }}
steps:
- name: Latest release tag
id: tag
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
tag=$(gh release view --repo "$GITHUB_REPOSITORY" --json tagName --jq .tagName 2>/dev/null || echo v0.0.0)
echo "version=${tag#v}" >> "$GITHUB_OUTPUT"

results:
needs: version
permissions:
contents: read # The scanner reads this repository through the job token
id-token: write # Trusted publishing to the hub and the Sigstore signing identity
# The called workflow's report job declares it, and GitHub checks every
# called job at startup, even one that upload-sarif: false skips.
security-events: write
# By tag, not SHA, on purpose: the hub compares the signing certificate's
# workflow ref to this exact tag and rejects a SHA-pinned call.
uses: revanite-io/pvtr-publish-results/.github/workflows/publish.yml@v1 # zizmor: ignore[unpinned-uses] the hub requires the tag
with:
target: eddie-knight/skills@${{ needs.version.outputs.version }}
license: CC0-1.0 # SPDX expression the result is published under
dry-run: ${{ inputs.dry-run == true }}
secrets:
# Inline because the plugin reads its token only from these config vars.
# The job token is read-only and scoped to this repository; settings it
# cannot read (org MFA, some admin settings) report "Needs Review".
config: |
targets:
skills:
plugin: openssf/github-repo
policy:
catalogs:
- osps-baseline
applicability:
- maturity-1 # The project's Baseline level: maturity-1, maturity-2, or maturity-3
vars:
owner: security-slam
repo: skills
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion CRA-READINESS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CRA Readiness

This project voluntarily documents its security practices using the Security Slam
[CRA Readiness checklist](https://securityslam.com/library/cra-readiness), aligned
[CRA Readiness checklist](https://securityslam.com/library/cra-readiness-guide), aligned
with the EU [Cyber Resilience Act](https://openssf.org/public-policy/eu-cyber-resilience-act/).

## Disclaimer
Expand Down
40 changes: 28 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,23 @@ That question runs `slam-status`, which is read-only. It reports where you stand

## Status

Early preview. The skills work end to end on four repositories, and each one earned evidence for all six badges using the skills:
Early preview. The Spring 2026 versions of the skills ran end to end on four repositories, and each one earned evidence for all six badges using the skills. The Fall 2026 badge pages moved Mechanizer and Defender evidence to [grc.store](https://grc.store), and no repository has been through that flow with the skills yet:

| Repository | What it is | Baseline Level 1 |
| --- | --- | --- |
| [security-slam/skills](https://github.com/security-slam/skills) | This repository: Markdown and YAML, released on each plugin change | [bestpractices.dev](https://www.bestpractices.dev/projects/15132/baseline-1) |
| [security-slam/website](https://github.com/security-slam/website) | A TypeScript site with npm dependencies, deployed and released on every merge, with existing Gemara catalogs | [bestpractices.dev](https://www.bestpractices.dev/projects/15142/baseline-1) |
| [privateerproj/privateer](https://github.com/privateerproj/privateer) | A Go CLI that ships release binaries with GoReleaser | [bestpractices.dev](https://www.bestpractices.dev/projects/15145/baseline-1) |
| [privateerproj/privateer-sdk](https://github.com/privateerproj/privateer-sdk) | A Go library that inherits its security policy and contributing guide from an org `.github` repository | [bestpractices.dev](https://www.bestpractices.dev/projects/12018/baseline-1) |
| Repository | What it is | Baseline scan | grc.store target |
| --- | --- | --- | --- |
| [security-slam/skills](https://github.com/security-slam/skills) | This repository: Markdown and YAML, released on each plugin change | [Scanner action](https://github.com/security-slam/skills/actions/workflows/osps-baseline.yaml) | Pending first run: [`publish-results.yaml`](.github/workflows/publish-results.yaml) publishes to `eddie-knight/skills`, a personal namespace bound to this repository |
| [security-slam/website](https://github.com/security-slam/website) | A TypeScript site with npm dependencies, deployed and released on every merge, with existing Gemara catalogs | [Scanner action](https://github.com/security-slam/website/actions/workflows/osps-baseline.yaml) | Not yet |
| [privateerproj/privateer](https://github.com/privateerproj/privateer) | A Go CLI that ships release binaries with GoReleaser | Scanner action | Not yet |
| [privateerproj/privateer-sdk](https://github.com/privateerproj/privateer-sdk) | A Go library that inherits its security policy and contributing guide from an org `.github` repository | Scanner action | Not yet |

The Spring bestpractices.dev Baseline Level 1 entries ([skills](https://www.bestpractices.dev/projects/15132/baseline-1), [website](https://www.bestpractices.dev/projects/15142/baseline-1), [privateer](https://www.bestpractices.dev/projects/15145/baseline-1), [privateer-sdk](https://www.bestpractices.dev/projects/12018/baseline-1)) stay up but no longer count toward Defender.

Tested with Claude Code (plugin marketplace) and Codex (installed with `npx skills`). On privateer-sdk, Codex picked `slam-status` from a plain question and produced the same report as Claude Code.

Not yet tested:

- The grc.store publish workflow (`mechanizer` option 2) and the `defender` flow that reads the published result. Both were written against a working run on [revanite-io/pvtr-aws-s3](https://github.com/revanite-io/pvtr-aws-s3), not against a run the skills produced.
- The GV and VM documentation controls `chronicler` now covers, and drafting from the OSPS Templates.
- Projects that publish container images or registry packages.
- OSPS Baseline Level 2 and 3 paths, such as release signing, SBOMs (software bills of materials), and release verification docs. All four repositories stopped at Level 1.
- The prose self-assessment option of `inspector`, and its hand-off to the gemara-ai plugin.
Expand All @@ -56,6 +60,16 @@ If a skill gets something wrong on your project, please [report it](CONTRIBUTING

## Install

### Prerequisites

Every skill starts by running the OSPS Baseline scanner locally, so the report starts from real results instead of inference. That needs three tools on your `PATH`:

- [`gh`](https://cli.github.com), signed in. The scanner reads the repository with your token, read-only.
- [`pvtr`](https://github.com/privateerproj/pvtr), the Privateer CLI: `brew install privateerproj/tap/pvtr`, or the install script in its README. The skills install and update the `openssf/github-repo` scanner plugin themselves.
- [`yq`](https://github.com/mikefarah/yq) to read the results.

The `cleaner` skill also needs [`cue`](https://cuelang.org) to validate the Security Insights file.

### Claude Code

From inside Claude Code:
Expand Down Expand Up @@ -93,14 +107,14 @@ Not sure where a project stands? Run `slam-status` first. Otherwise start with C
| Skill | Badge requirement |
| --- | --- |
| `cleaner` | Complete and validate the project's Security Insights YAML file. |
| `chronicler` | Complete every OSPS Baseline documentation control (OSPS-DO) for the project's maturity level. |
| `chronicler` | Complete every documentation-shaped OSPS Baseline control (DO, GV, and VM) for the project's maturity level, drafting policies from the OpenSSF OSPS Templates. |
| `inspector` | Complete a Gemara threat assessment or an OSPS self-assessment. |
| `mechanizer` | Automate Baseline evaluation and publish results: 100% on LFX Insights or zero failures from the OSPS Baseline GitHub Action. |
| `defender` | Meet the OSPS Baseline for the project's maturity level and earn the bestpractices.dev Baseline badge. |
| `cra` | Implement voluntary EU Cyber Resilience Act (CRA) readiness practices and publish a readiness checklist with a disclaimer. |
| `mechanizer` | Wire a live, recurring OSPS Baseline scan into the default branch, as the scanner action or the grc.store publish workflow, and record it in Security Insights. |
| `defender` | Reach a passing OSPS Baseline result for the project's maturity level, published on grc.store, with Security Insights evidence for the controls the scanner cannot check. |
| `cra` | Voluntary EU Cyber Resilience Act (CRA) readiness. Details for this badge will be released on October 12, 2026, and the skill says so until then. |
| `slam-status` | Check a repo against all six badges at once and recommend which one to work on next. Read-only. |

Your agent picks a skill when your request matches its description. You can also ask for one by name, for example "use the cleaner skill". In Claude Code, `/cleaner` works too.
Every skill begins with a local run of the OSPS Baseline scanner over each repository in the project, and infers only what the scanner cannot check. Your agent picks a skill when your request matches its description. You can also ask for one by name, for example "use the cleaner skill". In Claude Code, `/cleaner` works too.

The individual recognitions (Security Advocate, Security Champion, Advisor) go to people, not projects, so they have no skills.

Expand All @@ -111,6 +125,8 @@ The individual recognitions (Security Advocate, Security Champion, Advisor) go t
| OSPS Baseline | 2026-08-28 |
| Security Insights schema | 2.2.0 |
| Gemara schema | 1.5.0 |
| grc.store publish workflow (`revanite-io/pvtr-publish-results`) | `v1` |
| OSPS Baseline scanner plugin (`openssf/github-repo` on grc.store) | latest at run time; `0.31.0` tested |

The `inspector` skill hands Gemara authoring to the [gemara-ai](https://github.com/gemaraproj/gemara-ai) plugin when it is installed, and explains how to migrate catalogs written for Gemara 0.19.x.

Expand Down
2 changes: 1 addition & 1 deletion security-slam-skills/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "security-slam-skills",
"description": "One skill per Security Slam project badge: Cleaner, Chronicler, Inspector, Mechanizer, Defender, and CRA, plus a status check across all six.",
"version": "0.0.10",
"version": "0.1.0",
"author": {
"name": "Security Slam",
"url": "https://securityslam.com"
Expand Down
Loading
Loading