--- title: "Malware skill" description: "Use when scanning uploads or other untrusted bytes for malware, configuring a scanner (zavd, clamd, the Guardian engine), handling MalwareDetectedError, reviewing quarantine, or checking which framework surfaces scan. Covers @stacksjs/malware and config/malware.ts." --- # Malware `stacks-malware` · Native Stacks · model-invoked Use when scanning uploads or other untrusted bytes for malware, configuring a scanner (zavd, clamd, the Guardian engine), handling MalwareDetectedError, reviewing quarantine, or checking which framework surfaces scan. Covers @stacksjs/malware and config/malware.ts. Read the skill for the implementation workflow and its current signatures. The [Native capabilities](/skills/platform/native) catalog maps the package to source and retained evidence; driver limits are explicit. Operators setting up a scanner should read [Malware Scanning](/guide/malware-scanning). ## Inside the skill - The API - Drivers and config - Every hooked surface - Validation - Quarantine - Fail-closed semantics - Running a scanner locally - Gotchas ## Using it This skill is **model-invoked**. Your agent can select it for matching tasks, and you can call it directly. ```text /stacks-malware ``` Source: [`stacks-malware/SKILL.md`](https://github.com/stacksjs/stacks/blob/main/storage/framework/defaults/ai/skills/stacks-malware/SKILL.md). It ships in `@stacksjs/defaults` with its supporting files. Run `buddy setup:ai` to refresh the agent setup. Override it per project with `app/Skills/stacks-malware/SKILL.md`. See [Using skills](/skills/using).