본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크