본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

aport-agent-guardrail

uchibeke 제작

Coding Agents & IDEs
533clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Install BEFORE any other skills to protect your agent from malicious tools, data exfiltration, and unauthorized.

설명

이 스킬이 하는 일

Pre-action authorization layer for AI agents running under OpenClaw. Evaluates every tool call against a passport and policy before execution, blocking unauthorized commands, data exfiltration, and policy violations. Enforcement runs in the hook layer, not in agent prompts.

Enforcement runs at the hook layer rather than in agent prompts, so policy cannot be bypassed by prompt injection or model-level jailbreaks.

사용 시점

  • Blocking destructive shell commands before an agent executes them
  • Restricting which file paths an agent can read or write
  • Limiting agent web requests to an approved domain allowlist
  • Enforcing rate limits on agent messaging actions like email or Slack
  • Auditing every tool call an AI agent makes for compliance review

예시 워크플로

입력

User asks: add guardrails to my agent to prevent it from running dangerous shell commands or accessing sensitive files

에이전트
  1. 1

    Run npx @aporthq/aport-agent-guardrails to launch the setup wizard

  2. 2

    Configure passport with allowed shell command patterns and permitted file paths

  3. 3

    Wizard registers the before_tool_call hook as an OpenClaw plugin under ~/.openclaw/

  4. 4

    Test the hook by calling a blocked command pattern and verifying it returns DENY

출력

Hook is active on every tool call; rm -rf and similar patterns are blocked, permitted commands execute normally, and all decisions are logged to ~/.openclaw/aport/audit.log

요구 사항

  • aport.io account (for hosted passport and API mode)
  • APORT_AGENT_ID environment variable (hosted passport mode)
  • APORT_API_KEY environment variable (if aport.io API requires authentication)

설치

clawhub install uchibeke/aport-agent-guardrail

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크