تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

openscan

بواسطة dev-null321

PDF & Documents
938التنزيلات وفق ما يذكره clawskills.sh
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط