Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing OSSF Scorecard #2

Open
1 of 3 tasks
UlisesGascon opened this issue Feb 1, 2024 · 17 comments
Open
1 of 3 tasks

Implementing OSSF Scorecard #2

UlisesGascon opened this issue Feb 1, 2024 · 17 comments

Comments

@UlisesGascon
Copy link
Member

UlisesGascon commented Feb 1, 2024

Some time ago, we implemented the monitoring and review of the OSSF scorecard in the Node.js org, and it significantly contributed to the improvement of many repositories. I believe adopting a similar approach for Express would be highly beneficial. We've developed tools, such as the OpenSSF Scorecard Monitor and OpenSSF Scorecard Visualizer, along with processes that make handling the evolution of scoring straightforward. Despite initial appearances, the process is quite simple.

Context

The goal of Scorecards is to auto-generate a “security score” for open source projects to help users as they decide the trust, risk, and security posture for their use case. This data can also be used to augment any decision making in an automated fashion when new open source dependencies are introduced inside projects or at organizations. For example, organizations may decide that any new dependency with low scores has to go through additional evaluation. These checks could help mitigate malicious dependencies from getting deployed to production systems like we’ve seen recently with malicious NPM packages.
source: openssf Blog

Resources

Next Steps:

I'm enthusiastic about leading these changes in the repos. While we may not be familiar with the OSSF Scorecard, we already have scores for most of our projects. Here is a simple dashboard that I auto-generated. The OSSF team is already tracking our projects using a CRON job, but we can easily enrich them and make some simple patches to increase the scoring.

Most of these changes won't require significant alterations and can be performed in isolated PRs, making them easy to review. If we're in agreement, I can start with the Express project to showcase the process. 👍

@dougwilson
Copy link

If we're in agreement, I can start with the Express project to showcase the process. 👍

Go for it. And if it makes it amy easier you are always welcome to start with any of the smaller, simplier middleware repos.

@inigomarquinez
Copy link
Member

Good afternoon!

I've had a chat with @UlisesGascon to tell him that I am interested in contributing to this initiative, as the OpenSSF Scorecard is something that I like and that I have also helped to implement in the Open Source community of the company where I work.

@UlisesGascon
Copy link
Member Author

Yeah! Welcome aboard @inigomarquinez 🎉

@carpasse
Copy link
Contributor

carpasse commented Mar 7, 2024

Good Morning!

I've also had a chat with @UlisesGascon and I am interested in contributing to this initiative too.

@UlisesGascon
Copy link
Member Author

UlisesGascon commented Mar 7, 2024

As discussed with @inigomarquinez, he will champion this initiative 🎉

@inigomarquinez
Copy link
Member

Thanks for the opportunity @UlisesGascon !

@carpasse
Copy link
Contributor

@expressjs/express-tc As @jonkoops mentioned in this comment, we should decide on which tool to use—Dependabot or Renovate—so that we don’t have to perform these version updates manually.

@wesleytodd
Copy link
Member

Ah, just seeing this after checking the previous notification for updating. Sorry if that comment is not necessary now. Anyway, if this is a way to unblock those from failing I am good merging them, but we should work on a non-distributed way to manage these. Maybe have a shared workflow we update in one place?

@sheplu
Copy link
Member

sheplu commented Jan 9, 2025

Ah, just seeing this after checking the previous notification for updating. Sorry if that comment is not necessary now. Anyway, if this is a way to unblock those from failing I am good merging them, but we should work on a non-distributed way to manage these. Maybe have a shared workflow we update in one place?

one of the plan I have (and will be starting soon) is to centralize all workflows - allowing full reusability across all projects :D

@UlisesGascon
Copy link
Member Author

Actually, I started to experiment running the analysis in a DIY mode with the official Docker Image in VisionBoard and seems like maybe it will replace some of this CI overhead ref. I am checking with the Scorecard maintainers if there is a way also to report this info back to the official API (that is the only piece missing with this new approach for now).

Phillip9587 added a commit to Phillip9587/express that referenced this issue Mar 26, 2025
Phillip9587 added a commit to Phillip9587/body-parser that referenced this issue Mar 26, 2025
Phillip9587 added a commit to Phillip9587/finalhandler that referenced this issue Mar 26, 2025
Phillip9587 added a commit to expressjs/express that referenced this issue Mar 27, 2025
Phillip9587 added a commit to pillarjs/finalhandler that referenced this issue Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants