Fork me on GitHub
#off-topic
<
2021-09-08
>
dangercoder14:09:38

Does anyone know if it's possible to trick github's Dependabot into scanning vulnerabilities for a Clojure-project if a pom.xml exists? I was thinking that the java-stuff should work 🙂

dangercoder14:09:24

Currently using DependencyCheck/nvd from a pipeline. Would be cool to use dependabot though

souenzzo14:09:14

I don't belive that dependabot is a good thing, but you can use clj -X:deps mvn-pom to create a pom file, commit it, then github will do the thing for you. dependabot IMHO has these same issues: https://overreacted.io/npm-audit-broken-by-design/

vemv16:09:56

that article severely lacks nuance btw typical "famous twitter guy" syndrome most decent setups decouple dev/test from prod dependencies, if npm doesn't do that by default it's their problem

vemv16:09:45

https://github.com/rm-hull/lein-nvd/ is a thing btw compatible with deps.edn also

👍 2
slipset19:09:00

IIRC, dependabot doesn’t do transitive deps, so it’s kind’a useless.

slipset19:09:58

We have set up a lein-nvd job which runs nightly and on commits, and lein-nvd does search through the transitive deps as well.

🍻 6
slipset19:09:21

@U45T93RA6 and myself have a friendly argument about the finer details of this 🙂

🥊 2
dangercoder08:09:38

lein-nvd is the way to go, I tried dependabot and generating a pom.xml does trigger it, but no transitive dependencies detection 😮.

dangercoder08:09:47

Thanks for the heads-up @U04V5VAUN