pompelmi – ClamAV antivirus scanning for Node.js, zero dependencies

https://github.com/pompelmi/pompelmi

A minimal Node.js wrapper around ClamAV that scans any file and returns a typed Verdict Symbol:

  • Verdict.Clean
  • Verdict.Malicious
  • Verdict.ScanError

Zero runtime dependencies. No daemon. No cloud. No native bindings. Works locally via clamscan or remotely via clamd TCP socket (Docker-friendly).

npm install pompelmi

Repo: https://github.com/pompelmi/pompelmi

30 points · 13 comments · view on lemmy.world

13 Comments

cookiecoookie@lemmy.world · 5 pts · 150d

GitHub is disgusting now

mabeledo@lemmy.world · 2 pts · 150d (6 replies)
[ removed ]
justsouichi@programming.dev · 4 pts · 150d

I wanna help people with integrate clam av easily in nodejs projects

justsouichi@programming.dev · 2 pts · 150d (4 replies)

I want to help junior dev or nooby to implement clamav in their nodejs project

mabeledo@lemmy.world · 2 pts · 150d (1 reply)
[ removed ]
justsouichi@programming.dev · 2 pts · 150d

it will be used for saas, ci/cd or finance and health care projects maybe

sudoMakeUser@sh.itjust.works · 1 pts · 150d (1 reply)

Tough crowd here. It seems useful, good on you for making it public.

mabeledo@lemmy.world · 1 pts · 150d
[ removed ]
ultimate_worrier@lemmy.dbzer0.com · 2 pts · 150d (6 replies)

Your link is broken: https://github.com/pompelmi/pompelmi

Also, why does everyone make these security tools in NodeJS and JavaScript? Is it a “go with what you know” thing or is it an LLM thing?
It would be trivial to port this to something like Rust that people would trust a whole lot more.

justsouichi@programming.dev · 3 pts · 150d (1 reply)

is not a full tool, the engine is not working on js but is clamav that is doing the part. Pompelmi it's just a middleware between ClamAV and nodejs

ultimate_worrier@lemmy.dbzer0.com · 2 pts · 150d

So it’s just a wrapper. Got it. Thanks.

justsouichi@programming.dev · 1 pts · 150d (3 replies)

why the link is broken? can't you open the repo?

ultimate_worrier@lemmy.dbzer0.com · 1 pts · 150d (2 replies)

Your link is incorrectly formatted. Pro tip: try clicking on your own links

justsouichi@programming.dev · 2 pts · 150d (1 reply)

if i click on the image, if i click on the link inside the comment it will redirect directly to the repo, I see no issue. What do you se?

justsouichi@programming.dev · 1 pts · 150d

ok now i see if i click the image it s correct but in comment is wrong, now i fix it

30p87@feddit.org · 0 pts · 150d

Open source stays alive by being accessible without selling ones soul, so by not being on ShitHub but Codeberg/GitLab.