본문으로 건너뛰기
cccskills
무료GitHub에 공개

skill-security-auditor

Security audit and vulnerability scanning for AI agent skills before install. Detects prompt injection, dangerous code, exfiltration, credential harvesting, and supply chain risks. Use when evaluating untrusted skills or gating installs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(7)

  • SKILL.md6.6 KB
  • references/audit-output-and-workflow.md4.5 KB
  • references/quality-and-best-practices.md4.4 KB
  • references/threat-model-and-patterns.md6.5 KB
  • scripts/code_scanner.py15.1 KB
  • scripts/prompt_injection_scanner.py16.7 KB
  • scripts/supply_chain_checker.py14.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Skill Security Auditor

Scan and audit AI agent skills for security risks before installation. Performs static analysis on code files for dangerous patterns, scans markdown files for prompt injection, validates dependency supply chains, checks file system boundaries, and detects obfuscation. Produces a structured PASS / WARN / FAIL verdict with findings categorized by severity and actionable remediation guidance.

Keywords: skill security, AI security, prompt injection, code audit, supply chain, dependency scanning, data exfiltration, credential harvesting, obfuscation detection, pre-install security

Core Capabilities

  • Code execution risk detection — command injection (os.system, subprocess shell=True, backticks), eval/exec/compile, obfuscation (base64/hex/chr()), network exfiltration, credential harvesting (~/.ssh, ~/.aws), privilege escalation.
  • Prompt injection detection — system-prompt overrides, role hijacking, safety bypass, hidden zero-width/HTML-comment instructions, data-extraction directives, excessive-permission requests.
  • Supply chain analysis — known-vulnerable pins, typosquatting, unpinned versions, inline pip/npm install, low-reputation packages.
  • File system & structure validation — out-of-scope paths, hidden/credential files, unexpected binaries, escaping symlinks, oversized payloads.
  • Verdict & reporting — PASS / WARN / FAIL with severity-categorized findings, remediation, and a strict mode for CI gates.

When to Use

  • Evaluating a skill from an untrusted source before installation
  • Pre-install security gate for CI/CD pipelines
  • Auditing a skill directory or git repository for malicious code
  • Reviewing skills before adding them to a team's approved list
  • Post-incident scanning of installed skills

Clarify First

Before the audit, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Target path — the skill file or directory to scan (the subject of every scanner)
  • Scan dimensions — code execution / prompt injection / supply chain (selects which of the three scanners run)
  • Strict mode / gate threshold — whether any HIGH finding forces FAIL (CI gate vs advisory report changes the verdict)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

ToolPurposeCommand
code_scanner.pyScan Python scripts for eval/exec, subprocess, network exfiltration, credential harvesting, obfuscation, unsafe importspython scripts/code_scanner.py <target> --strict --json
prompt_injection_scanner.pyScan markdown/text for prompt-injection patterns and hidden directivespython scripts/prompt_injection_scanner.py <target> --strict --json
supply_chain_checker.pyCheck imports/requirements for typosquatting, unpinned versions, inline installspython scripts/supply_chain_checker.py <target> --strict --json

All tools take a target (file or directory), and support --strict (any HIGH → FAIL) and --json.

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • references/threat-model-and-patterns.md — the attack-vector threat model, trust boundaries, full regex pattern sets for code-execution and prompt-injection detection, and known evasion techniques. Read when deciding what to scan for or tuning detection.
  • references/audit-output-and-workflow.md — the report format, verdict criteria (incl. strict mode), CI/CD integration YAML, and the manual audit checklist. Read when producing or interpreting an audit.
  • references/quality-and-best-practices.md — static-analysis limitations, common pitfalls, best practices, troubleshooting matrix, and success criteria. Read before shipping or relying on an audit.

Scope & Limitations

This skill covers:

  • Static pattern-based detection of dangerous code constructs in Python, Bash, JavaScript, and TypeScript files
  • Prompt injection scanning across all markdown files within a skill package
  • Dependency supply chain validation for requirements.txt and package.json
  • File structure boundary checks including symlinks, binaries, hidden files, and oversized payloads

This skill does NOT cover:

  • Runtime or dynamic analysis — code is never executed during the audit (see skill-tester for runtime validation)
  • Live CVE database lookups or real-time vulnerability feeds (see dependency-auditor for active CVE scanning)
  • Infrastructure-level security controls such as network segmentation, container hardening, or cloud IAM policies (see infrastructure-compliance-auditor in ra-qm-team)
  • Compliance framework certification against ISO 27001, SOC 2, GDPR, or other regulatory standards (see information-security-manager-iso27001 and gdpr-dsgvo-expert in ra-qm-team)

Integration Points

SkillIntegrationData Flow
dependency-auditorFeed audit findings into live CVE scanning for flagged dependenciesSecurity audit report → dependency-auditor for real-time vulnerability lookup
ci-cd-pipeline-builderEmbed the audit workflow as a required check in generated CI/CD pipelinesPipeline template ← audit job YAML from this skill's CI/CD section
skill-testerRun dynamic runtime tests on skills that pass static analysisPASS verdict from this skill → skill-tester for behavioral validation
infrastructure-compliance-auditorExtend auditing scope from skill-level to infrastructure-level security controlsSkill audit findings → infrastructure auditor for environment-wide posture review
env-secrets-managerCross-reference credential harvesting findings with secrets management policyCredential-access flags from audit → env-secrets-manager for policy verification
pr-review-expertSurface audit findings as inline PR review comments on flagged linesAudit report line references → PR review annotations for developer visibility

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

borghei/Claude-Skills9542026년 10월 7일 업데이트

Design and analyze A/B tests: sample size, test duration, and statistical significance for conversion experiments. Use when setting up an A/B test, calculating sample size, designing an experiment, or analyzing results.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

borghei/Claude-Skills9542026년 10월 7일 업데이트

Design and run statistically rigorous A/B tests and experiments. Use when planning experiments, calculating sample sizes, designing test variants, selecting metrics, analyzing results, or when someone says "let's test that."

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

borghei/Claude-Skills9542026년 10월 7일 업데이트

Sales execution across pipeline, discovery, demos, negotiation, and closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

borghei/Claude-Skills9542026년 10월 7일 업데이트

Design ad creative across Google, Meta, LinkedIn, Twitter/X, and TikTok with platform format specs, headline formulas, and A/B testing. Use when writing ad copy, generating headline variations, creating ad sets, or validating creative.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

borghei/Claude-Skills9542026년 10월 7일 업데이트

aeo

무료

Answer Engine Optimization (AEO): optimize content to be cited by LLMs (ChatGPT, Claude, Perplexity, Gemini) in their answers. Use when designing content for LLM citation, auditing citability, or structuring Q&A schema.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

borghei/Claude-Skills9542026년 10월 7일 업데이트

borghei의 스킬 모두 보기

이 스킬의 문제 신고