Pompelmi ClamAV Scanner
Version updated for https://github.com/pompelmi/pompelmi to version v1.13.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
Pompelmi is a Node.js library that integrates ClamAV antivirus scanning capabilities. It automates the detection of malicious files or threats in applications with a clean, type-safe implementation and no external dependencies. This solution simplifies antivirus integration for developers, ensuring security without compromising performance or maintainability.
What’s Changed
Added
- @pompelmi/nestjs — NestJS module with
PompelmiModule.forRoot()/.forRootAsync(), injectablePompelmiService(scan / scanBuffer / isMalware),PompelmiGuard(blocks malicious uploads viaCanActivate), andPompelmiInterceptor(throwsBadRequestExceptionon infection). Full TypeScript declarations included. - @pompelmi/fastify — Fastify plugin that decorates the instance with
fastify.pompelmi(scan / scanBuffer / scanStream / preHandler). ThepreHandler()helper returns a route-level hook that scans uploaded files before the route handler runs. Supports customonMaliciouscallbacks and full TypeScript declarations. - Framework Integrations section in
README.md— table of official packages with usage snippets for NestJS and Fastify.