Skip to main content

GitGuardian reports rise in leaked secrets linked to AI-assisted coding in 2025

2 companies named across 7 categories, the first article referencing GitGuardian.

Companies mentioned

Best suited for

Seniority
C Level / Executive Team
Job function
Chief Information Security Officer
Persona
Security Operations Leader
Buyer role
Decision Maker / Budget Holder
Decision stage
How to start
Adoption curve
Early Majority
Technology maturity
Operational Expansion

Our classification, not the publisher's statement. Best suited for, not only for.

The 2025 report from GitGuardian reveals changes in software development linked to the increased use of Artificial Intelligence (AI) tools. These changes corresponded with a higher incidence of exposed credentials known as secrets across public and internal code environments. The report emphasizes the persistence of human error in leaking sensitive information despite AI assistance.

The data indicates a 43% year-over-year rise in public code commits, doubling the growth rate seen before 2025. Leaked secrets increased 34% year-over-year, totaling approximately 29 million detected instances, the highest single-year count recorded. Secrets have been growing 1.6 times faster than the developer population since 2021.

AI-assisted code commits showed a higher than average leak rate, with Claude Code-assisted commits leaking secrets at a rate of roughly 3.2%, about double the baseline across GitHub. AI-related credential leaks, particularly those connected to AI services, rose by 81% year-over-year. Configuration practices for Model Context Protocol (MCP) contributed to exposing over 24,000 unique secrets through documentation-recommended credential placement.

The scope of exposures extends beyond code repositories; internal repositories were found to be six times more susceptible to hardcoded secrets than public repositories. Additionally, nearly 28% of leak incidents originated in collaboration and productivity tools. Developer machines also increased in importance as part of the credential perimeter due to deep access by AI agents, raising risks related to prompt injection and supply-chain-style attacks.

Eric Fourrier, GitGuardian's CEO, said, “AI agents need local credentials to connect across systems, turning developer laptops into a massive attack surface. We built our local scanning and identities inventory tool to protect them. Security teams need to map out exactly which machines hold which secrets, surfacing critical weaknesses like overprivileged access and exposed production keys.” The report further documents challenges in secret management, noting that approximately 60% of policy violations involve long-lived credentials, and 64% of valid secrets from 2022 remain unrevoked as of 2026.

The organizations involved outlined the need for treating non-human identities as distinct security assets with dedicated governance, contextual awareness, and automated remediation across both code and non-code platforms. This approach aims to address the growing backlog in secret management and improve governance beyond detection.

Press release, provided by Globe Newswire on behalf of GitGuardian. Read the original.

Structured data (JSON-LD)

The schema.org markup this page publishes for search engines and AI agents, exactly as they read it.

[
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/#website",
    "@type": "WebSite",
    "name": "Decision Insights",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://decisioninsights.ai/search/?q={search_term_string}&submit=1"
      }
    },
    "publisher": {
      "@id": "https://decisioninsights.ai/#organization"
    },
    "url": "https://decisioninsights.ai"
  },
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/#organization",
    "@type": "Organization",
    "contactPoint": {
      "@type": "ContactPoint",
      "contactType": "customer support",
      "email": "[email protected]"
    },
    "description": "Decision Insights is a Registry of technology companies, open source projects, and industry terms, built for people and for AI agents that need sourced, structured information.",
    "logo": {
      "@type": "ImageObject",
      "url": "https://wiretap-cdn-assets.nyc3.cdn.digitaloceanspaces.com/decision-insights/[email protected]"
    },
    "name": "Decision Insights",
    "parentOrganization": {
      "@type": "Organization",
      "name": "Wiretap Labs",
      "sameAs": [
        "https://www.linkedin.com/company/wiretap-labs",
        "https://www.crunchbase.com/organization/wiretap-labs"
      ],
      "url": "https://wiretaplabs.com"
    },
    "publishingPrinciples": "https://decisioninsights.ai/standards/",
    "sameAs": [
      "https://www.linkedin.com/company/decisioninsights"
    ],
    "url": "https://decisioninsights.ai"
  },
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "item": "https://decisioninsights.ai",
        "name": "Decision Insights",
        "position": 1
      },
      {
        "@type": "ListItem",
        "item": "https://decisioninsights.ai/records/",
        "name": "Records",
        "position": 2
      },
      {
        "@type": "ListItem",
        "item": "https://decisioninsights.ai/gitguardian-reports-rise-in-leaked-secrets-linked-to-ai-assisted-coding-in-2025/",
        "name": "GitGuardian reports rise in leaked secrets linked to AI-assisted coding in 2025",
        "position": 3
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/gitguardian-reports-rise-in-leaked-secrets-linked-to-ai-assisted-coding-in-2025/#blogposting",
    "@type": "NewsArticle",
    "about": {
      "@id": "https://decisioninsights.ai/registry/gitguardian/#organization",
      "@type": "Organization",
      "mainEntityOfPage": "https://decisioninsights.ai/registry/gitguardian/",
      "name": "GitGuardian"
    },
    "articleSection": [
      "Artificial Intelligence",
      "Cybersecurity",
      "AI infrastructure"
    ],
    "audience": [
      {
        "@type": "Audience",
        "additionalType": "Seniority",
        "audienceType": "C Level / Executive Team"
      },
      {
        "@type": "Audience",
        "additionalType": "Job function",
        "audienceType": "Chief Information Security Officer"
      },
      {
        "@type": "Audience",
        "additionalType": "Persona",
        "audienceType": "Security Operations Leader"
      },
      {
        "@type": "Audience",
        "additionalType": "Buyer role",
        "audienceType": "Decision Maker / Budget Holder"
      },
      {
        "@type": "Audience",
        "additionalType": "Adoption curve",
        "audienceType": "Early Majority"
      },
      {
        "@type": "Audience",
        "additionalType": "Technology maturity",
        "audienceType": "Operational Expansion"
      }
    ],
    "author": {
      "@id": "https://decisioninsights.ai/author/decision-insights-signals/#person",
      "@type": "Person",
      "name": "Decision Insights Record",
      "url": "https://decisioninsights.ai/author/decision-insights-signals/"
    },
    "dateModified": "2026-08-23T14:41:38-06:00",
    "datePublished": "2026-03-17T06:44:11-06:00",
    "description": "GitGuardian's 2025 report details increased secret leaks on GitHub related to AI-assisted coding and rising challenges in managing non-human identities securely.",
    "headline": "GitGuardian reports rise in leaked secrets linked to AI-assisted coding in 2025",
    "isBasedOn": {
      "@type": "CreativeWork",
      "sourceOrganization": {
        "@type": "Organization",
        "name": "GlobeNewswire"
      },
      "url": "https://www.globenewswire.com/news-release/2026/03/17/3257095/0/en/GitGuardian-Reports-an-81-Surge-of-AI-Service-Leaks-as-29M-Secrets-Hit-Public-GitHub.html"
    },
    "keywords": [
      "AI Agents",
      "IT Governance",
      "Model Context Protocol",
      "Secret Management"
    ],
    "mainEntityOfPage": {
      "@id": "https://decisioninsights.ai/gitguardian-reports-rise-in-leaked-secrets-linked-to-ai-assisted-coding-in-2025/",
      "@type": "WebPage",
      "sdDatePublished": "2026-08-23",
      "sdPublisher": {
        "@id": "https://decisioninsights.ai/#organization"
      }
    },
    "mentions": [
      {
        "@id": "https://decisioninsights.ai/registry/gitguardian/#organization",
        "@type": "Organization",
        "mainEntityOfPage": "https://decisioninsights.ai/registry/gitguardian/",
        "name": "GitGuardian"
      },
      {
        "@id": "https://decisioninsights.ai/registry/microsoft/github/#organization",
        "@type": "Organization",
        "mainEntityOfPage": "https://decisioninsights.ai/registry/microsoft/github/",
        "name": "GitHub"
      }
    ],
    "publisher": {
      "@id": "https://decisioninsights.ai/#organization"
    }
  },
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/author/decision-insights-signals/#person",
    "@type": "Person",
    "description": "Press releases and independent analyst research, structured into concise summaries for research and monitoring. Produced under our Standards & Methodology.",
    "name": "Decision Insights Record",
    "sameAs": [
      "https://www.linkedin.com/showcase/decisioninsights/"
    ],
    "url": "https://decisioninsights.ai/author/decision-insights-signals/"
  }
]

Is this your company? Get structured data for your own pages