A minimal Node.js wrapper around ClamAV that scans any file and returns a typed Verdict Symbol:
Verdict.CleanVerdict.MaliciousVerdict.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
13 Comments
cookiecoookie@lemmy.world · 5 pts · 150d
GitHub is disgusting now
mabeledo@lemmy.world · 2 pts · 150d
justsouichi@programming.dev · 4 pts · 150d
I wanna help people with integrate clam av easily in nodejs projects
justsouichi@programming.dev · 2 pts · 150d
I want to help junior dev or nooby to implement clamav in their nodejs project
mabeledo@lemmy.world · 2 pts · 150d
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
Tough crowd here. It seems useful, good on you for making it public.
mabeledo@lemmy.world · 1 pts · 150d
ultimate_worrier@lemmy.dbzer0.com · 2 pts · 150d
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
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
why the link is broken? can't you open the repo?
ultimate_worrier@lemmy.dbzer0.com · 1 pts · 150d
Your link is incorrectly formatted. Pro tip: try clicking on your own links
justsouichi@programming.dev · 2 pts · 150d
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.