Hello Elm community! I am putting together a report to help evaluate the possibility of adopting Elm as part of my company’s tech stack. As part of that, I need to address the security landscape of using Elm.
It is clear to me that the security situation in general is pretty great. In particular with respect to supply chain attacks, it seems like the goal of the Elm community is to make those kinds of attacks more or less impossible at the language level, or at least perhaps relegated to packages providing functions of type Cmd
, but I have been unable to find any sort of “executive summary” (which might, for example, explicitly state supply chain security as a sanctioned design goal of the language, rather than just “it seems to be implied based on these blog posts and forum discussions”).
“These blog posts and forum discussions” that I’ve found so far include:
-
Security in the Elm ecosystem: Security in the Elm eco system
This seems to be somewhat outdated though. -
This excellent blog post about having recently fixed a particular security issue: Fixing vulnerabilities in Elm's virtual DOM | jfmengels' blog
-
Another fix for some particular vulnerabilities: GitHub issue #56 on the elm/html project.
-
A few more conversations in a similar vein as the above, some only tangentially relevant (and which I can’t link to in any case, because Discourse informs me I can only post 2 links because I am a new user ).
Some specific questions I would like to find answers for are:
- Is the prevention of supply chain attacks an explicit design goal of Elm, as it seems to be?
- Is there some higher-level security overview or resource I’m overlooking?
- Is there a database of security advisories for
package.elm-lang.org
(e.g. like the one recently approved for the Haskell community)? - Are there any automated tools for security scans?
I would also welcome any other suggestions for either resources I should look at, or approaches to communicating the security landscape to my company, or anything else for that matter!
Thank you!