AI-Enabled Software Development: Security and IP Controls

Key takeaway

Artificial intelligence (AI) coding assistants and agents can take on routine implementation and test writing so engineers spend more time on product decisions. To keep that gain as use expands, control what tools can read and do, how generated code and dependencies reach production, and how you protect proprietary code, verify license obligations, and document human authorship before you ship.

AI coding tools now propose and implement changes

Coding agents such as Claude Code and Codex do more than suggest lines. They read the repository, edit multiple files, run tests, and open pull requests. Fendley et al. documented in 2026 that agents now also run inside continuous integration (CI), where they read issue and pull request text while holding build credentials.

That turns tool selection into an access decision:

  • Completion can use the current file and context from other files.
  • An agent can access repository files, run shell commands, and read secrets within its configured permissions.

What an agent can touch depends on the mode and on how the team configures it, not on the product name. Approve modes and permissions as well as products. The same applies to agent modes in GitHub Copilot and Cursor.

Security and IP controls protect the productivity gain

Without controls, AI moves cost from writing code to reviewing and repairing it.

  • Generated code still fails security checks. Veracode’s initial 2026 GenAI Code Security Report benchmark of 80 tasks found a 56% average security pass rate, up from 55% in its first 2025 report. In that Veracode benchmark, the best model, GPT-5.5, still failed nearly one task in three.
  • Developers trust it too much. In a 47-participant study presented at the 2023 ACM Conference on Computer and Communications Security, Perry et al. found that assistant users wrote less secure code and were more confident it was secure.
  • Review capacity lags. A 2026 enterprise study found that at one company, pull request volume grew 3.1x while the reviewer pool grew 1.5x. The study used 564 developers for its per-developer estimates.
Key insight: Security decides what enters the tool, what the tool can do, and what ships. Intellectual property (IP) decides what stays confidential, which third-party obligations apply, and what rights the company can claim.

Track median time to merge, reviewer time, and post-merge rework in a bounded AI pilot.

Security controls belong at tool access, agent execution, and merge

Every unmanaged AI tool is a way for source code and credentials to leave the company. Start with visibility:

  • Inventory current use from billing records, OAuth grants, application programming interface (API) keys, and developer interviews.
  • Move that use to a business or enterprise tier under company single sign-on (SSO).
  • Give engineers an approved tool instead of a ban. A ban pushes use into shadow IT.

Then answer six yes-or-no checks, each with an owner:

  • Inputs (platform team): Secrets, personally identifiable information (PII), and production logs stay out of tool context, and pre-commit and CI secrets scanning checks committed material for detectable secrets.
  • Code (tech lead): AI-written code passes the same gates as human code. Changes to auth, crypto, payments, and data access get a senior reviewer and tests that prove the security rule holds.
  • Dependencies (build owner): Packages are verified against the live registry, pinned, and installed with install scripts disabled. Spracklen et al.’s 2025 USENIX Security study found that 19.7% of 2.23 million generated package references were hallucinated.
  • Agents (platform team): Each agent has its own least-privilege identity and cannot deploy, merge to main, or reach signing keys. On connected devices, firmware signing keys and over-the-air (OTA) pipelines stay in a hardware security module (HSM) or a gated release system.
  • Hosting (security): The model’s data path is mapped for each repository risk tier.
  • Access (security and IT): Every person, service account, API key, and agent token that can reach repositories or AI tools is reviewed each quarter and at every role change or offboarding. Accounts authenticate through SSO and are provisioned and deprovisioned through System for Cross-domain Identity Management (SCIM) where supported. Revoke unused tokens and remove access outside that integration separately. Engineers use only company-managed accounts for AI tools on company code: personal and free-tier sign-in is blocked on company devices and networks, and AI tool audit logs are checked for activity recorded within the managed tenant.
Hosting option Strongest for Watch
Vendor SaaS, commercial tier Fastest features, least operations work The vendor and its subprocessors sit in the data path. Agent traces can hold secrets, as Cursor’s November 2026 security incident update showed. Bring-your-own-key is a billing feature and does not isolate data.
Own cloud (AWS Bedrock with PrivateLink, Azure, Google Vertex AI) Private networking, your identity and access management (IAM) and audit logs, retention set by policy Claude Fable 5, 5.1, and 5.2 on Bedrock require up to 30 days of retention with possible human review by AWS. Global cross-Region profiles route requests worldwide. Vertex caches Gemini prompts for up to 24 hours by default. Claude in Microsoft Foundry is operated by Anthropic. Re-check retention on every model upgrade.
Self-hosted, open-weight Air-gapped or regulated code Operations burden and model quality

Traps that defeat these checks

  • The Claude Code sandbox is off by default and covers shell commands only. Enforce it through managed settings and explicitly deny access to credential directories.
  • In Claude Code, a name-based Model Context Protocol (MCP) allowlist matches the configured server name. Match by URL or command to restrict the endpoint or executable.
  • Personal sign-in bypasses admin controls unless the company also blocks personal accounts, and browser data loss prevention (DLP) does not see command-line interface (CLI) or integrated development environment (IDE) agents.
  • Service accounts and agent tokens outlive the people who created them. An access review that lists only employees misses them.
  • In Spracklen et al.’s 2025 USENIX Security study, 48.6% of hallucinated package names were six or more edits from the closest popular valid package name tested, so checks limited to close typos can miss them.
  • GitGuardian’s September 2026 analysis found that public GitHub commits co-authored by Claude Code leaked secrets at 3.2%, against a 1.5% baseline across public GitHub commits.
  • Deleting a leaked secret does not fix the leak. GitGuardian’s State of Secrets Sprawl 2026 report found that 64% of valid secrets leaked in 2022 still worked in January 2026, and that public MCP configuration files exposed 24,008 unique secrets. Revoke the secret at the issuer and rotate it.
  • GitHub calls Copilot content exclusion “not a filesystem security boundary.”

Passing tests and trust prompts leave gaps in AI-assisted workflows

Warning: Green tests and a clicked trust prompt do not prove that an AI-assisted change is safe.
Failure Real case Check
Endpoint passes happy-path tests but returns another tenant’s records Common in SaaS backends Authorization test that must deny cross-tenant access
Build pulls in a package an assistant suggested Nx “s1ngularity” (Aug 2025): no npm provenance, and an install script attempted to use local AI CLIs to hunt secrets. Snyk and GitGuardian analyzed the attack in August 2025, and GitGuardian identified 2,349 distinct credentials in the initial leak. Registry and lockfile review, install scripts off
Automated PR reviewer with credentials reads attacker-written issue text Comment and Control, documented by Fendley et al. in 2026 Run untrusted CI jobs apart from privileged secrets
AI vendor or subprocessor is breached Cursor/Fireworks (Oct 2026 incident, Nov 2026 update): agent traces from sessions without Privacy Mode, some with credentials Playbook that revokes tokens at the issuer and rotates them

Agent advisories CVE-2025-55284 (unauthorized file reads) and CVE-2026-21852 (credential exposure from an untrusted repository) show why coding agents need to stay patched and constrained.

Contact Us

if you want an engineer to test these gates against your own pipeline.

IP controls protect proprietary code and clarify release rights

IP risk decides whether the company can ship, license, and defend what its engineers produce. Three steps:

Protect what goes in.

Block free and consumer tiers. Put four terms in the contract, not just the settings page: no training, minimal or zero retention, company ownership of outputs, and uncapped or super-capped IP indemnity, as a 2023 Bloomberg Law negotiation guide recommends. From April 24, 2026, GitHub uses inputs and outputs from Copilot Free, Pro, and Pro+ to train its models unless the user opts out.

Verify what comes out.

FOSSA, a compliance tooling vendor, wrote in 2026 that AI snippets stay “largely invisible” to traditional compliance tooling. Load allowed, flagged, and denied license lists into a snippet scanner. Turn public-code matching on; Copilot indemnity has not required the filter since Apr 3, 2026, so check each vendor’s current terms. In Doe v. GitHub, the Ninth Circuit affirmed dismissal of the Digital Millennium Copyright Act (DMCA) § 1202(b) claims in September 2026, and Fenwick’s analysis notes that the license breach claims continue.

Keep evidence of human authorship.

U.S. copyright protects only human authorship, according to the U.S. Copyright Office’s January 2025 report and Thaler v. Perlmutter, which the Supreme Court declined to review in March 2026. Enforce an Assisted-by: commit trailer and record substantive human design work in the pull request.

Tools and tiers. Name the tier as well as the tool. Free and consumer tiers can offer privacy controls. Company-managed controls depend on the tier. Bring-your-own-key does not change that: Cursor routes those requests through its own servers, and its zero-retention policy does not apply to them.

Control Example tools and the tier that provides it
Managed accounts, SSO, no training Claude Team/Enterprise · ChatGPT Business/Enterprise for Codex · Gemini Code Assist Standard/Enterprise · Amazon Q Developer Pro · Copilot Business/Enterprise · Cursor Teams (SCIM and audit logs on Enterprise)
IP indemnity Amazon Q Pro · Gemini Code Assist Standard/Enterprise · Copilot Business/Enterprise
Agent sandbox and MCP Claude Code sandbox and managed MCP allowlist · Codex managed requirements · Cursor Enterprise MCP controls
Secrets GitHub Secret Protection · GitGuardian · Gitleaks/TruffleHog pre-commit
Static application security testing (SAST) GitHub Code Security (CodeQL, Copilot Autofix) · Snyk Code · Semgrep · Checkmarx
Dependencies Socket Firewall · Endor Labs · Dependabot · npm minimum package age, no auto-install in CI and agents
Snippet and license scanning FOSSA · Black Duck Snippet API
Shadow AI and prompt DLP Endpoint or tenant restriction (dope.security, Zscaler, Harmonic)

Engineering and QA specialists turn AI policy into working checks

A written AI policy protects nothing until CI, review, and tests enforce it. Teams stall when nobody has the product knowledge or test coverage to turn policy into gates. Engineering and quality assurance (QA) specialists pair with repository owners to:

  • Configure CI security and license gates
  • Review representative AI-generated pull requests
  • Write domain-specific tests, such as tenant separation in a SaaS backend or app-to-device compatibility in a companion app

The leader gets a configured workflow, sample review evidence, and a named exception owner. Reference points: the National Institute of Standards and Technology (NIST) Secure Software Development Framework (SSDF) for verification and provenance, and its July 2024 NIST profile for secure AI model development; the Open Worldwide Application Security Project (OWASP) Top 10 for Large Language Model (LLM) Applications (2025) for agent risks, notably prompt injection and excessive agency.

“Give the agent enough access to propose a useful change. Give the engineer who owns the product enough evidence to approve it.”

— Developex

Frequently asked questions

Can we use an AI coding assistant on proprietary code?

Approve the specific tool, tier, and mode for each repository after checking what context it sends, what it retains, and what it trains on. Put no training, minimal or zero retention, and output ownership in the vendor contract. Use a business or enterprise tier or your own AWS Bedrock, Azure, or Google Vertex AI account, and keep restricted code out of tool context unless the approved terms permit it.

What checks should AI-generated code pass before we merge it?

Require review by an engineer who understands the affected system, static analysis, and tests for the ways the change can fail, such as an authorization check that must deny access. Verify new packages at the registry, review lockfile changes, and resolve security and license findings before merge.

Does our company own the code an AI tool writes?

Under U.S. copyright rules, purely AI-generated material lacks protection, while sufficiently creative human contributions to AI-assisted code can qualify. Record substantive human design and edits, and check tool terms, assignment agreements, and third-party licenses separately.

A bounded pilot gives teams evidence to expand AI use

Expanding AI use without evidence turns a pilot’s unknowns into production risk. The next step fits on one page:

Write an AI usage policy.

Pick a representative repository.

Name an engineering owner and an IP owner.

Audit who and what can access the repository (people, service accounts, tokens, and agents), then put access and merge controls in place before anyone expands scope.

Start with routine changes and synthetic data.

Expand by repository or agent permission only after reviewing median merge time, reviewer effort, post-merge rework, and open security or IP exceptions.

Treat those pilot measures as internal decision criteria, not industry benchmarks. A good AI usage policy answers a real engineer’s question in under a minute and makes the compliant path the easy one: an SSO group, install steps, an approved plugin list. At minimum, the policy covers:

  • Approved tools named by tier (for example, the business tier under company SSO)
  • Company-managed accounts only, with no personal accounts on company code
  • A quarterly access review of people, service accounts, API keys, and agent tokens
  • Data tiers and what never goes into a tool
  • Risk tiers that set review depth
  • Actions agents never take without approval: deploy, change infrastructure or secrets, push to protected branches, sign firmware, trigger OTA releases
  • Required merge gates
  • License and provenance rules
  • An exception path with a named owner, data class, and expiry
  • A no-blame incident reporting path
  • One named owner, such as the platform team, with Legal reviewing and Security enforcing
  • A quarterly review, plus a review whenever a vendor or tool changes
Contact Us

to review an AI-assisted product software workflow. Bring one representative pull request and its CI checks, and we will walk through code review, agent access, and the security and license gates around it.

Transforming visions into digital reality with expert software development and innovation

Canada

Ukraine

Germany

© 2001-2026 Developex

Scroll to Top
image (5)
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.