Chuyển đến nội dung
Skillpedia
Bảo mật48k · #5697

security-automation

Skill này làm gì

Tool này giúp tự động hóa các tác vụ bảo mật trong môi trường công nghệ của bạn. Nó có thể quét code, tìm thông tin nhạy cảm bị lộ và phản hồi sự cố tự động.

Khi nào nên dùng

  • ✓Khi bạn cần quét code để tìm lỗ hổng bảo mật.
  • ✓Khi bạn muốn tìm thông tin nhạy cảm bị lộ ngoài ý muốn.
  • ✓Khi có một sự kiện bảo mật xảy ra và bạn muốn AI thực hiện các hành động ban đầu.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/security-automation/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/security-automation/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tự động quét bảo mật code của tôi và báo cho tôi nếu phát hiện điều gì.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Tool thiết lập các kiểm tra tự động chạy khi bạn gửi code mới. Nó cũng có thể được cấu hình để phản hồi các cảnh báo bảo mật, như chặn một địa chỉ IP đáng ngờ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 (github-actions) - CI/CD automation
  • policy-as-code (policy-as-code) - Policy enforcement

When to Use

  • You need the security workflow covered by this skill (secrets, scanning, network defense, operations, AI security) inside an authorized scope.

Limitations

  • Apply guidance only within authorized scope; test destructive steps in non-production first.
  • Docs-only import: upstream scripts and templates not bundled.

Example

# Read-only first: inventory before any active step.
which <tool> && <tool> --help | head -n 20

Adapted from BagelHole/DevOps-Security-Agent-Skills (MIT); frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance. Docs-only import: helper scripts and templates not bundled.

Câu hỏi thường gặp

“Quy trình bảo mật” (security pipelines) là gì?

Đó là chuỗi các bước tự động kiểm tra bảo mật code và hệ thống, chẳng hạn tìm bí mật hoặc lỗ hổng.

“Tự động khắc phục” là gì?

Đó là khi tool tự hành động để sửa một vấn đề bảo mật, chẳng hạn gỡ quyền truy cập công khai ở nơi lẽ ra không nên có.

“SOAR” là gì?

SOAR là viết tắt của 'Security Orchestration, Automation and Response', tức điều phối, tự động hóa và phản hồi bảo mật. Đó là khả năng phối hợp và tự động hóa việc phản ứng với các sự cố bảo mật.

Chi tiết

Mô tả gốc của tác giả

Automate security workflows and remediation. Build security pipelines, automate compliance checks, and implement SOAR capabilities. Use when scaling security operations or implementing DevSecOps.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5697
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự