跳到正文
TakoAPI
返回技能列表

openscan

由 dev-null321 提供

PDF & Documents
938下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Scan binaries and scripts for malicious patterns before trusting them.

描述

该技能的功能

OpenScan analyzes binaries and scripts for malicious patterns on macOS and Linux. It parses Mach-O and ELF formats, checks for injection frameworks, shellcode sequences, obfuscation, and embedded network indicators. Detection logic is ported from the Harkonnen antimalware engine.

It runs entirely locally with no account, subscription, or network call required, making it practical as a quick pre-execution gate rather than a full antivirus scan.

何时使用

  • Checking a downloaded CLI tool before running it
  • Auditing shell scripts from unfamiliar repositories
  • Scanning skill packages before installing them in OpenClaw
  • Blocking high-threat binaries in an automated install pipeline
  • Reviewing tool dependencies for embedded payloads

示例工作流

输入

User asks: scan /tmp/setup.sh before running it

智能体
  1. 1

    Invoke scan on /tmp/setup.sh using node bin/scan.js

  2. 2

    Parse the script for dangerous shell patterns such as curl|bash and eval

  3. 3

    Check for obfuscation indicators and privilege escalation attempts

  4. 4

    Compute a threat score from 0-100 based on findings

  5. 5

    Return exit code and human-readable findings list

输出

Threat score 35 (LOW) — found: curl|bash pipe pattern, base64 blob. Probably safe but review manually before executing.

安装

clawhub install dev-null321/openscan

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接