Individual skill
orchardcore-antivirus
Skill for scanning uploaded files for malware in Orchard Core 4.0 with the OrchardCore.Antivirus module. Covers the OrchardCore.Antivirus.ClamAV feature (ClamAV Antivirus Scanner), the OrchardCore Antivirus ClamAV configuration section with Host, Port, ConnectTimeoutSeconds and TransferTimeoutSeconds, environment variables, running clamd with Docker, fail-closed behavior, AntivirusScanningException, connection reuse, buffering of non-seekable streams, which uploads are scanned, and clamd StreamMaxLength sizing. Use this skill when requests mention Orchard Core antivirus, ClamAV, clamd, malware scanning, virus scanning of uploads, or closely related Orchard Core setup or troubleshooting work. Strong matches include OrchardCore.Antivirus, OrchardCore.Antivirus.ClamAV, ClamAvOptions, AntivirusScanningException, and clamav/clamav Docker images.
src/CrestApps.AgentSkills/orchardcore/orchardcore-antivirus/SKILL.md
Source commit d86d04f234b1b2bd8145368a2544490f9d557596
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Instructions only
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 13
- Repository last updated
- Oct 21, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai Repository topic
- ai-agents-framework Repository topic
- dotnet Repository topic
- mcp Repository topic
- mcp-server Repository topic
- orchardcore Repository topic
- devops Derived category
- devops-containers Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Read excerpt
# Orchard Core Antivirus - Prompt Templates
## Scan Uploads with ClamAV
You are an Orchard Core expert. Generate configuration and deployment guidance for scanning uploaded files with ClamAV before Orchard Core stores them.
### Guidelines
- `OrchardCore.Antivirus.ClamAV` (**ClamAV Antivirus Scanner**, Security category) registers a ClamAV `IFileEventHandler` in the shared file upload security pipeline. The pipeline itself (`FileCreationService`, custom upload code, custom handlers) is covered by `orchardcore-file-upload-security`.
- The module ships with Orchard Core 4.0 and is part of `OrchardCore.Application.Cms.Core.Targets`. Only an app that references individual modules needs `<PackageReference Include="OrchardCore.Antivirus" Version="4.*" />` in the web project.
- It fails closed: a malware detection rejects the upload, and a missing `Host`, invalid settings, connection failure, timeout, or unexpected `clamd` response also rejects it.
- Only uploads that go through the pipeline are scanned; see the coverage list below.
- All recipe JSON must be wrapped in the root `{ "steps": [...] }` format.