मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट40k · #7043

agent-owasp-compliance

यह क्या करती है

यह टूल जाँचता है कि AI agent का code OWASP द्वारा बताई गई security best practices का पालन करता है या नहीं। यह AI agents में आने वाले 10 आम जोखिमों को देखता है, जो आपकी ओर से काम कर सकते हैं।

कब इस्तेमाल करें

  • ✓किसी AI system को production में डालने से पहले।
  • ✓यह सुनिश्चित करने के लिए कि AI system security standards का पालन करता है।
  • ✓किसी AI system की security की समीक्षा करते समय।

Skill का लिंक

https://github.com/github/awesome-copilot/blob/main/skills/agent-owasp-compliance/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/github/awesome-copilot/blob/main/skills/agent-owasp-compliance/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे AI agent के code को OWASP Top 10 security risks के मुकाबले जाँचो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

टूल आपके code को हर 10 जोखिमों के लिए security controls की मौजूदगी या गैर-मौजूदगी वाले patterns के लिए जाँचता है। फिर एक report बनाता है जिसमें दिखता है कि कौन से जोखिम कवर हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Agent OWASP ASI Compliance Check

Evaluate AI agent systems against the OWASP Agentic Security Initiative (ASI) Top 10 — the industry standard for agent security posture.

Overview

The OWASP ASI Top 10 defines the critical security risks specific to autonomous AI agents — not LLMs, not chatbots, but agents that call tools, access systems, and act on behalf of users. This skill checks whether your agent implementation addresses each risk.

Codebase → Scan for each ASI control:
  ASI-01: Prompt Injection Protection
  ASI-02: Tool Use Governance
  ASI-03: Agency Boundaries
  ASI-04: Escalation Controls
  ASI-05: Trust Boundary Enforcement
  ASI-06: Logging & Audit
  ASI-07: Identity Management
  ASI-08: Policy Integrity
  ASI-09: Supply Chain Verification
  ASI-10: Behavioral Monitoring
→ Generate Compliance Report (X/10 covered)

The 10 Risks

Risk Name What to Look For
ASI-01 Prompt Injection Input validation before tool calls, not just LLM output filtering
ASI-02 Insecure Tool Use Tool allowlists, argument validation, no raw shell execution
ASI-03 Excessive Agency Capability boundaries, scope limits, principle of least privilege
ASI-04 Unauthorized Escalation Privilege checks before sensitive operations, no self-promotion
ASI-05 Trust Boundary Violation Trust verification between agents, signed credentials, no blind trust
ASI-06 Insufficient Logging Structured audit trail for all tool calls, tamper-evident logs
ASI-07 Insecure Identity Cryptographic agent identity, not just string names
ASI-08 Policy Bypass Deterministic policy enforcement, no LLM-based permission checks
ASI-09 Supply Chain Integrity Signed plugins/tools, integrity verification, dependency auditing
ASI-10 Behavioral Anomaly Drift detection, circuit breakers, kill switch capability

Check ASI-01: Prompt Injection Protection

Look for input validation that runs before tool execution, not after LLM generation.

import re
from pathlib import Path

def check_asi_01(project_path: str) -> dict:
    """ASI-01: Is user input validated before reaching tool execution?"""
    positive_patterns = [
        "input_validation", "validate_input", "sanitize",
        "classify_intent", "prompt_injection", "threat_detect",
        "PolicyEvaluator", "PolicyEngine", "check_content",
    ]
    negative_patterns = [
        r"eval\(", r"exec\(", r"subprocess\.run\(.*shell=True",
        r"os\.system\(",
    ]

    # Scan Python files for signals
    root = Path(project_path)
    positive_matches = []
    negative_matches = []

    for py_file in root.rglob("*.py"):
        content = py_file.read_text(errors="ignore")
        for pattern in positive_patterns:
            if pattern in content:
                positive_matches.append(f"{py_file.name}: {pattern}")
        for pattern in negative_patterns:
            if re.search(pattern, content):
                negative_matches.append(f"{py_file.name}: {pattern}")

    positive_found = len(positive_matches) > 0
    negative_found = len(negative_matches) > 0

    return {
        "risk": "ASI-01",
        "name": "Prompt Injection",
        "status": "pass" if positive_found and not negative_found else "fail",
        "controls_found": positive_matches,
        "vulnerabilities": negative_matches,
        "recommendation": "Add input validation before tool execution, not just output filtering"
    }

