Table of Contents

Reach SOC 2 Compliance in 6 Weeks or Less.

  /

  / ISO 27001 vs SOC 2: Understanding the Key Differences and Choosing the Right Standard

ISO 27001 vs SOC 2: Understanding the Key Differences and Choosing the Right Standard

Every enterprise sales cycle now passes through a security questionnaire, and two names keep surfacing on it: ISO 27001 and SOC 2. Both prove a vendor handles data responsibly. Both unlock procurement gates. Yet they are not the same framework; they do not carry the same weight in every region, and choosing the wrong one first can cost a company months of work and a major deal.

The short version: ISO 27001 is an international certification built on a risk-managed Information Security Management System (ISMS). SOC 2 is a North American attestation that examines how specific controls operate against the AICPA’s Trust Services Criteria. Most growing technology companies eventually need both. This article explains how to sequence them without doubling the work.

ISO 27001 vs SOC 2 Understanding the Key Differences and Choosing the Right Standard

Every organization that stores, processes, or handles customer data has a responsibility to protect that information. Today, customers, partners, and investors expect clear proof that your security controls are effective and independently validated.

Two of the most commonly requested security frameworks are ISO 27001 and SOC 2. While both focus on protecting information and building trust, they serve different purposes, markets, and business needs.

TL;DR

ISO 27001 and SOC 2 both prove that an organization protects customer data, but they serve different markets.

ISO 27001 is internationally recognized and anchored in a risk-based ISMS. SOC 2 is a North American attestation that reports on operational controls over time.

Scaling SaaS and technology companies typically pursue both to remove sales friction across regions, and with the right approach, the two can be implemented in parallel.

What ISO 27001 Actually Means for a Modern Business

ISO 27001 is the international standard for information security management, published jointly by the International Organization for Standardization and the International Electrotechnical Commission. It defines the requirements for building, running, and continually improving an Information Security Management System.

What separates ISO 27001 from a checklist is its insistence on governance. The standard does not just ask whether encryption and access controls are in place. It asks whether leadership has identified the risks the business actually faces, assigned ownership, documented the decisions, and put a continuous improvement cycle in motion. Controls are the visible output. The ISMS is the engine underneath.

The standard is built in two parts. Clauses 4 through 10 are mandatory and cover context, leadership, planning, support, operation, performance evaluation, and improvement. There is no tailoring these; every certified organization must satisfy them. Annex A then lists 93 reference controls in the 2022 revision, organized into four themes: Organizational, People, Physical, and Technological. An organization is not required to implement all 93, but it must consider each one and document its choice in a Statement of Applicability, justifying every exclusion against the risk assessment.

Certification involves a two-stage audit by an accredited certification body. Stage 1 reviews documentation and readiness. Stage 2 examines whether the ISMS operates in practice. A successful outcome produces a certificate valid for three years, with annual surveillance audits in between. Learn more about the ISO 27001 process here.

ISO 27001 SOC 2 GEOGRAPHIC REACH Recognised globally, dominant outside North America Default standard across the United States and Canada DELIVERABLE Certificate confirming your ISMS meets the standard Attestation report detailing each control and how it operates SCOPE OF CONTROLS All 93 Annex A controls must be considered and justified in writing Only Security is required; four other criteria are optional and scoped in TIMELINE WITH AXIPRO Audit readiness in as little as six weeks vs. 6–12 months on your own Type 1 in weeks; Type 2 needs a 3–12 month observation AXIPRO

What SOC 2 Is, and Where It Comes From

what is soc 2

SOC 2 was developed by the American Institute of Certified Public Accountants (AICPA). It evaluates how a service organization handles customer data against five Trust Services Criteria: security, availability, confidentiality, processing integrity, and privacy.

Security is the only mandatory criterion. The other four are scoped in based on what the business actually does. A platform processing payments may add processing integrity. A health technology vendor will almost always include confidentiality and privacy. The flexibility is intentional, and it is one reason SOC 2 has become the default trust framework for North American technology vendors.

A SOC 2 engagement produces an attestation report, not a certificate. The report is prepared by an independent CPA firm and describes, often in detail running past 80 pages, how each control is designed and whether it operates as intended. SOC 2 comes in two forms:

Type 1 evaluates the design of controls at a single point in time.

Type 2 evaluates the same controls’ operating effectiveness over a period, usually three to twelve months, and is what most enterprise buyers expect.

Reach SOC 2 Compliance in 6 Weeks or Less

Schedule Your Free SOC 2 Assessment Today

Key Similarities and Differences Between ISO 27001 and SOC 2

Similarities Between ISO 27001 and SOC 2

Both frameworks aim at the same outcome: proving to customers, partners, and regulators that an organization handles data responsibly. They share a common foundation of practices that any mature security program will recognize.

Risk management sits at the center of both. So do access control, secure development practices, vendor management, incident response, employee security awareness, and physical and environmental security. The control overlap between ISO 27001 Annex A and SOC 2’s Common Criteria is widely estimated at around 80 percent, which is why companies pursuing both rarely have to rebuild controls for the second framework. They scope, evidence, and audit them again.

The differences sit in structure and intent. ISO 27001 wraps the controls inside a formal management system with documented policies, internal audits, and management reviews. SOC 2 focuses on the controls themselves and how convincingly they can be evidenced to an auditor over a defined period.

There is also a meaningful difference in scope flexibility. SOC 2 lets an organization pick which of the five Trust Services Criteria to include, and many companies start with only the mandatory Security criterion. ISO 27001 has no equivalent shortcut: every one of the 93 Annex A controls has to be considered, even if the conclusion is that the control does not apply. In practice, this means ISO 27001 generally requires more breadth of work upfront, while SOC 2 lets a vendor scope the engagement more tightly to the services that matter to customers.

Despite their similarities, ISO 27001 and SOC 2 differ in several important ways.

Geographic Recognition: Why Region Drives the Decision More Than Anything

Most comparison guides treat geography as a footnote. It is not. It is usually the single biggest factor in which framework a company should pursue first. The fastest way to waste a year of compliance work is to certify against a standard your customers do not actually recognize.

SOC 2 is a North American framework. It was created by a US accounting body, the criteria are written in the language of US audit standards, and reports are delivered by licensed CPAs. It is recognized beyond North America, particularly by global firms with US parent companies, but it is not the dominant standard outside that region. In the United States and Canada, SOC 2 Type 2 has become the default expectation for any SaaS or cloud vendor selling into the mid-market or enterprise. Procurement teams in financial services, healthcare technology, and legal technology in particular treat the report as a baseline. A vendor without one is not automatically disqualified, but they will be asked to complete hundreds of questionnaire items the report would have answered on its own, often stretching a deal cycle by weeks.

ISO 27001 is the standard almost everywhere else. Across Europe, the United Kingdom, the Middle East, India, Japan, Australia, and most of Southeast Asia, it is the certification enterprise buyers ask for first. The numbers make the point. According to the most recent ISO Survey, valid ISO/IEC 27001 certificates worldwide nearly doubled in a single year, jumping from 48,671 in 2023 to 96,709 in 2024. China alone accounts for more than 33,000 of those certificates. Japan, Italy, the UK, India, and Germany sit consistently in the top ten. The United States is on the list, but its share is small relative to its economy, a clear reflection of how dominant SOC 2 remains in the American market.

 

The cross-border picture is where things get expensive. A European SaaS company selling into the United States almost always finds that ISO 27001, even with a strong Statement of Applicability, is not enough on its own. A North American company expanding into Europe runs into the same issue: ISO 27001 is requested in the first vendor assessment, and a SOC 2 report alone tends to invite follow-up questions about certification and accreditation that slow the process down.

The Middle East deserves a specific mention. Government tenders and large enterprise procurements across the UAE, Saudi Arabia, and Qatar consistently require ISO 27001, increasingly alongside local frameworks such as the UAE Information Assurance Standards or the Saudi NCA Essential Cybersecurity Controls. SOC 2 is recognized in the region, but it does not carry the same procurement weight on its own.

For Asia-Pacific, the pattern is fragmented but ISO-leaning. Japan and South Korea were early adopters of ISO 27001 and remain among the most certified countries per capita. Singapore, India, and Australia treat ISO 27001 as the working standard for enterprise and government work. SOC 2 shows up mainly when the customer is itself a North American multinational or operates in financial services.

The practical takeaway is simple. Before committing to a framework, answer three questions:

Where are your top ten target accounts headquartered? Which framework has appeared most often in your last twenty security questionnaires? And which markets do you expect to expand into over the next two years?

The answers usually point clearly to one framework first, with the other following soon after.

 

Certification vs Attestation: What You Actually Walk Away With

The deliverable at the end of each process is different, and the difference matters for how it is used in sales.

ISO 27001 produces a certificate issued by an accredited certification body, typically a single page that confirms the ISMS meets the standard, lists the scope, and shows validity dates. It is easy to share, easy to verify against the accreditation body’s register, and instantly recognizable to international buyers.

SOC 2 produces an attestation report that can run from 50 to over 100 pages. It includes a description of the system, the auditor’s opinion, every control tested, the tests performed, and any exceptions identified. The depth is the point. Buyers in regulated industries want to read how each control is designed and whether it operated as expected over the audit period. SOC 2 reports are typically shared under NDA, which is why a public-facing SOC 3 report, a stripped-down summary version, often accompanies them.

Which Is Right for You: ISO 27001 or SOC 2?

which is righ soc 2 iso 27001

The honest answer is that it depends on customer base and growth plans. There is no universally right starting point, but there are clear patterns.

If top customers and pipeline sit in the United States and Canada, particularly in SaaS, fintech, or healthtech, start with SOC 2 Type 2. It is what buyers expect, what their procurement systems are wired to receive, and what will unlock deals fastest.

If customers are in Europe, the UK, the Middle East, India, or most of Asia-Pacific, start with ISO 27001. It carries weight in regulated procurement, satisfies enterprise vendor management programs, and positions the company for global expansion.

If a company sells across both regions, the question becomes which market it is prioritizing in the next twelve months. The framework to pursue first is the one that unblocks the most revenue.

When Pursuing Both Makes Strategic Sense

Most companies that scale past the early growth stage end up needing both certifications, and the smart move is to plan for that from the start rather than treat each as a separate project.

The control overlap means a well-designed ISMS already covers the vast majority of SOC 2’s Common Criteria. Risk assessments, policy frameworks, access controls, incident response, and vendor management satisfy both. The incremental work for the second framework is typically scoping, evidence collection, and audit coordination, not building new controls from the ground up.

A combined approach also reduces audit fatigue. Pursuing the two frameworks separately, with separate evidence requests, separate auditors, and separate timelines, can easily consume eighteen months of internal effort. Running them in parallel with a unified control framework and a single source of evidence can cut that to nine or ten. Learn how Axipro runs ISO 27001 and SOC 2 in parallel.

Important Note

ISO 27001 and SOC 2 are not interchangeable. A customer who has asked for a SOC 2 Type 2 report will not accept an ISO 27001 certificate as a substitute, and vice versa. Plan for both if the market demands both. Pretending one covers the other is a fast way to lose enterprise deals.

Can ISO 27001 and SOC 2 Be Achieved Together?

Yes. With the right approach, organizations can pursue ISO 27001 and SOC 2 in parallel.
A unified control framework, shared risk assessment, and aligned documentation can significantly reduce duplication of effort. This is where expert guidance and structured implementation make a major difference.

At Axipro, clients often pursue both frameworks together using a tailored roadmap aligned to their business size, risk profile, and timeline.

Is ISO 27001 Equivalent to SOC 2?

No. ISO 27001 and SOC 2 are not interchangeable.
Customers requesting ISO 27001 certification typically will not accept a SOC 2 report as a substitute, and vice versa. Each framework serves a distinct purpose and market expectation.

Are ISO 27001 or SOC 2 Mandatory?

Neither ISO 27001 nor SOC 2 is legally mandatory. However, they are often commercially required.

Many organizations will not onboard vendors or partners without seeing proof of compliance, making these standards essential for growth, not just security.

How Axipro Helps You Get ISO 27001 and SOC 2 Faster

3. Inadequate Risk Assessment

Achieving ISO 27001 and SOC 2 can feel complex, time-consuming, and overwhelming without the right support.

Axipro simplifies the process through:
• Tailored gap analysis and risk assessment

• End-to-end control implementation

• Policy and procedure creation

• Audit readiness and external auditor coordination

• Ongoing compliance support

Through Axipro’s Achievement Plan, many clients reach certification readiness in as little as six weeks, combining expert human guidance with leading compliance automation platforms like Drata, Vanta, Secureframe, and Sprinto.
Rather than replacing automation tools, Axipro helps organizations maximize their value and avoid common pitfalls that delay audits.

Final Thoughts

ISO 27001 and SOC 2 are both powerful trust signals that demonstrate your commitment to security and risk management. The right choice depends on your customers, geography, and growth goals — and for many organizations, understanding ISO 27001 vs SOC 2 can reveal that pursuing both is the most strategic path forward.

With the right partner, compliance does not have to slow your business down.
Simplifying compliance. Your success, our priority.

Mesh ID Achieves ISO 27001 with Axipro in Just 6 Weeks
They provide the best value for money for our ISO 27001 audit readiness. Seriously, if you don't go with Axipro...you made a bad decision.

Frequently Asked Questions (FAQ)

What is the main difference between ISO 27001 and SOC 2?

ISO 27001 is an international certification focused on building and maintaining an Information Security Management System, while SOC 2 is an attestation report that evaluates specific security and operational controls, primarily used in North America.

Neither standard is better overall. ISO 27001 is preferred for global recognition and structured security management, while SOC 2 is often required by North American customers and enterprise buyers. The right choice depends on your market and customer expectations.

Yes. Many organizations pursue both ISO 27001 and SOC 2 to meet global and regional compliance requirements. Since the frameworks share overlapping controls, they can be implemented together efficiently.

Timelines vary based on business size and readiness. Traditionally, ISO 27001 and SOC 2 can take several months, but with expert guidance and automation, organizations can significantly shorten the process.

No, neither ISO 27001 nor SOC 2 is legally mandatory. However, they are often required by customers, partners, or enterprise procurement teams, making them essential for trust and business growth.

Axipro Author

Picture of Thatware

Thatware

Blog Highlights

Explore More Articles

For the past two years, enterprise AI risk conversations have centered on a familiar set of concerns: model bias, hallucination, data privacy, and dependency on third-party models. These are real risks, and most organizations now run some version of a governance program to manage them. But something has shifted. Organizations are no longer just deploying AI that generates content for a human to review. They’re deploying AI that acts. Agents now plan multi-step tasks, call APIs, move data between systems, execute transactions, and coordinate with other agents, often with no human checkpoint in the loop. That shift deserves more than a footnote in the existing AI risk category. It deserves its own line in the risk register: Agentic Autonomy Risk. What Is Agentic AI Risk Management? Agentic AI risk management is the practice of identifying, assessing, and controlling the risks created when AI systems take autonomous action on an organization’s behalf. Where traditional AI governance evaluates outputs (accuracy, bias, privacy), agentic AI risk management governs what agents actually do: the tools they call, the permissions they inherit, and the downstream consequences of their actions. That distinction is the reason existing risk registers struggle with agents, and it’s worth unpacking properly. What Agentic AI Actually Changes Traditional AI systems, even generative ones, are advisory. They produce an output such as a summary, a prediction, a draft email, or a classification, and a human remains the last checkpoint before anything happens in the real world. Agentic AI removes that checkpoint. An agentic system doesn’t just produce an answer. It pursues a goal. It decides which tools to call and in what order, then executes those actions directly against live systems: submitting a purchase order, modifying a database record, sending an external communication, or orchestrating a set of sub-agents to complete a broader workflow. Agentic autonomy is the degree to which a system can plan and execute actions without a human explicitly authorizing each step. It’s a spectrum rather than a binary. At one end, the AI drafts and a human approves every action. At the other, the AI operates within broad guardrails and only escalates exceptions. The further an organization moves along that spectrum, the less its exposure looks like software risk and the more it looks like delegated authority risk, the kind normally reserved for employees, contractors, and automated financial systems. Why Existing Risk Registers Miss Agentic AI Risks Most enterprise risk registers were built on a reasonably safe assumption: a human initiates consequential actions, and the technology around that human behaves deterministically. Agentic AI breaks both halves of that assumption at once. A few specific gaps show up quickly when organizations try to map agentic deployments onto existing categories. Operational risk registers assume process failures come from human error or system outages, not from a system independently choosing an unanticipated path to a stated goal. Cybersecurity risk registers are built around unauthorized external access, while an agent problem usually involves an authorized system taking unauthorized internal actions with its own legitimate credentials. Model risk frameworks, borrowed largely from financial services, evaluate output accuracy rather than action consequences, which matters most when those actions can’t be reversed. And third-party risk assessments treat vendors as static entities, not as autonomous agents that might invoke other vendors’ agents on your behalf. See our guide to the NIST AI Risk Management Framework for how output-focused frameworks are structured. The result is a governance blind spot. An organization can be compliant against its AI policy, its cybersecurity policy, and its vendor risk policy, and still have nobody accountable for the specific risk of a system initiating a harmful sequence of actions before anyone notices. Defining Agentic Autonomy Risk Agentic Autonomy Risk is the risk that an AI system, operating with delegated decision-making and execution authority, takes actions that are harmful, non-compliant, or misaligned with organizational intent before adequate human oversight can intervene. Those actions might happen independently or in coordination with other agents. It deserves standing as a named category alongside cybersecurity, operational, legal, financial, and third-party risk because the loss event itself is different. The harm is a completed action in a live system, and it may be difficult or impossible to reverse. The accountability structure is different too: when an orchestrating agent delegates to sub-agents, responsibility for the outcome gets distributed in ways existing ownership models don’t cleanly capture. So is the detection window. Traditional controls assume a human is positioned to catch an error before it compounds, but an agent can execute dozens of dependent actions faster than any human review cycle. 7 Agentic AI Risk Scenarios to Put on Your Register 1. Unauthorized autonomous decision-making. An agent takes an action within its technical permissions but outside its intended business mandate. It adjusts pricing, approves a refund, or modifies a customer record, and no policy ever explicitly authorized that scenario. 2. Goal misalignment. The agent optimizes for a literal interpretation of its objective in a way that diverges from actual business intent, particularly under ambiguous or adversarial inputs. 3. Multi-agent interactions and cascading failures. One agent’s flawed output becomes another agent’s trusted input. A single error can propagate across a chain of agents faster than anyone can detect it, amplifying the original mistake instead of containing it. 4. Excessive tool or system permissions. Agents get provisioned with broad, standing access “to be safe” rather than scoped, least-privilege access tied to specific tasks. A productivity tool quietly becomes a privilege-escalation path. 5. Regulatory non-compliance. Autonomous actions trigger obligations under data protection, financial services, employment, or sector-specific regulation, and they execute without the compliance review a human-initiated process would normally receive. 6. Explainability and accountability gaps. An autonomous action causes harm and the organization can’t clearly reconstruct why the agent chose that path, or establish whether the business owner, the AI governance function, or the vendor is accountable for the outcome. 7. Autonomous third-party actions. A vendor’s agent, integrated into your environment, takes action on your behalf, or your agent acts against a

A SOC 2 penetration test costs between $1,000 and $30,000 for most companies. A typical SaaS scope, meaning one web application, its API layer, and the cloud infrastructure behind it, usually lands between $2,000 and $20,000. Early-stage startups with a narrow scope can get an auditor-accepted test for $1,000 to $8,000, while enterprises with multiple products and hybrid infrastructure regularly spend $20,000 to $50,000 or more. The spread is wide because “penetration test” covers everything from an automated scan with a cover page to weeks of manual testing by senior engineers. Auditors know the difference, and so do the enterprise customers who asked for your SOC 2 report in the first place. This guide breaks down what drives the price, where the hidden costs sit, and how to buy a test that holds up in fieldwork without overpaying for it. What Is SOC 2 Penetration Testing?​ A SOC 2 penetration test is a simulated attack on your systems, performed by a qualified security professional, scoped to the environment covered by your SOC 2 report. The tester tries to exploit real weaknesses the way an attacker would: broken access controls, injection flaws, misconfigured cloud services, exposed credentials. The output is a report your auditor reads as evidence that your security controls work in practice, not only on paper. That last part matters. A pentest bought for SOC 2 has a second audience beyond your security team. If the report doesn’t map findings to your audit scope, document its methodology, and show remediation, it fails the job you bought it for. We cover the full deliverable in our guide to what a SOC 2-ready VAPT report includes. How Penetration Testing Fits Into SOC 2 Compliance​ SOC 2 is built on the AICPA’s Trust Services Criteria, and the Security category (the Common Criteria) applies to every report. Penetration testing is the standard way to satisfy CC7.1, which expects you to detect and monitor for new vulnerabilities, and it supports CC4.1, which covers ongoing evaluations of whether controls actually function. The AICPA’s points of focus explicitly mention vulnerability scanning and penetration testing as examples of how companies meet these criteria. In practice, the test slots into your audit timeline as an evidence item. Your auditor will ask for the report, check the test date against the audit period, and review how you handled the findings. Remediation is often scrutinized harder than the test itself, because it shows whether your vulnerability management process runs or merely exists. Is Penetration Testing Required for SOC 2?​ Strictly speaking, no. The Trust Services Criteria never use the word “mandatory” about penetration testing. You could theoretically satisfy CC7.1 with vulnerability scanning and strong monitoring alone. In reality, almost every auditor expects one, and skipping it invites two problems. First, your auditor may push back during fieldwork or add exceptions to the report. Second, the enterprise buyers reviewing your SOC 2 report increasingly look for pentest evidence specifically, and a report without it raises questions during procurement. Treat the test as effectively required and budget for it from the start of your SOC 2 compliance checklist. How Much Does SOC 2 Penetration Testing Cost? Typical Price Range for SOC 2 Pen Testing Most companies pay $1,000 to $30,000, with the median engagement for a SaaS business sitting around $12,000 to $15,000. Compliance-focused tests at the lower end of the market start around $1,000 to $5,000. Deep manual testing from established firms runs $10,000 to $30,000. Anything quoted below roughly $3,000 is almost certainly automated scanning packaged as a pentest, which auditors are getting better at spotting. Cost by Company Size (Startup, SMB, Enterprise) Company size is a proxy, not the driver. A 15-person company with three products and a legacy on-prem component will pay more than a 200-person company with one tightly scoped SaaS platform. Testers price effort, and effort follows scope. Cost by Test Type (Network, Web App, API, Cloud, Internal/External) Most SOC 2 engagements bundle two or three of these. The common package for a cloud-native SaaS company is web app plus API plus cloud configuration, which is why the $1,000 to $20,000 band comes up so often. Companies with office networks and internal systems in their audit scope add internal network testing, and the price climbs accordingly. Factors That Influence SOC 2 Penetration Testing Cost Scope and Number of Assets Tested Scope is the single biggest cost driver. Every additional application, API endpoint group, cloud account, or network segment adds testing hours. A pentest priced without a scoping call is a pentest priced on guesswork, and the guess usually favors the vendor. Complexity of Application or Infrastructure​ A simple CRUD app with two user roles tests quickly. A multi-tenant platform with role hierarchies, workflow engines, file processing, and third-party integrations takes far longer, because each of those features creates attack surface a tester has to work through manually. Authentication tiers matter especially: every distinct role needs testing for privilege escalation and cross-tenant data access. Testing Methodology (Black Box, Grey Box, White Box) Black box testing gives the tester nothing but a URL, grey box adds credentials and documentation, and white box adds source code and architecture diagrams. Grey box is the default for SOC 2 and usually the best value, since the tester spends time exploiting rather than discovering. White box costs more upfront but finds deeper issues. Black box sounds rigorous but often wastes paid hours on reconnaissance an attacker would run for free. Depth of Testing and Manual vs. Automated Approaches Automated scanning finds known vulnerability patterns. Manual testing finds business logic flaws, chained exploits, and authorization gaps that no scanner catches, and it’s the part auditors and security-literate customers actually value. The ratio of manual work to automation is the honest explanation for most price differences between two quotes covering the same scope. Tester Credentials and Firm Reputation Senior testers holding OSCP, GPEN, or CREST credentials bill higher rates, and firms with recognized methodologies charge a premium for the credibility their letterhead carries

Two compromised versions of LiteLLM sat on PyPI for roughly 40 minutes on the morning of March 24, 2026. That window was enough to capture secrets from around 434,000 CI/CD pipeline runs across nearly 2,500 organizations, including AWS, Samsung, Cisco, Salesforce, Siemens, and Deloitte. In August, researchers at CloudSEK and Hudson Rock confirmed they had obtained the raw exfiltrated data: a 153GB archive containing 433,909 files of environment variables, cloud keys, Kubernetes secrets, and API tokens harvested live from running pipelines, as covered by Help Net Security’s reporting on the credential archive. If LiteLLM runs anywhere in your stack, or you touch any AI proxy infrastructure at all, you need answers to three things: whether you were exposed, what to rotate first, and whether the rotation you did back in March actually held. That last one matters more than it sounds, because “we rotated everything” has already burned at least one very large company. How the Breach Happened The attack didn’t start with LiteLLM. On March 19, 2026, a threat group called TeamPCP compromised the build pipeline of Trivy, a vulnerability scanner half the industry runs, and pushed a poisoned release. LiteLLM’s own CI pipeline ran Trivy, so the poisoned scanner had legitimate read access to the project’s runner environment. The attackers used that to steal LiteLLM’s PyPI publishing tokens and ship two malicious releases of their own: versions 1.82.7 and 1.82.8. KICS and the Telnyx Python SDK got hit in the same campaign. The payload design is the part worth studying. The malicious package dropped a .pth startup hook into site-packages, so the code ran the moment any Python interpreter started on the machine, whether or not anything imported LiteLLM. From there it harvested environment variables, read local credential files like .aws/credentials and .kube/config, tried to move laterally across Kubernetes clusters, and installed a systemd backdoor dressed up as a generic telemetry service. InfoQ’s coverage of the PyPI compromise put downloads of the compromised release above 40,000. For scale, LiteLLM normally gets downloaded around 3 million times a day. The exfiltration had a nasty fallback, too. According to CloudSEK, stolen data was encrypted and sent to a typosquatted domain, and when that failed, the malware created a public repository inside the victim’s own GitHub account and uploaded the loot as a release asset. Some companies were publishing their own secrets to the open internet and had no idea. Worth Knowing: The malicious code only existed in the PyPI artifacts. The GitHub source repository stayed clean the whole time, so a developer reviewing the code on GitHub saw nothing wrong. Source review isn’t artifact verification. If you don’t check that what the registry serves matches the upstream source, this class of attack is invisible to you. How to Check If You Were Exposed Three checks, from quickest to most involved. 1. Confirm whether the compromised versions ever ran The malicious versions went live on PyPI at 10:39 UTC on March 24, 2026 and got quarantined about 40 minutes later. The project’s advice: treat any install from that day before 16:00 UTC as suspect. Search your lockfiles, pip caches, SBOMs, and container image histories for 1.82.7 and 1.82.8. And check your internal artifact mirrors. An Artifactory or Nexus proxy that cached the bad release in March can keep serving it internally long after PyPI pulled it. Keep the .pth mechanism in mind when you scope this. The question isn’t “which applications import LiteLLM,” it’s “which machines had the package installed at all,” because every Python process on an infected machine triggered the payload. 2. Hunt for persistence Rotation is pointless if the attacker still has a foothold. Check developer machines, CI runners, and containers for unauthorized .pth files in site-packages and for suspicious systemd units, especially anything posing as a system telemetry service. And review activity from March 24 onward, not just the 40-minute window. Persistence is there so the access outlives the infection. Pro Tip: Don’t limit the persistence hunt to live machines. Base container images rebuilt in late March may have baked the payload into every image derived from them since. Scan your image registry for the affected LiteLLM versions and for unexpected .pth files, then trace which running workloads came from flagged images. 3. Check whether your secrets are in the dump Hudson Rock has published a domain lookup tool and is running ethical disclosures for affected organizations, and CloudSEK maintains a high-confidence victim list. Use them, but know their limits. Attribution in this dataset is genuinely hard. One dump with a siriusxm.com committer email actually traced, through its self-hosted GitLab endpoints, to AdsWizz, a SiriusXM subsidiary. And a large share of the dumps are generic pipeline configurations with no identifying domain, email, or server name at all. Absence from a victim list is not evidence of absence. If your pipelines ran the compromised versions, assume exposure no matter what a lookup tool tells you. What to Rotate, in What Order The guidance from both research teams is blunt: treat every secret the LiteLLM environment could reach as compromised. That covers secrets on disk, in memory, injected into CI jobs, and anything retrievable through instance metadata services. Work down by blast radius: Priority Credential type Why it comes first 1 Cloud IAM keys (AWS, GCP, Azure) Direct control of infrastructure, data stores, and billing. This is where attackers monetize fastest. 2 GitHub and GitLab PATs, package publishing tokens These let an attacker poison your releases and turn your company into the next link in the supply chain. 3 Kubernetes service account tokens and kubeconfigs Lateral movement across clusters was built into the payload, not a theoretical risk. 4 Database passwords and third-party API keys Dumped in plain text in the archive, often with no attribution, so nobody will warn you they leaked. 5 AI provider API keys Billing abuse, quota theft, and access to whatever data flows through your LLM routing layer. One word matters more than the rest of this article: revoke, don’t just rotate. That