News

Leaked access keys do not stop at your own repository

← Back to news

An access key can escape a development environment without anyone deliberately sharing company information. An example project, a public bug report or a personal fork may be enough. Checking only an organisation’s own repositories therefore does not automatically reveal every place where sensitive information might appear.

On 1 July, GitHub announced public monitoring for secret scanning as a public preview for eligible Enterprise Cloud customers. The feature helps associate leaked secrets found on public areas of GitHub with an organisation. Its principle is that organisations should also receive relevant findings when a leak occurs outside the repositories they own.

For development teams, responding to a finding matters just as much as detecting it. Deleting a file does not make a previously shared key safe again. A clear response procedure identifies who revokes the key, what replacement is needed and how the team checks whether the old access was used. Systems that legitimately rely on the key also need to keep working after it changes.

A sound approach starts earlier: keep secrets out of source code, limit their permissions and record what they are used for. Practise replacing keys as well. Detection becomes truly useful when a team can quickly turn a finding into a controlled recovery action.