Pompelmi ClamAV Scanner
Version updated for https://github.com/pompelmi/pompelmi to version v1.11.0.
- This action is used across all versions by 5 repositories.
Action Type
This is a Docker action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
The “pompelmi” GitHub Action provides ClamAV antivirus scanning specifically for Node.js environments. It automates the detection of malicious files, ensuring security by integrating a lightweight and dependency-free solution with built-in TypeScript support. This action helps developers maintain clean and secure codebases by streamlining the antivirus scanning process.
What’s Changed
Added
- Webhook notifications —
notify(webhookUrl, scanResult, options)sends a POST request when a virus is detected. Payload includesfile,verdict,viruses,timestamp, andhostname. Supports HMAC-SHA256 request signing viaX-Pompelmi-Signatureheader when asecretis provided. Ships withonlyOnMalicious: truedefault so noise-free by default. Uses Node.js built-inhttps/http— zero extra dependencies. - EventEmitter scanner —
createScanner(options)returns anEventEmitter-based scanner withscan(filePath)andscanDirectory(dirPath)methods. Emits'clean','malicious','scanError', and'error'events per file — ideal for streaming pipelines and upload processing loops. - Automated GitHub Release notes — release workflow now extracts the matching changelog section from
CHANGELOG.mdand uses it as the release body, with a one-line summary in the release title (vX.Y.Z — <summary>). No more static template. .mailmap— maps any historicalclaude/Claudeauthorship entries to the project author so they are excluded from GitHub’s contributor list.
Changed
src/index.js— exportsnotifyandcreateScanneralongside existing API.types/index.d.ts— full TypeScript declarations fornotify,NotifyOptions,WebhookPayload,ScanResultInput,createScanner, andScanEmitter(including typed event overloads).