maennchen

maennchen

Create Hex.pm Vulnerability Disclosure Feature

Following up on the discussion on Elixir Slack.

It would be really cool if hex.pm would provide a feature like the “Report A Vulnerability” process on NPM.

There would have to be a small team of trusted people reviewing those reports and taking actions based on that report.

I haven’t put much thought into that yet since the idea just came up.

Most Liked

ericmj

ericmj

Elixir Core Team

I see it working like npm’s vulnerability report feature [1]. We have a form on hex.pm where vulnerabilities can be reported, when a new report is submitted it will be reviewed and if it is determined that there may be a security issue we will notify the package owners. The report will be disclosed publicly after a fix has been released or after certain of days regardless if there is a fix.

It can be integrated with mix hex.audit and package versions with publicly disclosed vulnerabilities should have it visible on their package page.

The reviewers would be a group of volunteers that are trusted in the community and have a track record of working on security issues.

Implementation wise for Hex it is not a lot of work, the bigger problem is putting together and organizing the group reviewers.

To keep the scope small I suggest we focus on the vulnerability reporting instead of including other features such as GitHub integration.

[1] https://www.npmjs.com/advisories/report

QuinnWilton

QuinnWilton

If this idea ends up picking up traction and you do look for a team of reviewers, I’m happy to help out with defining that process and jumping onboard.

I’ve been working in security professionally for a long time, and coding Elixir professionally for a few years, and I wouldn’t mind something like this coming to the Elixir ecosystem.

maennchen

maennchen

whether there are any unfixed vulnerabilities

GitHub stars are a really bad metric for that. Package Versions with a vulnerability should be retired to show that they are not secure.

LostKobrakai

LostKobrakai

Then it’s imho still better to run the patched version besides the fact that I cannot see a way to relyably detect where someone is deploying to.

AstonJ

AstonJ

Sounds like a good idea :slight_smile:

Slightly related, there was some talk about expanding Hex.pm a couple of years ago - the thread contains some ideas about incorporating GH stars and other ideas to gauge popularity etc.

Perhaps some of those ideas could be considered at the same time?

Where Next?

Popular in Chit Chat Top

maennchen
Following up on the discussion on Elixir Slack. It would be really cool if hex.pm would provide a feature like the “Report A Vulnerabili...
New
Qqwy
Hello there, everyone, I just listened to the ‘break it down like a fraction’ episode of Elixir Outlaws on my way back home. It is mostl...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
FlyingNoodle
Hi all I have been doing some pretty intensive research over the last few days around agents/vibe coding. I tried some commercial offeri...
New

Other popular topics Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 27727 240
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

We're in Beta

About us Mission Statement