跳至主要内容
小龙虾小龙虾AI
🤖

Openclaw Action

GitHub Action for automated security scanning of agent workspaces. Detects exposed secrets, prompt/shell injection, and data exfiltration patterns in PRs and commits.

下载454
星标0
版本1.0.0
安全合规
安全通过
💬Prompt

技能说明


name: openclaw-action description: "GitHub Action for automated security scanning of agent workspaces. Detects exposed secrets, prompt/shell injection, and data exfiltration patterns in PRs and commits." user-invocable: false metadata: {"openclaw":{"emoji":"🛡️","requires":{"bins":["python3"]},"os":["darwin","linux","win32"]}}

OpenClaw Security Action

GitHub Action that scans agent skills for security issues on every PR.

What It Scans

ScannerWhat It Catches
sentryAPI keys, tokens, passwords, credentials in code
bastionPrompt injection markers, shell injection patterns
egressSuspicious network calls, data exfiltration patterns

Quick Start

Add to .github/workflows/security.yml:

name: Security Scan
on:
  pull_request:
    paths:
      - 'skills/**'
      - '.openclaw/**'
  push:
    branches: [main]

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: AtlasPA/openclaw-action@v1
        with:
          workspace: '.'
          fail-on-findings: 'true'

Inputs

InputDefaultDescription
workspace.Path to scan
fail-on-findingstrueFail the check if issues found
scan-secretstrueEnable secret scanning
scan-injectiontrueEnable injection scanning
scan-egresstrueEnable egress scanning

Outputs

OutputDescription
findings-countTotal number of issues found
has-criticaltrue if critical/high severity issues

Philosophy

This action detects and alerts only. It will:

  • Flag security issues in PR checks
  • Annotate specific lines with findings
  • Generate a summary report

It will NOT:

  • Automatically modify your code
  • Quarantine or delete files
  • Make any changes to your repository

For automated remediation, see OpenClaw Pro.

Requirements

  • Python 3.8+ (auto-installed by action)
  • No external dependencies

如何使用「Openclaw Action」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Openclaw Action」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能