Chuyển đến nội dung
Skillpedia
Agent48k · #3686

agentic-actions-auditor

Skill này làm gì

Công cụ này kiểm tra các workflow GitHub Actions (những tự động hóa tác vụ) của bạn xem có lỗ hổng bảo mật khi dùng trí tuệ nhân tạo hay không. Nó tìm các cách mà kẻ tấn công có thể đánh lừa AI.

Khi nào nên dùng

  • ✓Khi bạn dùng công cụ AI như Claude Code trong workflow của mình.
  • ✓Khi muốn rà soát mức độ an toàn của cách workflow xử lý thông tin.
  • ✓Khi muốn kiểm tra xem kẻ tấn công có thể gửi thông tin nguy hiểm đến AI hay không.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agentic-actions-auditor/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/agentic-actions-auditor/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

“Kiểm tra bảo mật các workflow GitHub của tôi có dùng Claude Code.”

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

Cách hoạt động

Công cụ phân tích các file cấu hình workflow của bạn. Nó tìm các mẫu có thể cho phép thông tin do kẻ tấn công kiểm soát đi đến AI, kể cả khi điều đó không rõ rà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.

Supporting material availability

This AAS tree bundles the inline methodology only. The contributed guide named a foundations file, action profiles, cross-file resolution and nine vector reference files, but those files and an independently verified upstream source are absent. Do not claim they were read. Apply the inline checks below and report unsupported action-version details as unverified; recover external materials only from a verified source with a confirmed license.

Agentic Actions Auditor

Static security analysis guidance for GitHub Actions workflows that invoke AI coding agents. This skill teaches you how to discover workflow files locally or from remote GitHub repositories, identify AI action steps, follow cross-file references to composite actions and reusable workflows that may contain hidden AI agents, capture security-relevant configuration, and detect attack vectors where attacker-controlled input reaches an AI agent running in a CI/CD pipeline.

When to Use

  • Auditing a repository's GitHub Actions workflows for AI agent security
  • Reviewing CI/CD configurations that invoke Claude Code Action, Gemini CLI, or OpenAI Codex
  • Checking whether attacker-controlled input can reach AI agent prompts
  • Evaluating agentic action configurations (sandbox settings, tool permissions, user allowlists)
  • Assessing trigger events that expose workflows to external input (pull_request_target, issue_comment, etc.)
  • Investigating data flow from GitHub event context through env: blocks to AI prompt fields

When NOT to Use

  • Analyzing workflows that do NOT use any AI agent actions (use general Actions security tools instead)
  • Reviewing standalone composite actions or reusable workflows outside of a caller workflow context (use this skill when analyzing a workflow that references them via uses:)
  • Performing runtime prompt injection testing (this is static analysis guidance, not exploitation)
  • Auditing non-GitHub CI/CD systems (Jenkins, GitLab CI, CircleCI)
  • Auto-fixing or modifying workflow files (this skill reports findings, does not modify files)

Rationalizations to Reject

When auditing agentic actions, reject these common rationalizations. Each represents a reasoning shortcut that leads to missed findings.

1. "It only runs on PRs from maintainers" Wrong because it ignores pull_request_target, issue_comment, and other trigger events that expose actions to external input. Attackers do not need write access to trigger these workflows. A pull_request_target event runs in the context of the base branch, not the PR branch, meaning any external contributor can trigger it by opening a PR.

2. "We use allowed_tools to restrict what it can do" Wrong because tool restrictions can still be weaponized. Even restricted tools like echo can be abused for data exfiltration via subshell expansion (echo $(env)). A tool allowlist reduces attack surface but does not eliminate it. Limited tools != safe tools.

3. "There's no ${{ }} in the prompt, so it's safe" Wrong because this is the classic env var intermediary miss. Data flows through env: blocks to the prompt field with zero visible expressions in the prompt itself. The YAML looks clean but the AI agent still receives attacker-controlled input. This is the most commonly missed vector because reviewers only look for direct expression injection.

4. "The sandbox prevents any real damage" Wrong because sandbox misconfigurations (danger-full-access, Bash(*), --yolo) disable protections entirely. Even properly configured sandboxes leak secrets if the AI agent can read environment variables or mounted files. The sandbox boundary is only as strong as its configuration.

Audit Methodology

Follow these steps in order. Each step builds on the previous one.

Step 0: Determine Analysis Mode

If the user provides a GitHub repository URL or owner/repo identifier, use remote analysis mode. Otherwise, use local analysis mode (proceed to Step 1).

URL Parsing

Extract owner/repo and optional ref from the user's input:

Input Format Extract
owner/repo owner, repo; ref = default branch
owner/repo@ref owner, repo, ref (branch, tag, or SHA)
https://github.com/owner/repo owner, repo; ref = default branch
https://github.com/owner/repo/tree/main/... owner, repo; strip extra path segments

…

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

“GitHub Actions workflow” là gì?

Đây là các script tự động hóa tác vụ trên GitHub, như kiểm thử code hoặc phát hành code.

“Prompt injection” là gì?

Đó là khi kẻ tấn công cố khiến AI thực thi lệnh hoặc tiết lộ thông tin không nên, bằng cách gửi dữ liệu độc hại làm đầu vào.

Công cụ này có tự động sửa lỗi không?

Không, nó chỉ xác định các vấn đề bảo mật và báo cho bạn.

Chi tiết

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

Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Detects attack vectors where attacker-controlled input reaches AI agents running in CI/CD pipelines.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#3686
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ự