crowdsec

A collaborative security solution using CrowdSec to protect servers. Use when users request blocking malicious IPs, detecting brute-force attacks, protecting web servers, or setting up a community-driven firewall and intrusion detection system.

Last repository push
GitHub Stars
219
Forks
38
Issues / PRs
7

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "crowdsec" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d823df0c877fedfefe61d5c7971ce3c8e0acde058ae70d7e17d0b62e5b94c4cb. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A collaborative security solution using CrowdSec to protect servers. Use when users request blocking malicious IPs, detecting brute-force attacks, protecting web servers, or setting up a community-driven firewall and intrusion detection system.

0 Downloads

Introduction source: third_party · TerminalSkills · 1.0.0 Reference

SkillPi interpretation

Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: crowdsec
description: >-
  Protect servers with CrowdSec collaborative security. Use when a user asks
  to block malicious IPs, detect brute force attacks, protect web servers, or
  set up a community-driven firewall and intrusion detection system.
license: Apache-2.0
compatibility: 'Linux, Docker'
metadata:
  author: terminal-skills
  version: 1.0.0
  category: devops
  tags:
    - crowdsec
    - firewall
    - ids
    - brute-force
    - community

CrowdSec

Overview

CrowdSec is an open-source, community-driven security engine. It detects attacks (brute force, DDoS, scans) by analyzing logs and shares threat intelligence with the community. Think fail2ban but collaborative and modern.

Instructions

Step 1: Install

curl -s https://install.crowdsec.net | sudo bash
sudo apt install crowdsec crowdsec-firewall-bouncer-iptables

Step 2: Configure Collections

# Install detection scenarios
sudo cscli collections install crowdsecurity/nginx
sudo cscli collections install crowdsecurity/sshd
sudo cscli collections install crowdsecurity/linux
sudo cscli collections list

Step 3: Monitor

sudo cscli decisions list      # blocked IPs
sudo cscli alerts list         # alerts
sudo cscli metrics             # statistics

Step 4: Docker Deployment

# docker-compose.yml — CrowdSec with Nginx bouncer
services:
  crowdsec:
    image: crowdsecurity/crowdsec
    volumes:
      - /var/log/nginx:/var/log/nginx:ro
      - crowdsec_config:/etc/crowdsec
      - crowdsec_data:/var/lib/crowdsec/data
    environment:
      COLLECTIONS: "crowdsecurity/nginx crowdsecurity/http-cve"
  bouncer:
    image: crowdsecurity/nginx-bouncer
    environment:
      CROWDSEC_BOUNCER_API_KEY: your-api-key
volumes:
  crowdsec_config:
  crowdsec_data:

Guidelines

  • Free and open-source. Community shares 10M+ threat signals.
  • Bouncers enforce decisions — iptables, nginx, Cloudflare, AWS WAF.
  • Lower false positives than fail2ban due to community-validated intelligence.
  • Console (app.crowdsec.net) provides dashboard and threat visualization.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • CrowdSec 提供完整的服务器安全防护解决方案,覆盖恶意 IP 阻断、暴力破解检测等高价值运维场景
  • 社区驱动的安全引擎设计,具备 10M+ 威胁信号共享能力,显著提升安全防护效率
Trigger Precision90/100

Highlights

  • 触发词精准覆盖 CrowdSec 核心功能场景,包括防火墙设置、入侵检测、Web 服务器保护等
  • description 清晰界定使用边界,避免与其他安全工具混淆
Structure and Standards90/100

Highlights

  • 文档结构完整,包含安装、配置、监控、Docker 部署等完整生命周期指导
  • 提供端到端 Docker Compose 示例,frontmatter 元数据规范完整
Execution Reliability70/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未覆盖安装失败、网络异常、权限错误等主要异常场景的处理建议

    Recommendation: 建议补充常见错误排查指南,如网络连接失败时的替代安装方式、权限不足时的解决方案等

Highlights

  • 使用官方安装源和标准包管理工具,确保工具来源可靠性
  • Docker 配置示例完整,环境变量和卷挂载设置规范
Evidence Verifiability (mean of the first four)84/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • install.crowdsec.net

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.