Skip to content
Software development
ASD ISMISM-1422

ASD ISM 1422 Prevent unauthorised access to software source

What it says

Unauthorised access to the authoritative source for software is prevented.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Block anyone without authorisation, whether a person, pipeline or AI tool, from reaching the authoritative source for software by any route, including read-only access.

Unauthorised access to the authoritative source for software must be prevented. The authoritative source is the organisation's designated, trusted repository for its source code and imported third-party components (ISM-2023). Access includes viewing, downloading or copying its contents, not only changing them, which ISM-1816 covers. Prevented means the platform refuses anyone without authorisation, whether a person, a build pipeline or an AI tool, on every route in, such as the web interface, command-line tools and APIs. Logging access without blocking it does not meet this.

Why it matters

Anyone who can read the authoritative source can study the code for flaws to exploit, collect secrets left in it and prepare to tamper with the copy every build relies on. Blocking unauthorised access takes away that starting point for a supply chain attack.

How to implement

  1. Decide who may access each repository.

    List the people, teams, build pipelines, AI tools, installed apps and service accounts that need each repository, and grant only that. Validate each request when first made (ISM-0405 for unprivileged access, ISM-1507 for privileged access) and limit access to what each duty requires (ISM-1852, ISM-1508).

  2. Require authentication on every route: web, command line, API and downloads.

    Turn off anonymous and public access, require multi-factor authentication for people (ISM-1505 requires it for human users of data repositories), and give pipelines and AI tools their own scoped, expiring tokens or keys. On a hosted platform, use organisation-wide settings that stop repositories being made public.

  3. Remove access that is no longer needed.

    Revoke it the same day someone leaves or no longer needs it (ISM-0430), disable inactive access after 45 days (ISM-1404, ISM-1648), and revoke tokens and keys for retired pipelines and tools.

  4. Log access and compare it with the approved list.

    Send the platform's audit log, including sign-ins, clones, downloads and refused attempts, to central logging (ISM-1566, ISM-1509), and alert on access by unknown accounts or unusual bulk downloads. Close whatever gap allowed any unauthorised access found.

Keep it running

Recheck repository access lists when a project, team or supplier changes. A new route in, such as a new integration, AI tool or platform feature, should trigger a test that it refuses requests without authorisation.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The accounts, deploy keys and tokens, and installed apps that can access a sample of repositories, exported from the platform and including access through teams, groups and settings that open a repository to every member or signed-in user, with the current staff and contractor directory and the list of approved pipelines, service accounts, apps and AI tools, with the keys and tokens issued to each.

    Look at

    Whether every account, key, token and app with access is current and approved for that repository.

    Good evidence

    Every account, key, token and app with access is approved for that repository and used only by current people or by pipelines, service accounts, apps or AI tools on the approved list, and no leaver or unexplained account, key, token or app has access.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A demonstration of access attempts that should fail: with no credentials, with a valid account that has no rights to the repository, and with a revoked token, through the web interface, command line and API.

    Look at

    Whether each attempt is refused, and whether any repository is public or readable without signing in.

    Good evidence

    Every attempt is refused on every route, and no repository is public or readable anonymously.

  3. Check 3 of 3What an auditor asks for

    Ask for

    The platform's access log for a recent period, compared by the auditor with the approved access list.

    Look at

    Any successful access by an account not approved for that repository, and how refused attempts appear.

    Good evidence

    Every successful access in the period was by an account approved for the repository it reached, and attempts by other accounts show as refused.

Mappings

Closest match in ISO/IEC 27001: A.5.18, Access rights, which this control partially meets.

ISO 27001

ISO/IEC 27001: 3 mappings

  • A.5.18Access rightsPartially meets
  • A.8.3Information access restrictionPartially meets
  • A.8.4Access to source codePartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.