Safeguard
Compliance•

How do you show control over source code access for ISO 27001?

How to evidence ISO 27001 control 8.4, access to source code, dev tools and libraries: the rules to write, the access reviews to run, and proof to keep.

Safeguard Security Team
3 min read

To show control over source code access for ISO 27001 control 8.4, define who may read or change code, tools and libraries, grant access by request, and review it on a schedule. Keep the rules, a dated access list and records of requests and reviews. Auditors look for managed access, not a perfect list.

What 8.4 covers

The control covers source code, development tools and software libraries. The goal is to prevent unauthorized changes and disclosure of sensitive software data. Documentation is not mandatory. Smaller companies can use an access control policy, and larger ones may write a procedure for source code access.

The four questions the process answers

The guidance describes a process that does four things:

  1. Restricts access based on how sensitive the code, tools and libraries are
  2. Assigns who is responsible for restricting access
  3. Defines how access requests are made and fulfilled
  4. Specifies how restrictions are reviewed and updated

What to include in scope

ItemExample restriction
Source repositoriesRead for the team, write for approved roles
Build and CI toolsAdmin limited to a few named people
Package registriesPublish rights held by few accounts
Internal librariesSame rules as the code they protect

Evidence to keep

  • The access rules in the access control policy
  • A current list of who can reach each repository
  • Records of recent access requests and approvals
  • The last access review with changes made
  • Removal of access for leavers

Repository settings can produce much of this. A dated export of members and roles, kept each quarter, answers most auditor questions.

Where small teams slip

  • Everyone is an admin because it was faster once
  • Contractor accounts that outlive the contract
  • Old deploy keys and tokens nobody reviewed
  • Package publish rights held by a former employee

A quarterly rhythm that works

Pick one day each quarter. Export members and roles for each repository, build system and registry. A named reviewer marks anything that looks wrong, such as people who changed teams or contractors past their end date, and raises tickets for the fixes. Save the export, the marks and the tickets together. Four of these sets per year give an auditor a clear picture without anyone doing special work in audit month.

Quick check

Does 8.4 only apply to source code?

No. It also covers development tools and software libraries, so build systems and registries belong in scope.

What counts as a review?

A dated check that compares who has access with who should, with changes recorded. A signed note or ticket is enough.

Where tooling helps

Safeguard offers asset discovery and compliance and evidence automation, which can help keep dated records of repositories and access reviews. Deciding who should have access stays with your team. Try the free scan at gold.safeguard.sh/scan.

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.