SlideShare a Scribd company logo
© 2023 - Atsign | docs.atsign.com
Implementing OpenSSF Scorecards
Across an Organisation
All Day DevOps - Oct 2023
© 2023 - Atsign | docs.atsign.com
© 2023 - Atsign | docs.atsign.com
© 2023 - Atsign | docs.atsign.com
Hi, I’m Chris
@cpswan
https://chris.swanz.net
© 2023 - Atsign | docs.atsign.com
Agenda
➔ Who are OpenSSF, and what is a scorecard?
➔ Start with Allstar
➔ Doing your first repository
➔ Scaling across multiple repositories
➔ 80:20
➔ The toil of it all
Who are OpenSSF,
and what is a scorecard?
© 2023 - Atsign | docs.atsign.com
https://openssf.org/
© 2023 - Atsign | docs.atsign.com
Start with Allstar
© 2023 - Atsign | docs.atsign.com
https://github.com/ossf/allstar
A whole bunch of config, and a whole bunch of files
Doing your first repository
Expect LOTS of issues
Help is at hand
Dependency (pinning) hell cont…
Scaling across multiple repositories
Rinse and repeat - more of this
And more of this
80:20
There will be a residue
This is where it gets really gnarly
The questionnaire is long and detailed
And some sections might be hard to accomplish
The toil of it all
Make friends with the new boss
From a docs repo (no actual code to maintain)
From a code repo
Dockerfiles need rollups
rollup.sh
#!/bin/bash
if [ $# -ne 2 ] ; then
echo "Usage rollup.sh <BASE_PR> <LAST_PR>"
exit 1
fi
BASE_PR=$1
LAST_PR=$2
git pull
gh pr checkout "$BASE_PR"
for (( i=(($BASE_PR + 1)); i<=$LAST_PR; i++ ))
do
PR_BRANCH=$(gh pr view "$i" --json headRefName -q .headRefName)
git merge origin/"$PR_BRANCH" -m 
"build(deps): Rollup merge branch for #${i} ${PR_BRANCH}"
done
git push
Scorecard’s own dependencies can change with
annoying regularity (in every repo with a scorecard)
Base dependencies can be amplified
© 2023 - Atsign | docs.atsign.com
Review
➔ An OpenSSF Scorecard can show you care about security.
➔ Allstar provides a good starting point.
➔ Pick a first repo to get a hang of what’s needed.
➔ Then automate across the rest of the organisation.
➔ 20% of the effort to get 80% of the score. Uphill from there.
➔ Scorecards do create ongoing toil that needs to be minimised.
© 2023 - Atsign | docs.atsign.com
Call to action: Run the scorecard CLI against one of
your own repos
https://github.com/ossf/scorecard#
scorecard-command-line-interface
Resources
Blog posts
https://blog.thestateofme.com/2022/12/02/implementing-ossf-scorecard
s-across-a-github-organisation/
https://blog.thestateofme.com/2023/03/09/roll-up-rollup-get-your-depe
ndabot-prs-together-here/
atGitHub
https://github.com/atsign-foundation/.github/blob/trunk/docs/atGitHub.md
Varun Sharma’s (Step Security) QCon Demo Org
https://github.com/qcon-demo-org
Thanks for your time
chris@atsign.com
@cpswan
Questions?

More Related Content

PDF
QConNY 2023 - Implementing OSSF Scorecards Across an Organisation
PDF
SOOCon24 - Showing that you care about security - OpenSSF Scorecards
PDF
Open Source evaluation: A comprehensive guide on what you are using
PDF
stackconf 2024 | How to hack and defend (your) open source by Roman Zhukov.pdf
PDF
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
PPTX
Open Cybersecurity Alliance Briefing at RSAC 2020
PDF
Software Bill of Materials (SBOMs) for C applications [FOSDEM 2025]
PDF
Cyber Resilience Act - CTO Lunch Club 20241129
QConNY 2023 - Implementing OSSF Scorecards Across an Organisation
SOOCon24 - Showing that you care about security - OpenSSF Scorecards
Open Source evaluation: A comprehensive guide on what you are using
stackconf 2024 | How to hack and defend (your) open source by Roman Zhukov.pdf
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Open Cybersecurity Alliance Briefing at RSAC 2020
Software Bill of Materials (SBOMs) for C applications [FOSDEM 2025]
Cyber Resilience Act - CTO Lunch Club 20241129

More from Chris Swan (20)

PDF
Rules of Engagement for Forking a Dependency (SOSS Community Day Europe 2024)
PDF
Showing that you care about security for your open source (hardware) project
PDF
LNETM - Atsign - Privacy with Personal Data Services
PDF
Fluttercon Berlin 23 - Dart & Flutter on RISC-V
PDF
Flutter SV Meetup Oct 2022 - End to end encrypted IoT with Dart and Flutter
PDF
QConSF 2022 - Backends in Dart
PDF
London IoT Meetup Sep 2022 - End to end encrypted IoT
PDF
Flutter Vikings 2022 - End to end IoT with Dart and Flutter
PDF
EMFcamp2022 - What if apps logged into you, instead of you logging into apps?
PDF
Devoxx UK 2022 - Application security: What should the attack landscape look ...
PDF
Flutter Festival London 2022 - End to end IoT with Dart and Flutter
PDF
Full Stack Squared 2022 - Power of Open Source
PDF
Flutter Vikings 2022 - Full Stack Dart
PDF
Droidcon London 2021 - Full Stack Dart
PDF
Keeping a project going
PDF
Dart on Arm - Flutter Bangalore June 2021
PDF
TMS9995 on RC2014
PDF
CloudCamp London Nov 2019 Intro
PDF
DevSecOps Days London - Teaching 'Shift Left on Security'
PDF
Cooking with a touch of science and a dash of engineering
Rules of Engagement for Forking a Dependency (SOSS Community Day Europe 2024)
Showing that you care about security for your open source (hardware) project
LNETM - Atsign - Privacy with Personal Data Services
Fluttercon Berlin 23 - Dart & Flutter on RISC-V
Flutter SV Meetup Oct 2022 - End to end encrypted IoT with Dart and Flutter
QConSF 2022 - Backends in Dart
London IoT Meetup Sep 2022 - End to end encrypted IoT
Flutter Vikings 2022 - End to end IoT with Dart and Flutter
EMFcamp2022 - What if apps logged into you, instead of you logging into apps?
Devoxx UK 2022 - Application security: What should the attack landscape look ...
Flutter Festival London 2022 - End to end IoT with Dart and Flutter
Full Stack Squared 2022 - Power of Open Source
Flutter Vikings 2022 - Full Stack Dart
Droidcon London 2021 - Full Stack Dart
Keeping a project going
Dart on Arm - Flutter Bangalore June 2021
TMS9995 on RC2014
CloudCamp London Nov 2019 Intro
DevSecOps Days London - Teaching 'Shift Left on Security'
Cooking with a touch of science and a dash of engineering
Ad

Recently uploaded (20)

PDF
Softaken Excel to vCard Converter Software.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Digital Strategies for Manufacturing Companies
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
history of c programming in notes for students .pptx
PDF
System and Network Administraation Chapter 3
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
medical staffing services at VALiNTRY
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Introduction to Artificial Intelligence
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
AI in Product Development-omnex systems
PPTX
Transform Your Business with a Software ERP System
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
Softaken Excel to vCard Converter Software.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Digital Strategies for Manufacturing Companies
Adobe Illustrator 28.6 Crack My Vision of Vector Design
history of c programming in notes for students .pptx
System and Network Administraation Chapter 3
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Design an Analysis of Algorithms II-SECS-1021-03
How to Choose the Right IT Partner for Your Business in Malaysia
Operating system designcfffgfgggggggvggggggggg
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
medical staffing services at VALiNTRY
How to Migrate SBCGlobal Email to Yahoo Easily
Introduction to Artificial Intelligence
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Which alternative to Crystal Reports is best for small or large businesses.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
AI in Product Development-omnex systems
Transform Your Business with a Software ERP System
Navsoft: AI-Powered Business Solutions & Custom Software Development
Ad

All Day DevOps 2023 - Implementing OSSF Scorecards Across an Organisation.pdf