कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक