Guest post originally published on the SIGHUP blog by Simone Ragonesi

In this article, we will introduce you to S2C2F. The Secure Supply Chain Consumption Framework is a combination of requirements and tools for any organization to adopt made by the Open Source Security Foundation.

The Oxford Dictionary defines a supply chain as:

“the series of processes involved in the production and supply of goods, from when they are first made, grown, etc. until they are bought or used.”

This definition also applies to the digital supply chain, i.e. the supply chain that concerns digital artifacts (the present article applies to this specific form of supply chain).


Supply chain security refers to all the activities and controls that aim to enhance the security of the supply chain (a.k.a. value chain).

Supply chain security is a hot topic at the moment, and rightly so.
Statistics show an increasing number of attacks on the value chain, and the projections for the coming months/years are not rosy.
Gartner predicts that by 2025, 45% of organizations will have experienced a software supply chain attack.

It, therefore, becomes essential to have an all-encompassing frame of reference, a coordinate system that can guide us through misty waters and help us identify the crucial points of our value chain and the ways in which we can secure them.
In this regard, various institutions, both public and private, are putting considerable effort into the development of these frameworks.

In this article, the SIGHUP DevSecOps and Cloud Security team wants to introduce you to S2C2F (Secure Supply Chain Consumption Framework), a relatively new effort made by the open-source security foundation in collaboration with Microsoft.

The S2C2F Framework

The S2C2F Framework is a combination of requirements and tools for any organization to adopt.
It mainly focuses on how to securely consume and manage open source dependencies.

Using a threat-based risk-reduction approach, the goals of the S2C2F are to:

  1. Provide a strong OSS governance program.
  2. Improve the Mean Time To Remediate (MTTR) for resolving known vulnerabilities in OSS.
  3. Prevent the consumption of compromised and malicious OSS packages.


The framework is modeled after three core concepts — control of all artifact inputs, continuous process improvement, and scale:

These three concepts can be put into action with the following 8 best practices:

Round chart showing 8 practices:IngestInventoryUpdateEnforceAuditScanRebuildFix + Upstream
S2C2F – Best Practices


A maturity model has been designed to categorize the requirements from the 8 different practices into four distinct levels, as it is not feasible to implement all eight practices simultaneously.
Through the maturity model, organizations can gradually progress from their current level of security capabilities to a more secure defensive position.
The model also takes into account various threats and themes at each maturity level. It is possible to have a mix of framework levels implemented across different projects, and while Level 4 is an aspirational vision for organizations due to its high cost, it is achievable for critical dependencies and projects. Nevertheless, implementing Level 4 across the entire organization at scale may prove challenging.

Table showing S2C2F Levels (Level 1 to Level 4)
S2C2F – Levels

Level 1 involves using a package caching solution, performing an inventory of OSS, and scanning and updating OSS to improve security.
Level 2 focuses on shifting security further left by improving configuration security, decreasing patch response time, and automating OSS maintenance.
Level 3 proactively performs security analysis on the organization’s most used OSS to reduce risk and prevent compromise.
Level 4 is considered aspirational and involves rebuilding OSS on trusted build infrastructure to defend against the most sophisticated adversaries and implement fixes at scale.

Conclusions

In summary, the main conceptual points to internalize are:

We strongly believe that companies will be led by circumstances to devote ever greater attention to the security of their flows, and this often involves a cultural and technological change in how things are done.
Adopting state-of-the-art security frameworkswith the shift left paradigm at their core, has proven to be a cornerstone of modern SecOps and will continue to be vital to the resilience of our supply chains.

If you want to go deeper, and we strongly recommend you do, you can find the official documentation in this GitHub repo.