99.1 Introduction
Modern AI platforms rarely operate entirely on internally controlled infrastructure.
A production AI platform may depend on:
- cloud providers,
- AI model providers,
- payment processors,
- email providers,
- SMS providers,
- object-storage services,
- observability platforms,
- authentication providers,
- open-source libraries,
- container registries,
- managed databases,
- vector databases,
- external APIs,
- SaaS applications,
- contractors,
- and specialized data providers.
Every external dependency introduces some degree of operational, security, privacy, availability, and supply-chain risk.
Third-party risk management provides the organizational and technical framework for controlling those risks.
The central principle is:
An external dependency should be treated as part of the platform's security boundary, even when it is operated by another organization.
99.2 What Is Third-Party Risk?
Third-party risk is the possibility that an external organization, service, product, component, or dependency could negatively affect the platform.
Potential consequences include:
- data exposure,
- service outages,
- compromised credentials,
- malicious software,
- supply-chain attacks,
- privacy violations,
- unauthorized access,
- regulatory problems,
- financial loss,
- vendor lock-in,
- model-provider failures.
99.3 Why AI Platforms Have Additional Third-Party Risk
AI platforms often depend on external model providers.
For example:
User
↓
AI Platform
↓
Provider Router
├── Model Provider A
├── Model Provider B
└── Local Model
The application may therefore send information outside its primary infrastructure.
This creates questions such as:
- What data leaves the platform?
- Where is it processed?
- How long is it retained?
- Who can access it?
- Is it used for training?
- What happens if the provider is compromised?
- What happens if the provider becomes unavailable?
99.4 Third-Party Inventory
A mature platform should maintain a complete third-party inventory.
Possible fields include:
| Field | Purpose |
|---|---|
| Vendor | External organization |
| Service | Product being used |
| Owner | Internal responsible team |
| Data Type | Information shared |
| Risk Level | Overall classification |
| Criticality | Business importance |
| Contract | Legal relationship |
| Security Review | Assessment status |
| Renewal Date | Contract lifecycle |
| Incident Contact | Emergency communication |
| Exit Plan | Replacement/recovery strategy |
99.5 Vendor Classification
Vendors can be classified according to risk.
Low Risk
Examples:
- non-sensitive development tools,
- public documentation services.
Medium Risk
Examples:
- analytics systems,
- collaboration platforms.
High Risk
Examples:
- identity providers,
- production cloud infrastructure,
- payment systems,
- customer-data processors.
Critical Risk
Examples:
- primary AI inference provider,
- production database infrastructure,
- authentication infrastructure,
- core cloud environment.
The classification should determine the depth of security review.
99.6 Data-Based Vendor Risk
Risk should also depend on the data being shared.
A vendor processing:
public marketing content
has a different risk profile from a vendor processing:
confidential customer information.
Therefore vendor classification should consider both:
Service criticality + Data sensitivity
99.7 AI Provider Security Review
Before integrating an external AI provider, evaluate:
Data handling
- What information is transmitted?
- Is customer data retained?
- Is it used for model training?
- Can retention be disabled?
- Where is processing performed?
Security
- Authentication mechanisms,
- encryption,
- access controls,
- incident response,
- logging.
Reliability
- uptime,
- rate limits,
- service dependencies,
- regional availability.
AI-specific behavior
- model versioning,
- safety controls,
- output consistency,
- abuse controls,
- model retirement policies.
99.8 Provider Abstraction
The platform should avoid coupling application logic directly to one AI provider.
A provider abstraction can look like:
Application
↓
AI Service Interface
↓
Provider Router
├── Provider A
├── Provider B
├── Provider C
└── Local Model
This provides flexibility when:
- a provider becomes unavailable,
- pricing changes,
- a model is retired,
- performance degrades,
- security requirements change.
99.9 Avoiding Single-Vendor Dependency
A critical AI platform should avoid unnecessary dependence on one external provider.
However, multi-provider architecture also introduces complexity.
Each provider may have different:
- APIs,
- security controls,
- model behavior,
- rate limits,
- data policies,
- regional availability,
- output formats.
Therefore abstraction must be carefully designed.
99.10 Vendor Lock-In
Vendor lock-in occurs when replacing a provider becomes unnecessarily difficult.
Examples:
- proprietary APIs embedded throughout the application,
- provider-specific data formats,
- provider-specific prompt structures,
- provider-specific embeddings,
- provider-specific model behavior.
A portability strategy should be designed before dependency becomes critical.
99.11 Contractual Security Requirements
Vendor contracts should address appropriate security requirements.
Potential areas include:
- data protection,
- confidentiality,
- breach notification,
- access control,
- encryption,
- subcontractors,
- data deletion,
- service availability,
- audit cooperation,
- security incident communication.
Legal teams should determine the appropriate contractual language.
99.12 Data Processing Agreements
Where applicable, organizations should establish appropriate agreements governing personal-data processing.
The exact requirements depend on:
- jurisdiction,
- data type,
- vendor role,
- organizational responsibilities.
Technical teams should work with privacy and legal specialists rather than treating contracts as purely technical documents.
99.13 Vendor Security Evidence
Security assessments may request evidence such as:
- independent security reports,
- certifications,
- penetration-test summaries,
- security policies,
- incident-response documentation,
- encryption practices,
- access-control documentation.
Evidence should be reviewed according to risk.
99.14 Security Certifications
Vendor certifications can provide useful assurance, but certification alone does not guarantee that a service is appropriate.
The organization should evaluate:
Does the vendor's actual architecture and security posture satisfy our requirements?
99.15 Shared Responsibility
Security responsibilities are divided between the organization and the provider.
Example:
Cloud Provider
├── Physical Infrastructure
├── Core Platform
└── Managed Service Security
Customer
├── Identity Configuration
├── Application Security
├── Data Protection
└── Access Policies
The exact division depends on the service.
Never assume:
“The vendor handles security.”
Instead ask:
“Which security responsibilities does the vendor handle, and which remain ours?”
99.16 Vendor Access Management
Third parties should receive only the access they require.
Controls may include:
- least privilege,
- separate accounts,
- strong authentication,
- temporary access,
- approval workflows,
- session logging,
- periodic access reviews.
99.17 Vendor Administrative Access
Privileged vendor access should receive additional scrutiny.
Where possible:
Vendor Request
↓
Internal Approval
↓
Time-Bounded Access
↓
Monitored Session
↓
Automatic Expiration
This reduces persistent external privilege.
99.18 API Credential Management
External API keys should never be:
- hardcoded,
- committed to source control,
- placed in frontend code,
- shared through chat,
- stored in public documentation.
Instead, use a managed secret system with controlled access and rotation.
99.19 Vendor Credential Rotation
Third-party credentials should be rotated according to risk and provider capability.
Rotation plans should address:
- normal rotation,
- suspected compromise,
- employee departure,
- vendor personnel changes,
- emergency replacement.
99.20 External API Security
When calling an external API, the platform should consider:
- authentication,
- TLS,
- request validation,
- response validation,
- timeout controls,
- retry limits,
- rate limits,
- circuit breakers,
- logging,
- error handling.
External responses should never automatically be trusted.
99.21 Treat External Responses as Untrusted
A third-party API response may be:
- malformed,
- unexpectedly large,
- inconsistent,
- unavailable,
- compromised,
- or simply different after an API update.
Therefore the application should validate responses before using them.
99.22 AI Provider Output Validation
AI output should also be treated as untrusted data.
For example:
External Model
↓
Raw Output
↓
Schema Validation
↓
Policy Validation
↓
Application Logic
The model should not directly control sensitive application behavior without validation.
99.23 AI Provider Prompt/Data Boundary
The application should explicitly define what data may be sent to each provider.
For example:
Public Data → Provider A
Internal Data → Provider B
Sensitive Data → Restricted Processing
Highly Sensitive → Local/Controlled Environment
The exact classification depends on organizational policy.
99.24 Data Minimization
Only the information necessary for the external operation should be transmitted.
Instead of sending:
the entire customer record
send only:
the minimum fields necessary to complete the operation.
Data minimization reduces third-party exposure.
99.25 Token and Identifier Redaction
Where practical, sensitive identifiers can be replaced before external processing.
Example:
Original:
Customer: John Smith
Account: 123456
External Request:
Customer: CUSTOMER_001
Account: ACCOUNT_001
The mapping remains inside the trusted environment.
99.26 Vendor Data Retention
Understand:
- how long data is retained,
- whether logs contain prompts,
- whether backups contain data,
- whether deletion requests propagate to backups,
- whether data is used for model improvement.
Retention requirements should be documented.
99.27 Vendor Data Deletion
A vendor lifecycle should include deletion.
When a service is discontinued:
- stop new data transmission,
- migrate required data,
- revoke credentials,
- disable integrations,
- request appropriate deletion,
- verify deletion where feasible,
- document completion.
99.28 Vendor Incident Response
The organization should know:
- how to contact the vendor,
- how incidents are reported,
- who receives emergency notifications,
- what evidence can be requested,
- what escalation paths exist.
Vendor incident contacts should be maintained as part of operational documentation.
99.29 Vendor Outage Planning
Critical services require fallback strategies.
Example:
Primary Provider
↓
Health Check
↓
Failure?
┌────┴────┐
No Yes
↓ ↓
Continue Fallback
↓
Secondary Provider
↓
Local/Offline Mode
Fallback behavior should be tested rather than merely documented.
99.30 Graceful Degradation
If an external AI provider fails, the platform should degrade safely.
Possible outcomes:
- temporarily disable generation,
- switch to another approved provider,
- queue the request,
- provide a clear error,
- preserve user data safely.
The system should not bypass security controls simply because the primary service failed.
99.31 Vendor Dependency Mapping
Map dependencies across the architecture.
Example:
AI Generation
├── API Gateway
├── Provider A
├── Object Storage
├── Queue
└── Observability
Authentication
├── Identity Provider
└── Email Provider
This reveals hidden concentration risk.
99.32 Fourth-Party Risk
A vendor may itself depend on other vendors.
For example:
Your Platform
↓
AI Provider
↓
Cloud Infrastructure
↓
Subprocessor
These downstream dependencies can create additional risk.
Organizations should understand important subprocessors for critical services.
99.33 Open-Source Dependencies as Third Parties
Open-source software is also part of the supply chain.
Risks can include:
- vulnerabilities,
- malicious packages,
- abandoned projects,
- compromised maintainers,
- dependency confusion,
- typosquatting.
Dependency governance should therefore be part of third-party risk management.
99.34 Model Supply Chain
AI models introduce additional supply-chain considerations.
A model may come from:
- an internal registry,
- a commercial provider,
- an open-source repository,
- a community model hub.
Before deployment, evaluate:
- provenance,
- version,
- integrity,
- licensing,
- security,
- evaluation results,
- intended use.
99.35 Model Provenance
The organization should be able to answer:
Where did this model come from?
and:
Which exact version is running in production?
This supports:
- reproducibility,
- incident investigation,
- rollback,
- compliance,
- security analysis.
99.36 Model Integrity
Production models should be protected against unauthorized modification.
Controls can include:
- trusted registries,
- access control,
- checksums,
- artifact signing,
- controlled deployment pipelines.
99.37 Container and Image Vendors
External container images should be governed carefully.
Controls can include:
- approved registries,
- image scanning,
- signature verification,
- pinned versions,
- provenance verification,
- minimal base images.
99.38 Software Bill of Materials
An SBOM provides visibility into software components.
For an AI platform, inventory may include:
Application
├── npm packages
├── Python packages
├── OS packages
├── Container images
├── AI frameworks
├── Model artifacts
└── External services
This improves vulnerability response and supply-chain visibility.
99.39 Vendor Vulnerability Notifications
Critical vendors should have mechanisms for communicating security issues.
The organization should monitor:
- vendor security advisories,
- vulnerability notifications,
- service-status information,
- security incident announcements.
Critical vendor alerts should feed into internal security operations.
99.40 Continuous Vendor Monitoring
Vendor review should not happen only during procurement.
Critical vendors should be reassessed when:
- architecture changes,
- data usage changes,
- major incidents occur,
- contracts change,
- ownership changes,
- service capabilities change.
99.41 Vendor Risk Scoring
A risk model can combine:
Risk =
Data Sensitivity
+
Service Criticality
+
Access Privilege
+
Exposure
+
Dependency Concentration
+
Security Assurance
The actual mathematical model should be defined by the organization's risk program.
99.42 Risk Tiers
A simple system:
Tier 1
Low-risk dependency.
Basic assessment.
Tier 2
Moderate-risk dependency.
Security questionnaire and owner approval.
Tier 3
High-risk dependency.
Detailed technical and contractual assessment.
Tier 4
Critical dependency.
Executive/security approval, continuous monitoring, contingency planning, and periodic reassessment.
99.43 Vendor Onboarding Lifecycle
A mature process can be:
Business Need
↓
Vendor Discovery
↓
Risk Classification
↓
Security Review
↓
Privacy Review
↓
Legal Review
↓
Technical Integration
↓
Approval
↓
Production Use
↓
Continuous Monitoring
↓
Renewal / Replacement / Exit
99.44 Vendor Offboarding Lifecycle
When a vendor is no longer required:
Disable Integration
↓
Revoke Credentials
↓
Migrate Data
↓
Disable Accounts
↓
Request Data Deletion
↓
Verify Where Possible
↓
Archive Evidence
99.45 Emergency Vendor Suspension
A critical vendor may need to be disabled quickly after a security event.
The platform should have a documented emergency procedure.
Possible controls:
- feature flags,
- provider routing controls,
- credential revocation,
- network restrictions,
- service disablement.
Emergency procedures should be tested safely.
99.46 Vendor Change Management
A vendor can change:
- API behavior,
- model versions,
- data-retention policies,
- infrastructure,
- pricing,
- subprocessors.
Significant changes should trigger an internal review when appropriate.
99.47 AI Model Version Changes
Model upgrades can affect:
- output quality,
- safety behavior,
- latency,
- cost,
- formatting,
- tool usage.
Production applications should avoid blindly accepting major model changes.
Use controlled evaluation and deployment processes.
99.48 Provider API Version Changes
API changes can create both reliability and security risks.
Applications should use:
- versioned APIs,
- compatibility testing,
- staging environments,
- monitoring,
- rollback mechanisms.
99.49 Third-Party Testing Environment
External integrations should be tested before production.
A useful environment model is:
Development
↓
Integration Testing
↓
Staging
↓
Security Validation
↓
Production
Production credentials should not be unnecessarily exposed to development environments.
99.50 Vendor Access Segmentation
Third-party access should be separated where possible.
For example:
Vendor A
↓
Service A Resources
Vendor B
↓
Service B Resources
One vendor should not automatically gain access to unrelated systems.
99.51 Dependency Concentration Risk
Using the same provider for multiple critical functions can create correlated failure.
Example:
One Provider
├── Authentication
├── Storage
├── AI
└── Monitoring
A single provider incident could affect the entire platform.
Critical dependency concentration should therefore be monitored.
99.52 Business Continuity and Vendors
Business continuity planning should include vendor failure.
Questions include:
- Can the service be replaced?
- How quickly?
- Is data portable?
- Is there a backup provider?
- Can the application operate in degraded mode?
- Are credentials and configurations recoverable?
99.53 Exit Strategy
Critical vendors should have an exit strategy.
An exit strategy may define:
- replacement service,
- migration process,
- data export,
- configuration migration,
- credential replacement,
- expected recovery time.
99.54 Portability Testing
An exit plan that has never been tested may not work.
Where practical, test:
- data export,
- provider replacement,
- backup restoration,
- configuration migration,
- model-routing changes.
This is particularly important for critical AI services.
99.55 Third-Party Risk and Privacy
Vendor risk must integrate with privacy governance.
For each external processor, determine:
- what personal information is transmitted,
- purpose of processing,
- retention,
- location,
- access,
- deletion,
- legal requirements.
Privacy and security should operate together.
99.56 Third-Party Risk and Compliance
Depending on the organization and jurisdiction, vendor governance may support compliance obligations.
The important principle is:
Outsourcing a function does not automatically eliminate the organization's responsibility for managing its associated risks.
Legal and compliance teams should determine applicable obligations.
99.57 Vendor Security Dashboard
A security dashboard can display:
Critical Vendors
Vendor Risk Tier
Open Findings
Contract Status
Security Review Date
Incident Status
Dependency Criticality
Exit Strategy
This gives leadership visibility into external risk.
99.58 Third-Party Risk KPIs
Useful measurements include:
- percentage of critical vendors assessed,
- overdue vendor reviews,
- open critical findings,
- vendor incident count,
- percentage with documented exit plans,
- percentage with current contracts,
- percentage with current security evidence.
Metrics should be used to prioritize improvement.
99.59 Third-Party Risk KRIs
Possible risk indicators include:
- number of critical single-provider dependencies,
- number of vendors with excessive access,
- number of high-risk findings,
- unsupported dependencies,
- vendors with expired security evidence,
- services without tested fallback.
99.60 Vendor Risk Governance
A governance model may include:
Executive Leadership
↓
Risk / Security Governance
↓
Vendor Risk Management
↓
Security + Privacy + Legal
↓
Technical Owners
↓
Vendor
Responsibilities should be explicit.
99.61 RACI Model
For each critical vendor, define:
- Responsible,
- Accountable,
- Consulted,
- Informed.
This prevents situations where everyone assumes someone else owns the relationship.
99.62 Security Exceptions
Sometimes a vendor cannot meet every requirement.
Exceptions should be:
- documented,
- risk-assessed,
- approved by appropriate authority,
- time-bounded,
- monitored.
An exception should not silently become the permanent configuration.
99.63 Vendor Risk Register
Maintain a centralized register containing:
Vendor
Service
Owner
Risk Tier
Data Classification
Access Level
Criticality
Security Findings
Mitigations
Review Date
Exit Strategy
Status
This becomes an important governance artifact.
99.64 Practical Vendor Review Checklist
Business
- [ ] Business purpose documented.
- [ ] Service owner assigned.
- [ ] Criticality classified.
Security
- [ ] Authentication reviewed.
- [ ] Encryption reviewed.
- [ ] Access controls reviewed.
- [ ] Incident response reviewed.
- [ ] Security evidence collected.
Privacy
- [ ] Data types documented.
- [ ] Retention understood.
- [ ] Processing location understood.
- [ ] Deletion process understood.
AI
- [ ] Model usage documented.
- [ ] Prompt/data handling reviewed.
- [ ] Training-use policy understood.
- [ ] Model lifecycle reviewed.
- [ ] Output risks evaluated.
Operations
- [ ] Availability reviewed.
- [ ] Rate limits understood.
- [ ] Fallback strategy defined.
- [ ] Monitoring implemented.
Exit
- [ ] Data export possible.
- [ ] Credentials can be revoked.
- [ ] Replacement strategy exists.
- [ ] Exit procedure documented.
99.65 Complete Third-Party Security Lifecycle
A mature AI platform can implement:
BUSINESS NEED
↓
VENDOR DISCOVERY
↓
RISK CLASSIFICATION
↓
┌──────────────┼──────────────┐
↓ ↓ ↓
Security Privacy Legal
│ │ │
└──────────────┼──────────────┘
↓
TECHNICAL REVIEW
↓
APPROVAL
↓
INTEGRATION
↓
SECURITY TESTING
↓
PRODUCTION
↓
CONTINUOUS MONITORING
↓
PERIODIC REASSESSMENT
↓
┌────────────┴────────────┐
↓ ↓
RENEWAL EXIT
↓ ↓
Continue Revoke/Migrate/Delete
99.66 AI Platform Third-Party Architecture
A secure architecture can look like:
USER
│
↓
AI APPLICATION
│
┌──────┴──────┐
│ │
Policy Engine Audit
│ │
↓ ↓
AI ROUTER Monitoring
│
┌────────────┼────────────┐
↓ ↓ ↓
Provider A Provider B Local Model
│ │
↓ ↓
External External
Service Service
│ │
└──────┬─────┘
↓
Provider Controls
│
↓
External Risk Layer
│
↓
Vendor Governance
The important architectural principle is that external providers should be reached through controlled service boundaries rather than being scattered throughout the application.
99.67 Minimum Production Requirements
Before using a critical external provider in production, verify that the organization has:
- a named internal owner,
- documented risk classification,
- appropriate security review,
- approved data-sharing model,
- credential management,
- monitoring,
- incident contacts,
- failure handling,
- access controls,
- documented contract requirements,
- exit strategy.
99.68 Common Mistakes
Mistake 1: Choosing vendors only by price
Cheap infrastructure may create unacceptable operational or security risk.
Mistake 2: Assuming certification means complete security
Assurance evidence should be evaluated against actual requirements.
Mistake 3: Sending excessive data
External services should receive only necessary information.
Mistake 4: Hardcoding provider credentials
Secrets must be centrally managed.
Mistake 5: No fallback
Critical services require resilience planning.
Mistake 6: No exit strategy
A dependency can become operationally dangerous if it cannot be replaced.
Mistake 7: Never reassessing vendors
Risk changes over time.
99.69 Implementation Roadmap
Phase 1 — Inventory
List all external services and dependencies.
Phase 2 — Classify
Assign:
- data sensitivity,
- service criticality,
- risk tier.
Phase 3 — Assess
Review:
- security,
- privacy,
- reliability,
- AI-specific risks.
Phase 4 — Control
Implement:
- least privilege,
- secret management,
- data minimization,
- monitoring,
- provider abstraction.
Phase 5 — Test
Test:
- outages,
- credential rotation,
- provider replacement,
- data migration,
- incident communication.
Phase 6 — Monitor
Track:
- vendor changes,
- incidents,
- vulnerabilities,
- security evidence,
- dependency concentration.
Phase 7 — Improve
Update:
- contracts,
- architecture,
- controls,
- fallback strategies,
- vendor assessments.
99.70 Final Conclusion
Third-party services are an unavoidable part of modern AI platforms.
The objective is not to eliminate external dependencies.
The objective is to make those dependencies:
- understood,
- controlled,
- monitored,
- replaceable where necessary,
- and appropriately governed.
A mature AI platform treats every important external dependency as a component of the overall risk model.
The strongest approach combines:
Vendor Governance + Data Minimization + Least Privilege + Provider Abstraction + Security Assessment + Continuous Monitoring + Resilience + Exit Planning
For AI systems, this is especially important because external model providers may directly influence:
- what data leaves the platform,
- how information is processed,
- model behavior,
- system availability,
- cost,
- and application functionality.
Therefore third-party risk management should not be treated as a procurement-only activity.
It should be integrated into:
- architecture,
- security,
- privacy,
- engineering,
- AI governance,
- operations,
- business continuity,
- and incident response.
The long-term objective is:
Know every dependency → classify its risk → control its access → minimize shared data → monitor its behavior → prepare for failure → maintain a safe exit path.
End of Chapter 99
Top comments (0)