What Commonwealth Bank released
On 18 November 2026, Commonwealth Bank released CodeCheck, a free tool that walks AI coding agents through a structured security review of a codebase. CodeCheck runs on OpenAI's Codex or Anthropic's Claude Code. The bank says the tool is based on a capability it uses in its own software development, where thousands of engineers work across roughly 2.5 billion lines of code. Cyber Daily's report carries the same figures and adds that CBA wants more Australian businesses using AI to harden their software.
The GitHub repository is published under the MIT licence. The README describes CodeCheck as a plugin with an orchestrator that directs sub-agents and never reads the reviewed code itself. A scoping agent maps the code and sets a threat model. Hunter agents then search for weaknesses grouped by CWE family, alongside dedicated agents for design flaws and planted malicious code. Reviewer agents try to disprove each finding, and the orchestrator writes a report in SARIF 2.1.0 format with a CVSS 4.0 score for every finding that survives.
CBA's support page sets clear limits. CodeCheck is a one-time release that CBA won't maintain, update or support. The code is provided as is, and the bank says the public version differs from its internal systems. The page also says the tool is usually most useful for medium to large businesses that develop software in-house. CBA's announcement puts the main caveat in four words: "CodeCheck can make mistakes."
The safety instructions are the most useful part
For most NZ organisations, the README's safety guidance is worth more than the scanner. The README treats all reviewed code as untrusted input that may contain text written to steer the agent. The prompt-level guardrails, such as telling agents to stay read-only, are followed non-deterministically and don't count as a security control. Only the sandbox enforces anything reliably. AI News reported the same warning and noted that CBA's review agents are told not to modify source files, with no guarantee they'll comply.
The README spells out the sandbox the bank expects. Mount the code read-only. Block outbound network traffic except to the model provider (and to GitHub if the agent reviews pull requests). Keep credentials out of reach. CBA ranks first in Asia-Pacific for AI maturity in the 2026 Evident AI Index for Banks, so its stated position that prompts can't be trusted to restrain an agent deserves weight.
That position applies well beyond source code. An agent that reads supplier emails, support tickets, uploaded PDFs or web pages faces the same exposure as an agent reading a hostile repository. Anything the agent ingests can carry instructions, and the agent's permissions decide how much damage those instructions can do.
Cost is the other practical warning. CodeCheck starts many sub-agents, and token use grows with the size of the codebase. The README recommends a spend limit or a timeout for unattended runs and gives a Claude Code example capped at US$25 per review. The support page adds that AI providers run their own safeguards on cyber security activity, and repeatedly triggering those safeguards can lead to warnings or account restrictions. A team that schedules nightly scans across every repository could hit both limits.
What CodeCheck means for NZ businesses
CBA aimed the release at Australian businesses, but the MIT licence on GitHub lets NZ teams use and adapt CodeCheck freely. The case for earlier detection applies on both sides of the Tasman. In 2025-26 the ACSC sent more than 4,400 early warnings to organisations about possible malicious activity, up 80 per cent on the year before, according to Australian Signals Directorate figures quoted in CBA's announcement. Some vulnerabilities were exploited within 48 hours of a patch or advice being released.
The NZ organisations that gain most are those writing their own code. Examples include SaaS vendors, firms with ERP customisations or integration layers, and businesses running internal portals. Firms whose software comes from an outsourced developer get a useful question for their supplier: how do you review AI-written code for security flaws, and where does our code go during that review?
Data handling needs a decision before anyone runs a scan. CodeCheck sends the reviewed code to whichever model provider the business chooses, and that code is processed under the provider's terms. CBA says it never sees the code or the findings. If a repository holds hard-coded secrets, customer test data or commercially sensitive logic, a business should check its Anthropic or OpenAI agreement for retention and training terms before the first scan.
Ownership needs a decision too. Because CBA won't maintain the public repository, every adopter is effectively running its own fork. Someone has to own the fork, review any upstream changes before pulling them in, and track the agent platforms CodeCheck depends on. The README also warns that language models often raise false positives and overstate severity, so engineering time for triage belongs in the plan.
Practical next steps
- Pick one internal repository with a known security history for a first run, so the team can compare CodeCheck's findings against issues it already knows about.
- Build the sandbox before the first scan: read-only code mount, an outbound allowlist limited to the model provider, and no credentials inside the environment. The README offers Docker Sandboxes and Firecracker as examples.
- Set a spend cap and a timeout, then record the token cost of the first run so the team can estimate costs for larger codebases.
- Read the AI provider's data terms and remove secrets from the repository before any code leaves your network.
- Fork the repository, pin a version and name an owner who approves any changes.
- Send findings to a named engineer for triage and keep your existing static analysis and penetration testing in place.
- Apply the same isolation rule to every other agent your business runs on untrusted content, such as inbox triage or document processing. Our AI agents page covers how we approach agent permissions.
CodeCheck is a free, well-documented review harness. It's also a large bank's public statement that prompt guardrails don't contain an agent and only infrastructure does. NZ teams building agent policies can use that guidance whether or not they ever scan a line of code. Businesses setting broader rules for AI use can start with our AI consultancy work on governance.
Sources
- CommBank launches CodeCheck to help Australian businesses find software vulnerabilities
- CodeCheck by CommBank support page
- Commonwealth-Bank-of-Australia/CodeCheck on GitHub
- CommBank releases free AI security tool to help Aussie businesses find code vulnerabilities - Cyber Daily
- Why Commonwealth Bank is using AI to detect software vulnerabilities earlier - AI News
- AI cybersecurity takes centre stage as Commonwealth Bank opens security technology to Australian businesses - Proactive Investors
Want to know what this means for your organisation? Our team in Auckland can show you your top three opportunities in a free 30 minute assessment.
Get my free assessment How we help