This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # adventofcode (20)
- # aleph (25)
- # announcements (4)
- # babashka (117)
- # beginners (150)
- # calva (4)
- # cider (9)
- # clj-on-windows (2)
- # clojure (9)
- # clojure-europe (4)
- # clojure-italy (3)
- # clojuredesign-podcast (18)
- # clojurescript (16)
- # conjure (1)
- # core-async (35)
- # cursive (13)
- # datalevin (6)
- # datomic (6)
- # fulcro (8)
- # hyperfiddle (5)
- # malli (8)
- # nextjournal (4)
- # off-topic (51)
- # pathom (4)
- # reagent (21)
- # sci (14)
- # shadow-cljs (22)
- # specter (3)
- # testing (22)
- # tools-deps (8)
- # xtdb (7)
https://github.com/practicalli/clojure-deps-edn is a collection of community tools as a user level configuration for Clojure CLI tools.
• updated all aliases to use the latest library versions (using antq)
security/nvd alias to check library dependencies against the National Vulnerability Database
:test/watch to run Kaocha test runner in watch mode for any project, a quick way to get fast feedback -
I'd recommend documenting the nvd usage such that https://github.com/rm-hull/nvd-clojure#avoiding-classpath-interference is honored
In particular, the classpath the nvd program itself will be running should never be affected by a given project's dependencies.
This can be as easy as
cd ~ before running the program.
Next point, the analyzed classpath's should be received as an argument out of a
clojure -Spath invocation, please don't let it be inferred (that API will soon be deprecated)
I've updated the command to run the
:security/nvd alias to include the two arguments.
:security/nvd is a user wide alias, then clojure-nvd is not included in the project path, which is what the documentation seems to warn against.
However, the clojure-nvd jar is merged into the classpath when used as an alias no matter where the clojure command is run, so it would still be there.
Perhaps this is a candidate for being a tool and dropping this alias (or marking the alias with a warning)
This would make a good example of why the
-Ttool approach is useful.
Thanks! Looking reasonable
> However, the clojure-nvd jar is merged into the classpath when used as an alias no matter where the clojure command is run, so it would still be there.
One should be careful both ways: a given project's dependencies can affect nvd-clojure's own dependency tree. So
cd ~ does buy one extra isolation for that one case as well.
-Ttool is a bit better which is why we added it to nvd-clojure. Still, I was disappointed that Tools adds
. to the classpath, so
cd ~ still buys a little bit of correctness.
For a security-oriented tool I'm generally favoring correctness over convenience/minimalism.