Skip to content

ClawSecCheck v1.7.0

Choose a tag to compare

@github-actions github-actions released this 22 Jun 11:37
· 14 commits to main since this release

Paste-ready remediation (--fix). The exact fix commands were already in each finding's prose;
now they're extracted into a copy-paste block. ClawSecCheck stays read-only β€” --fix only
prints remediation; it never applies anything (the name promises a check). Config fixes are given
as set <dotted-path> β†’ <value> guidance so you edit your own openclaw.json, never a
paste-over JSON blob that could clobber neighbouring keys.

Added

  • --fix view β€” prints paste-ready remediation for current FAIL/WARN findings: exact shell
    commands (allowlisted verbs only β€” chmod/openclaw, no destructive or network commands) and
    config path+value guidance. Header states plainly that ClawSecCheck does not apply them.
  • catalog.REMEDIATION + remediation_for(id) β€” single source of truth, authored only for
    checks with a safe, deterministic, grounded fix (config dotted paths verified against the real
    schema, Β§4). Checks needing manual review keep their prose fix.
  • --json exposes "remediation": {commands, config} per finding; SARIF results carry a
    fixes array (description-only β€” no artifactChanges, since nothing is auto-edited).

Notes

  • Additive only β€” no verdict, score, or check behaviour changed; grades unchanged on the fixture
    corpus. A safety test enforces the command allowlist (no rm/curl/sudo/pipes/etc.).
  • Workspace-specific paths use documented <placeholder> forms rather than auto-substituting a
    path guessed from evidence (never chmod the wrong thing, Β§5).
  • Out of scope (deliberately): an auto-apply --apply (would need to be opt-in and
    confirmation-gated, Β§2) and a paste-over JSON patch (clobber risk).