# Send OpenScan to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openscan",
    "name": "OpenScan",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/dev-null321/openscan",
    "canonicalUrl": "https://clawhub.ai/dev-null321/openscan",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openscan",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openscan",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "bin/scan.js",
      "lib/elf.js",
      "lib/entropy.js",
      "lib/macho.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openscan",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T13:40:46.542Z",
      "expiresAt": "2026-05-13T13:40:46.542Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openscan",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openscan",
        "contentDisposition": "attachment; filename=\"openscan-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openscan"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openscan"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openscan",
    "downloadUrl": "https://openagent3.xyz/downloads/openscan",
    "agentUrl": "https://openagent3.xyz/skills/openscan/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openscan/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openscan/agent.md"
  }
}
```
## Documentation

### 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

# 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:

ScoreLevelMeaning0-20CLEANNo significant findings21-40LOWMinor concerns, probably safe41-60MEDIUMSuspicious patterns, review manually61-80HIGHLikely malicious or dangerous81-100CRITICALKnown malicious patterns

### Integration with OpenClaw

Use before installing or trusting unknown binaries:

// 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 antimalware engine.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: dev-null321
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-06T13:40:46.542Z
- Expires at: 2026-05-13T13:40:46.542Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openscan)
- [Send to Agent page](https://openagent3.xyz/skills/openscan/agent)
- [JSON manifest](https://openagent3.xyz/skills/openscan/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openscan/agent.md)
- [Download page](https://openagent3.xyz/downloads/openscan)