security enabled community medium v1.0.0

clamscan

ClamAV antivirus scanner, can read files via error message leakage with custom YARA rules.

📋 Live Preview
clamscan --no-summary -d x.yara -f {input}
📎 input
clamscan --no-summary -d x.yara -f {input}

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.read

Parameters

Name Type Required Default Description Aliases
input file No - File to read -

Contract

Inputs

system.file.path

Path to input file

Outputs

process.output

File content in error messages

Side effects: process_spawn

Workflow Edges

Produces

process.output

Consumes

system.file.path

Resource Profile

ResourceValue
CPUlow
Memory32 MB
Networknone
Disk I/Olow

Examples

Read a file via clamscan error message leakage

touch x.yara
clamscan --no-summary -d x.yara -f /path/to/input-file 2>&1 | sed -nE 's/^(.*): No such file or directory$/\1/p'

References