कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

permission-creep-scanner

andyxinweiminicloud द्वारा

PDF & Documents
311clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Helps detect permission creep in AI agent skills — flags when a skill's actual code accesses resources far.

विवरण

यह स्किल क्या करती है

Analyzes AI agent skill code to detect mismatches between a skill's declared purpose and what it actually accesses. Flags sensitive path reads, environment variable access, network calls, and subprocess spawning that fall outside stated functionality. Outputs a risk rating and itemized mismatch list.

Manual code review doesn't score the gap between what a skill claims to do and what it actually touches, so automated mismatch detection catches over-permissioned skills that look harmless from their descriptions alone.

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

  • Auditing a third-party skill before adding it to an agent
  • Checking if a code formatter reads credential files
  • Scanning marketplace skills for undeclared network calls
  • Reviewing community-submitted skills before deployment
  • Catching hidden data exfiltration in utility tools

उदाहरण वर्कफ़्लो

इनपुट

User asks: scan this 'indent-fixer' skill that claims to fix Python indentation to 4 spaces

एजेंट
  1. 1

    Parses skill name, summary, and description to extract declared scope

  2. 2

    Scans code for file reads, environment variable access, network calls, and subprocess usage

  3. 3

    Compares declared scope against observed access patterns

  4. 4

    Scores mismatch severity and identifies sensitive path violations

  5. 5

    Generates risk rating with per-finding explanations

आउटपुट

OVER-PERMISSIONED report listing 3 mismatches: ~/.env read, OPENAI_API_KEY extraction, and HTTP exfiltration with the key passed in the URL

इंस्टॉलेशन

clawhub install andyxinweiminicloud/permission-creep-scanner

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक