Pi Security Brings Root-Cause Fixes and Prevention to AI Coding Agents
All Posts
Product Launch

Pi Security Brings Root-Cause Fixes and Prevention to AI Coding Agents

Pi now works in ChatGPT, Codex, Claude, Kiro and Grok Build, and in any MCP-capable agent through the hosted Pi MCP server.

Noah Salzman
Noah Salzman
Product Manager

Today, Pi Security is announcing its integrations with leading AI coding agents: OpenAI ChatGPT and Codex, Claude and Claude Code, AWS Kiro and xAI Grok Build (formerly Cursor). Any other MCP-capable agent, including a team’s internal agents, connects through Pi’s hosted MCP server.

Pi links findings from every intake channel, including pentests and bug bounty, by the root cause they share, and brings that context into developers’ coding tools. Where findings share a cause, developers no longer investigate and fix them one by one. They see related vulnerabilities together with their shared cause, and one fix can close many findings at once. The agent also gets the team’s security rules, so the same vulnerability is less likely to come back.

Fixing findings one by one no longer scales

AI is growing the backlog from both sides. Published CVEs rose 105% year over year as AI models find old bugs in legacy code, according to Cisco Talos. In a 2026 survey of over 300 enterprise technology leaders, 94% said AI had increased the amount of software that needs remediation or cleanup.¹

Findings arrive through bug bounty, pentests, SAST and PR review, each in its own queue. A developer who owns them gets 50 tickets for what is often one problem. Each ticket is investigated, fixed and reviewed separately, even when they all share one cause.

One fix for 50 findings

Imagine a developer who owns the orders service. Over two quarters, 50 insecure direct object reference (IDOR) findings have landed on her. Some came from the bug bounty program, some from a pentest, some from SAST and PR review, and some are variants that Pi found from earlier findings. They sit in four queues and look like 50 separate bugs.

She asks her coding agent for her open IDOR findings. Pi returns all 50 under one root cause. The API handlers check that a user is signed in but do not check that the user owns the requested record.

Instead of 50 patches, the agent gets a remediation plan for the shared cause. The plan adds one ownership check in the request middleware and makes a small change to the few handlers that bypass it. The agent opens two pull requests, her reviewers approve them, and when they merge, Pi fix validation marks all 50 findings resolved.

Fixed one at a time, at about two hours per finding, that is 100 hours of work, or two and a half engineer-weeks. Fixed at the root, it is two reviews. She gets credit for closing 50 findings without managing 50 separate fixes.

The next IDOR is stopped before it is written

After the fix, the security team uploads a dynamic skill for the orders service: check record ownership in the middleware, not only in the handler.

In Claude Code and Codex, Pi points the agent to the dynamic skills automatically when it reads or edits a covered file. In ChatGPT, Kiro, Grok Build and other MCP-capable agents, the agent can request the dynamic skill for a task before it writes code. When an engineer’s agent with the hooks adds a handler to the orders service next month, it gets the ownership rule before its first edit.

A dynamic skill written once in Pi is available to every connected agent, so a mistake your team has fixed is less likely to return as a new finding.

Pi keeps its dynamic skills current from developer and agent feedback. Your team can disable any dynamic skill or restore an earlier version, and Pi never changes a dynamic skill your team uploads. Code Gatekeeper review stays in place for what the dynamic skills do not cover.

Pi brings your organization’s context, not another scanner

Most security vendors in agent marketplaces, such as Aikido, Checkmarx, Snyk, SonarQube and Sonatype in Kiro Powers, return the results of their own scans. Pi returns findings from every intake channel, including pentests and bug bounty, linked by root cause, with patches, variants, threat models and dynamic skills built from your team’s finding history. That link lets 50 tickets close with one fix.

With Pi connected, the agent can:

  • List and investigate triaged findings with root cause from bug bounty, pentest, SAST and PR review.
  • Get the fix. Where the fix is in code, Pi returns a code patch or a remediation plan against your repository.
  • Open a fix PR in each affected repository.
  • Read variants of a finding, which are the same bug in other places.
  • Get the repository’s security rules (dynamic skills) for a task before it writes code.
  • Read Code Gatekeeper PR review issues.

The security team stays in control

Every fix arrives as a pull request, opened by the Pi app, for your reviewers to approve. Each agent session shows on Pi’s Agents page, so you can see which findings an agent worked on and what it changed. A finding closes only when its fix merges.

In Claude Code and Codex, your team can also set gates: checkpoints that ask the agent to take an action before it edits a file or after it pushes. A gate can ask the agent to link a Jira or Linear ticket, attach a design, check the package versions it adds, or review its commits for security issues. Pi records whether the agent followed each gate.

Agents act with the signed-in user’s Pi permissions and see only what that user can see. The finding details and rules an agent requests become part of its context, so the agent’s provider processes them.

Available today in each agent’s marketplace

  • OpenAI ChatGPT and Codex: OpenAI plugin marketplace
  • AWS Kiro (Kiro IDE and Kiro Web): Kiro Powers
  • Claude and Claude Code: Claude Connectors Directory
  • Grok Build: xAI Grok Build plugin marketplace
  • Any other MCP-capable agent, including internal agents: Hosted Pi MCP server

Get started

Pi customers. Install the integration for your team’s agent. Start with one repository, and ask the agent for its open Pi findings grouped by root cause. Your Customer Success contact can help with setup and the first session.

Not yet a Pi customer. Book a demo. We will run the workflow on findings like the ones in your backlog: root cause, fix and prevention, from one agent session. Bring your finding count, and we will show how many root causes sit behind it.

¹ Source: ActiveState, The AI Remediation Bill, 2026.

Share this post
Table of contents
Overview