What passing looks like:

# GOOD: Validate before tool execution
result = policy_engine.evaluate(user_input)
if result.action == "deny":
    return "Request blocked by policy"
tool_result = await execute_tool(validated_input)

What failing looks like:

# BAD: User input goes directly to tool
tool_result = await execute_tool(user_input)  # No validation

Check ASI-02: Insecure Tool Use

Verify tools have allowlists, argument validation, and no unrestricted execution.

What to search for:

  • Tool registration with explicit allowlists (not open-ended)
  • Argument validation before tool execution
  • No subprocess.run(shell=True) with user-controlled input
  • No eval() or exec() on agent-generated code without sandbox

Passing example:

ALLOWED_TOOLS = {"search", "read_file", "create_ticket"}

def execute_tool(name: str, args: dict):
    if name not in ALLOWED_TOOLS:

…
अक्सर पूछे जाने वाले सवाल

OWASP ASI Top 10 risks क्या हैं?

ये खास तौर पर autonomous AI agents के लिए पहचाने गए 10 सबसे गंभीर security जोखिम हैं, जो systems से बात कर सकते हैं और काम कर सकते हैं।

'AI agent' क्या है?

यह एक AI program है जो सिर्फ़ commands समझता ही नहीं, बल्कि tools इस्तेमाल कर सकता है, systems तक पहुँच सकता है, और आपकी ओर से काम पूरा कर सकता है।

'Prompt Injection' क्या है?

यह एक हमला है जिसमें कोई दुर्भावनापूर्ण user AI agent को चालाकी से अनचाहे commands चलाने या संवेदनशील जानकारी बताने के लिए बहकाने की कोशिश करता है, अक्सर prompt में छिपे खास निर्देशों के जरिए।

जानकारी

लेखक का मूल विवरण

Check any AI agent codebase against the OWASP Agentic Security Initiative (ASI) Top 10 risks. Use this skill when: - Evaluating an agent system's security posture before production deployment - Running a compliance check against OWASP ASI 2026 standards - Mapping existing security controls to the 10 agentic risks - Generating a compliance report for security review or audit - Comparing agent frame

repo: github/awesome-copilot

लोकप्रियता

GitHub स्टार
40k
रैंकिंग में स्थान
#7043
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

acquire-codebase-knowledge

40k

आपके एजेंट को किसी मौजूदा code प्रोजेक्ट को समझने और उसका documentation बनाने में मदद करता है। यह नए लोगों को प्रोजेक्ट से जोड़ने या architecture का सार जानने में उपयोगी है।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-assess

40k

आपके एजेंट को किसी प्रोजेक्ट की AI के लिए तैयारी जाँचने और रिपोर्ट बनाने देता है। यह समझने में उपयोगी है कि प्रोजेक्ट AI tools इस्तेमाल करने के लिए कितना तैयार है।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-generate-instructions

40k

आपके एजेंट को assessment के आधार पर AI tools के लिए निर्देश बनाने में मदद करता है। यह बताता है कि AI कोड के साथ बेहतर कैसे काम करे और पहचानी गई कमियाँ कैसे दूर हों।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-policy

40k

आपके एजेंट को AI प्रोजेक्ट assessment के लिए नीतियाँ तय करने या लागू करने में मदद करता है। यह प्रोजेक्ट्स के मूल्यांकन को मानक बनाने और compliance सुनिश्चित करने में उपयोगी है।

AI और एजेंटएजेंट

मिलती-जुलती skills