返回顶部
o

openscan

Scan binaries and scripts for malicious patterns before trusting them. Use when installing skills, evaluating unknown binaries, or auditing tool dependencies.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,137
下载量
0
收藏
概述
安装方式
版本历史

openscan

# OpenScan Lightweight malware detection for macOS and Linux binaries/scripts. Ported from the Harkonnen antimalware engine. ## What It Detects **Binary Analysis:** - Mach-O (macOS) and ELF (Linux) parsing - Suspicious dylibs/shared objects (Frida, injection frameworks) - Missing/invalid code signatures (macOS) - Disabled security features (PIE, NX, RELRO) - Packed/encrypted binaries (high entropy) **Pattern Detection:** - Shellcode byte sequences - Suspicious API references (process injection, keylogging, etc.) - Network indicators (embedded URLs, IPs) - Encoded payloads (base64 blobs) **Script Analysis:** - Dangerous shell patterns (curl|bash, eval, etc.) - Obfuscation indicators - Privilege escalation attempts ## Usage ```bash # Scan a single binary node bin/scan.js /path/to/binary # Scan a skill folder node bin/scan.js /path/to/skill-folder # JSON output for automation node bin/scan.js /path --json # Only show threats node bin/scan.js /path --quiet ``` ## Exit Codes - `0` - Clean (score ≤ 20) - `1` - Suspicious (score 21-60) - `2` - High threat (score > 60) ## Threat Scoring Each file receives a score from 0-100: | Score | Level | Meaning | |-------|----------|--------------------------------------| | 0-20 | CLEAN | No significant findings | | 21-40 | LOW | Minor concerns, probably safe | | 41-60 | MEDIUM | Suspicious patterns, review manually | | 61-80 | HIGH | Likely malicious or dangerous | | 81-100| CRITICAL | Known malicious patterns | ## Integration with OpenClaw Use before installing or trusting unknown binaries: ```javascript // Example: scan before allowing a skill's binary const { scanFile } = require('openscan/lib/scanner'); async function checkBinary(binPath) { const result = await scanFile(binPath); if (result.threatScore > 40) { throw new Error(`Binary failed security scan: ${result.findings.join(', ')}`); } return true; } ``` ## Limitations - Not a replacement for full antivirus - Signature-based detection is minimal (no hash database) - May produce false positives on legitimate security tools - Cannot detect all obfuscation techniques ## Credits Detection logic ported from [Harkonnen](https://github.com/dev-null321/Harkonnen) antimalware engine.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 openscan-1776342378 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 openscan-1776342378 技能

通过命令行安装

skillhub install openscan-1776342378

下载 Zip 包

⬇ 下载 openscan v1.0.0

文件大小: 19.57 KB | 发布时间: 2026-4-17 16:15

v1.0.0 最新 2026-4-17 16:15
Initial release - Mach-O/ELF parsing, pattern detection, entropy analysis

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部