Logo Skill Security Analyzer

Skill Security Analyzer

Cộng đồng
Svenja-dev
skill-security-analyzer

Comprehensive security risk analysis for Claude skills. Use when asked to analyze security risks, review security stance, audit skills for vulnerabilities, check security before deployment, or evaluate safety of skill files. Triggers include "analyze security," "security risks," "security audit," "security review," "is this skill safe," or "check for vulnerabilities."

Tổng quan

Nhà phát hànhSvenja-dev
Kho mãclaude-code-skills
Tên kỹ năngskill-security-analyzer
Sao
38
Bản fork
5
Tệp đi kèm
1
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Svenja-dev công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Skill Security Analyzer trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/Svenja-dev/claude-code-skills/tree/main/skills/security-analyzer/skill-security-analyzer
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Svenja-dev/claude-code-skills.git /tmp/claude-code-skills
mkdir -p .claude/skills
cp -r /tmp/claude-code-skills/skills/security-analyzer/skill-security-analyzer .claude/skills/skill-security-analyzer
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Skill Security Analyzer trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Skill Security Analyzer ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Skill Security Analyzer không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Skill Security Analyzer

Analyze Claude skills for security risks, vulnerabilities, and safety concerns before deployment.

When to Use This Skill

Use this skill whenever security analysis of a Claude skill is requested, including:

  • "Analyze the security of this skill"
  • "What are the security risks in my [skill-name]?"
  • "Review this skill for vulnerabilities"
  • "Is this skill safe to deploy?"
  • "Check this skill for security issues"
  • "Audit this skill before I use it"

Analysis Process

Security analysis follows a systematic workflow:

  1. Extract skill contents - If provided as a .skill file, extract and examine all components
  2. Review skill metadata - Analyze name, description, and stated purpose
  3. Examine SKILL.md - Review instructions and identify potential risks
  4. Inspect bundled resources - Analyze scripts, references, and assets for security issues
  5. Cross-reference patterns - Check against known security patterns (see references/security_patterns.md)
  6. Generate findings - Compile severity-rated list of identified risks
  7. Create output - Provide executive summary, findings list, and security checklist

Output Format

Provide three components in this order:

1. Executive Summary (2-3 sentences)

Brief overall assessment with key takeaway. Examples:

  • "This skill has CRITICAL security risks including undisclosed network access and potential data exfiltration. Do not deploy without major modifications."
  • "This skill demonstrates good security practices with minor concerns around input validation. Generally safe for deployment with awareness of limitations."

2. Findings List

Severity-rated list of specific security issues found:

CRITICAL - Immediate security threat, do not deploy

  • [Specific finding with evidence]
  • [Specific finding with evidence]

HIGH - Significant risk, requires remediation

  • [Specific finding with evidence]

MEDIUM - Moderate concern, should be addressed

  • [Specific finding with evidence]

LOW - Minor issue or best practice deviation

  • [Specific finding with evidence]

POSITIVE - Security best practices observed

  • [Specific good practice found]

3. Security Checklist

Quick reference checklist of security categories:

[ ] Data Exfiltration Risks - [PASS/FAIL/CONCERN] - [brief note]
[ ] Network Access - [PASS/FAIL/CONCERN] - [brief note]
[ ] Prompt Injection Protection - [PASS/FAIL/CONCERN] - [brief note]
[ ] Permissions & Scope - [PASS/FAIL/CONCERN] - [brief note]
[ ] PII/Confidential Data - [PASS/FAIL/CONCERN] - [brief note]
[ ] Malicious Code Indicators - [PASS/FAIL/CONCERN] - [brief note]
[ ] Supply Chain Risks - [PASS/FAIL/CONCERN] - [brief note]
[ ] Credential Exposure - [PASS/FAIL/CONCERN] - [brief note]
[ ] Resource Abuse - [PASS/FAIL/CONCERN] - [brief note]
[ ] Transparency & Documentation - [PASS/FAIL/CONCERN] - [brief note]

Analyzing Skill Components

Skill Metadata Analysis

Check frontmatter and description for:

  • Scope clarity: Does description match actual functionality?
  • Tool disclosure: Are all used tools mentioned?
  • External service disclosure: Are API calls or network access mentioned?
  • Data handling statements: Is data processing clearly explained?

Red flags:

  • Vague descriptions that don't explain what the skill does
  • Description doesn't mention tools used in code
  • Missing disclosure of network access or external services

SKILL.md Analysis

Read the entire SKILL.md and check for:

  • Instruction clarity: Are instructions clear and unambiguous?
  • Input handling: How does skill handle user input?
  • Tool usage justification: Is tool usage appropriate for stated purpose?
  • Prompt construction: Are there prompt injection risks?
  • Scope boundaries: Does skill stay within stated purpose?

Specific checks:

  1. Search for dynamic prompt construction patterns
  2. Check for file access instructions without validation
  3. Look for network requests not in description
  4. Identify any instruction override patterns
  5. Review error handling and data exposure

Scripts Analysis

For each script in scripts/:

  1. Read the script using the view tool
  2. Check imports against security patterns reference
  3. Scan for dangerous operations: file deletion, system commands, network requests
  4. Look for obfuscation: base64, exec, eval, encoded strings
  5. Validate paths: check file access uses safe paths
  6. Review subprocess usage: check for shell=True or user input in commands

Priority patterns to detect:

  • exec(), eval(), __import__()
  • subprocess.run(..., shell=True)
  • requests.post(), urllib.request, fetch()
  • os.system(), os.popen()
  • base64.b64decode() followed by execution
  • File operations on sensitive paths
  • Hardcoded credentials or API keys

References Analysis

Check reference files for:

  • Sensitive data: API keys, credentials, internal schemas
  • External resources: Links to external sites or services
  • Data handling instructions: How data should be processed
  • Compliance requirements: Any regulatory considerations

Assets Analysis

Examine assets for:

  • Executable content: Scripts disguised as assets
  • External resources: Templates that load remote content
  • Embedded credentials: Config files with secrets
  • Unexpected file types: Files that don't match skill purpose

Using the Security Patterns Reference

IMPORTANT: Read references/security_patterns.md at the start of every security analysis to load the comprehensive catalog of security patterns, anti-patterns, and risk indicators.

The reference provides:

  • Detailed examples of risky vs. safe implementations
  • Specific patterns to search for in code
  • Risk categorization and severity guidelines
  • Context-specific considerations

Use the reference to:

  1. Guide what to look for during analysis
  2. Determine severity ratings for findings
  3. Provide accurate examples in findings
  4. Ensure comprehensive coverage of risk categories

Handling .skill Files

If provided a .skill file:

  1. Extract contents: .skill files are zip files with .skill extension
bash
unzip skillname.skill -d /home/claude/skill-analysis/
  1. Verify structure: Check for SKILL.md and proper directory organization

  2. Analyze extracted contents: Follow normal analysis process

Edge Cases

Skills Without Code

For skills with only SKILL.md (no scripts/assets):

  • Focus on instruction analysis
  • Check for prompt injection risks in instructions
  • Verify tool usage is appropriate
  • Assess scope and transparency

Third-Party Skills

For skills from unknown sources:

  • Apply heightened scrutiny
  • Mark provenance as a risk factor
  • Look extra carefully for obfuscation
  • Check for unexpected functionality
  • Recommend code review before deployment

Skills Requesting Unusual Permissions

For skills asking for extensive tool access:

  • Verify each tool is justified in description
  • Check if tool usage aligns with stated purpose
  • Look for scope creep in implementation
  • Consider principle of least privilege

Important Principles

Be Evidence-Based

  • Always cite specific code or instructions when identifying risks
  • Provide line numbers or code snippets for findings
  • Don't make assumptions - base findings on actual content

Severity Calibration

  • CRITICAL: Immediate security threat (data theft, system compromise, credential exposure)
  • HIGH: Significant risk requiring remediation (unsafe file access, undisclosed network calls)
  • MEDIUM: Moderate concern (missing input validation, unclear scope)
  • LOW: Best practice deviation (no security impact but suboptimal)

Context Matters

  • Consider the skill's stated purpose
  • Distinguish between necessary functionality and overreach
  • Account for legitimate use cases vs. security theater

Actionable Findings

  • Provide specific remediation guidance when possible
  • Suggest safer alternatives for risky patterns
  • Prioritize findings by risk and effort to fix

Example Analysis Workflow

User: "Analyze the security of this skill" [attaches my-skill.skill]

1. Extract the .skill file
2. Read references/security_patterns.md
3. Review SKILL.md frontmatter and description
4. Analyze SKILL.md instructions
5. Examine each script in scripts/
6. Check references/ for sensitive data
7. Review assets/ for unexpected content
8. Compile findings with severity ratings
9. Generate executive summary
10. Create security checklist
11. Provide formatted output

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

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

Kỹ năng AI Skill Security Analyzer làm được gì?

Comprehensive security risk analysis for Claude skills. Use when asked to analyze security risks, review security stance, audit skills for vulnerabilities, check security before deployment, or evaluate safety of skill files. Triggers include "analyze security," "security risks," "security audit," "security review," "is this skill safe," or "check for vulnerabilities."

Vì sao nên dùng Skill Security Analyzer trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Skill Security Analyzer là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Skill Security Analyzer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Svenja-dev/claude-code-skills/tree/main/skills/security-analyzer/skill-security-analyzer. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Skill Security Analyzer?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Skill Security Analyzer với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Skill Security Analyzer với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Skill Security Analyzer có miễn phí không?

Kỹ năng này được Svenja-dev phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