Safeguard
Developer Tools•

Why do open source policies fail, and which rules to automate first?

Workers will not always follow policy. The OSPO book says to automate use, management and tracking of components. Here is a sensible order to start.

Safeguard Security Team
4 min read

Open source policies fail when they rely on people remembering them. The OSPO book says managers know workers will not always follow policy, so OSPOs should automate the use, management and tracking of open source components. Start with the rules that are easy to check by machine and costly to miss.

What the book says

In its day-to-day operations chapter, the OSPO book lists automation tools as a core activity. It says creating process automation to support open source policies is important because policies alone may not always be effective, and that managers want effective options to automate use, management and tracking of open source components. It adds that automation is useful for license compliance and security.

The book's maturity table repeats the point for license tools: automation is essential to address risks with a reasonable amount of effort and to measure whether compliance efforts are working.

Which rules to automate first

Rank rules by two questions: can a machine check it reliably, and what does a miss cost? Here is a starting order. The order is our suggestion.

OrderRuleWhy start here
1New dependencies need a recorded decisionMachine-checkable, and the most direct control
2Block disallowed license typesClear list, clear result
3Block known critical vulnerabilities in new additionsCheap to check, high value
4Flag version or license changes in existing dependenciesCatches drift
5Require an owner for each serviceMakes every alert actionable
6Report on sources used by buildsStarts the audit trail

Leave judgment calls, such as an unusual license or an architectural question, to people. The goal is to remove routine checking, not to remove reviewers.

Roll out gently

A gate that suddenly fails every build teaches developers to hate the policy. A kinder sequence:

  1. Run the check in report-only mode and publish the results.
  2. Fix or grandfather what already exists.
  3. Warn on new violations.
  4. Block on new violations.

See turn on a license gate without breaking every build. Also provide an exception path with an owner and an expiry date, so a block is never a dead end.

Make the rule visible where developers work

A rule that fails in a pull request, with a clear message and a link to the policy, teaches faster than any training. The message should say what failed, why, and what to do next.

Measure whether automation helps

Track the share of dependency changes covered by a check, and the number of exceptions open past their expiry date. If coverage is low, developers are finding another path. If exceptions pile up, the rule may be wrong.

Try it yourself

Click through it at your own pace, or open it full screen. Look at how the result is explained to the developer at the moment of the change.

How Safeguard fits

Safeguard provides policies, gates and guardrails and SBOM and dependency scanning, so rules like the first four can run on pull requests. Try gold.safeguard.sh/scan.

Quick check

Should every rule block the build?

No. Start with warnings, then block the rules that are clear and costly to miss.

Does automation replace the review board?

No. It removes routine checks so reviewers can spend time on judgment calls.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.