Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bagelhole avatar

Security Automation

  • 97 installs
  • 44 repo stars
  • Updated May 22, 2026
  • bagelhole/devops-security-agent-skills

Security Automation is a Claude Code skill that automates security workflows, remediation, and SOAR playbooks to scale DevSecOps operations.

About

This skill automates security workflows and remediation for DevSecOps. A developer uses it to build a security pipeline with secret scanning, SAST, dependency and container scans, plus automated remediation and SOAR playbooks. It includes compliance-as-code via Checkov custom checks. The SKILL.md is concise and mostly a set of starter templates.

  • Security pipeline: secret scanning, SAST, dependency and container scans
  • Automated remediation (e.g. blocking public S3 access)
  • SOAR playbooks and compliance-as-code with Checkov

Security Automation by the numbers

  • 97 all-time installs (skills.sh)
  • Ranked #1,023 of 2,203 Security skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

security-automation capabilities & compatibility

Capabilities
security audit · ci cd · devops
Works with
github · aws · cloudflare
Use cases
security audit · ci cd
Pricing
Free
From the docs

What security-automation says it does

Automate security operations for scale and efficiency.
SKILL.md
"""Remove public access from S3 bucket."""
SKILL.md
name: Suspicious Login Response
SKILL.md
npx skills add https://github.com/bagelhole/devops-security-agent-skills --skill security-automation

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs97
repo stars44
Last updatedMay 22, 2026
Repositorybagelhole/devops-security-agent-skills

What it does

Automate a DevSecOps security pipeline with scanning, remediation, SOAR playbooks, and compliance-as-code.

Who is it for?

Teams scaling security operations with automated pipelines and remediation.

Skip if: Deep single-tool configuration (see the SAST or SBOM skills for depth).

When should I use this skill?

You are building a security pipeline, automated remediation, or SOAR playbooks.

What you get

Security scanning, remediation, and response run automatically in the pipeline.

  • Security pipeline workflow
  • Auto-remediation script
  • SOAR playbook and Checkov custom check

By the numbers

  • sample pipeline chains 5 security stages (secret scan, SAST, dependency, container, compliance)

Files

SKILL.mdMarkdownGitHub ↗

Security Automation

Automate security operations for scale and efficiency.

Security Pipeline

# .github/workflows/security.yml
name: Security Pipeline

on: [push, pull_request]

jobs:
  security:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      
      - name: Secret Scanning
        uses: trufflesecurity/trufflehog@main
        
      - name: SAST
        uses: returntocorp/semgrep-action@v1
        
      - name: Dependency Scan
        run: npm audit --audit-level=high
        
      - name: Container Scan
        uses: aquasecurity/trivy-action@master
        with:
          scan-type: 'fs'
          
      - name: Compliance Check
        run: |
          checkov -d . --framework terraform

Automated Remediation

# Auto-remediation script
def remediate_public_s3(bucket_name):
    """Remove public access from S3 bucket."""
    s3 = boto3.client('s3')
    s3.put_public_access_block(
        Bucket=bucket_name,
        PublicAccessBlockConfiguration={
            'BlockPublicAcls': True,
            'IgnorePublicAcls': True,
            'BlockPublicPolicy': True,
            'RestrictPublicBuckets': True
        }
    )

SOAR Integration

playbook:
  name: Suspicious Login Response
  trigger: alert.type == "suspicious_login"
  actions:
    - enrich_ip:
        source: threat_intel
    - if_condition: ip.is_malicious
      then:
        - block_ip:
            firewall: cloudflare
        - disable_user:
            duration: 1h
        - notify:
            channel: security
        - create_ticket:
            priority: high

Compliance as Code

# Checkov custom check
from checkov.terraform.checks.resource.base_resource_check import BaseResourceCheck

class S3Encryption(BaseResourceCheck):
    def __init__(self):
        name = "Ensure S3 bucket has encryption enabled"
        id = "CUSTOM_S3_1"
        supported_resources = ['aws_s3_bucket']
        super().__init__(name=name, id=id, ...)
    
    def scan_resource_conf(self, conf):
        if 'server_side_encryption_configuration' in conf:
            return CheckResult.PASSED
        return CheckResult.FAILED

Best Practices

  • Start with high-impact automations
  • Test in staging first
  • Include manual review gates
  • Monitor automation effectiveness
  • Regular rule updates

Related Skills

  • github-actions - CI/CD automation
  • policy-as-code - Policy enforcement

Related skills

FAQ

What does the security pipeline include?

Secret scanning (TruffleHog), SAST (Semgrep), dependency scanning (npm audit), container scanning (Trivy), and Checkov compliance checks.

Does it automate remediation?

Yes, it includes a sample script that removes public access from an S3 bucket automatically.

Securityappseccomplianceaudit

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.