Skip to content

v0.3.1

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 18:05

Changed

  • The plugin now lives in plugin/, not the repository root, and
    marketplace.json points at ./plugin. The plugin directory refuses .py, .sh and
    CLAUDE.md files from non-Verified organizations, so authoring-only tooling
    (tools/check-verification.py, .claude/CLAUDE.md, .github/) moved outside the
    submitted folder. Installing via /plugin marketplace add crowdsecurity/crowdsec-skill
    is unchanged.
  • tools/check-verification.py now requires --root and no longer inspects SKILL.md.
  • Repo setup downloads the signing key and .repo file to a path, then acts on it, instead
    of piping the download straight into gpg/tee (install/bare-metal.md,
    configure/bouncers/web-servers.md). Verified on Ubuntu 26.04: the keyring is
    byte-identical to the one the piped form produced.

Fixed

  • Repo setup downloads into a private mktemp -d directory instead of a fixed /tmp path, and
    chains the import behind &&. /tmp is world-writable, so the predictable filename let any
    local user create the file first: the download then failed against their file while the next
    line, running as root, imported its contents as an apt trust anchor. The RHEL .repo variant
    was worse — that file carries baseurl and gpgcheck. Affects install/bare-metal.md and
    configure/bouncers/web-servers.md; the same pattern in
    appsec/bot-detection/deploy.md was changed too, where the risk was a diagnostic reading a
    planted file rather than privilege escalation.
  • gpg --dearmor in both apt repo-setup blocks now passes --yes. Without it, re-running
    the block once the keyring exists stops at an overwrite prompt and fails on a
    non-interactive shell. This affected the piped form too.
  • configure/bouncers/web-servers.md names the apt-get update error an unsupported
    apache codename produces (does not have a Release file), which precedes the
    no-candidate symptom already described.

Added

  • install/bare-metal.md explains why the apt-cache policy check matters on Ubuntu: the
    distro ships its own crowdsec in universe, so a repo that failed to register installs
    that instead of erroring.

Removed

  • The verified: frontmatter block in crowdsec-service-api/SKILL.md. A router carries
    name: and description: only; the record it held is kept by
    references/authentication.md.

Added

  • skills/crowdsec-hub-authoring/ — new skill for writing, testing and reviewing
    crowdsecurity/hub items: parsers, scenarios, whitelists/postoverflows, collections and
    contexts, AppSec rules/virtual patches, cscli hubtest tests and a PR review checklist.
    Registered in plugin.json. Every reference doc is verified (env: hubtest, CrowdSec
    1.8.2) by running its examples through cscli hubtest / cscli explain.
  • Release workflow attaches crowdsec-hub-authoring-skill-vX.Y.Z.zip for the claude.ai uploader.
  • references/appsec/bot-detection/ — bot detection / AppSec challenge mode (CrowdSec 1.8):
    overview.md (PoW + fingerprint model, challenge envelope, event vocabulary, bouncer
    support), deploy.md (bundle choice, glob acquisition, bouncer wiring, four-step smoke
    test), configure.md (the challenge: block, multi-instance master_secret, difficulty
    levels), customize.md (hook/helper matrix, exemptions, MatchKnownBot datafiles,
    fingerprint scoring, custom scenarios), troubleshoot.md (10 symptoms + metrics reading).
  • CONTRIBUTING.md and .github/ISSUE_TEMPLATE/ (bug report, coverage request,
    routing config).
  • README.md — Reference docs index linking each references/ area.

Changed

  • Install docs (install/bare-metal.md, operate/upgrades.md, configure/bouncers/web-servers.md)
    add the packagecloud repos explicitly (GPG key + apt source / dnf .repo) instead of piping
    install.crowdsec.net or script.deb.sh into a root shell.
  • check-verification.py accepts hubtest as a canonical env; the validate workflow runs it
    on every skill under skills/, not only skills/crowdsec.
  • Contributor conventions moved from the root CLAUDE.md to .claude/CLAUDE.md (still loaded by
    Claude Code in this repo; no longer flagged as unloaded plugin context).
  • SKILL.md — bot-detection routing rows, boundary row, trigger phrases in description,
    and a new Step 1.6 — Feature compatibility table holding minimum engine versions and
    feature prerequisites in one place.
  • references/appsec/{overview,configure,deploy,troubleshoot}.md — challenge action,
    on_challenge / on_challenge_submit hooks, and pointers into bot-detection/.
  • references/configure/bouncers/web-servers.md — per-bouncer bot-detection capability column.
  • README.md — title and opening rewritten to state what the plugin is and which agents it
    targets; version badge now reads plugin.json at render time; emoji removed from headings
    so anchors are stable; marketplace/plugin/skill naming stated explicitly.
  • CLAUDE.md — install/ layout row lists pfsense.md.

Fixed

  • references/install/console.md — cscli console enroll enables manual and context
    (with tainted); the share_* false defaults only apply to never-enrolled engines.
  • README.md — Install row said OpnSense; the install doc covers pfSense. OPNsense/FreeBSD
    is covered under configure/ and appsec/, not install/.
  • README.md — doc link pointed at doc.crowdsec.net; now docs.crowdsec.net throughout.