How AI Risk Control Detects VPNs and Shared Accounts: Location, Entity, and Ownership Verification
This article explains how AI service providers are tightening access controls to detect VPN use, shared accounts, and resold credentials. It examines the change from one-time IP checks to behavior-based risk analysis over roughly 30 days, covering three verification layers: where the user actually is, where the contracting organization is based, and who ultimately controls it. It also walks through the technical mechanics, including impossible-travel detection, multi-dimensional behavior profiling, ownership-graph traversal, and tiered enforcement, along with practical Python and SQL examples. Finally, it offers guidance for enterprises and developers on reducing false positives, protecting privacy, and reviewing their own access structures before a provider changes its policies.
I. Background: Compliance Cleanup Around an IPO
Public reports indicate that a leading AI model provider will enforce a stricter user eligibility and account suspension policy starting November 12, 2026. Analysts expect gray-market usage paths, such as VPN proxies, shared accounts, and resold credentials, to largely stop working.
What makes this policy “strict” is not the severity of penalties, but three changes:
- Different target of evaluation: The focus shifts from “where the request came from” to “who is using it and who controls that user.”
- Different evaluation period: Instead of instantaneous checks at login, the system looks back at roughly 30 days of behavior data.
- Different evaluation dimensions: Instead of a single network address, it weighs location, organization, ownership, and behavior together.
The driver behind this upgrade is less the natural evolution of technical capabilities and more the capital market’s scrutiny of “revenue quality.” According to public reports, the provider’s IPO filing disclosed that about 5% to 7% of its revenue in the first nine months of 2026 came from customers later deemed non-compliant. For any company in the IPO process, such revenue is hard to smooth over during the prospectus stage: it means the revenue structure contains a batch of identifiable, traceable sources of violations, which directly affects investors’ assessment of revenue sustainability and legal risk.
At a deeper level, AI APIs are a typical “resellable, proxyable, credential-shareable” digital product. An API key can be distributed repeatedly through scripts, a subscription seat can be rotated among multiple people, and a cross-border call can disguise its origin through proxy nodes. If a substantial share of revenue relies on these channels, the provider faces not merely an abuse problem, but a compliance question of “where the revenue comes from.”
This new policy is therefore the product of three layers of logic:
- Compliance logic: Strip out revenue that cannot be audited or attributed.
- Risk-control logic: Replace easily forged connection information with verifiable identity and behavior evidence.
- Capital logic: Demonstrate to regulators and investors that the remaining revenue rests on clean, auditable customer relationships.
For developers and enterprise users, understanding these three layers of logic matters more than memorizing specific terms. Almost every design choice in the new policy can be traced to an engineering motive within these three layers.
II. Policy Layer: Three Nested Verification Red Lines
The policy is widely interpreted as “strict” because eligibility evaluation moves from “surface-level information” to “control relationships.” It can be understood as three nested filters, with a hit on any layer blocking access entirely.
1) Location Verification: Evaluating the Person, Not the Entry Point
The criterion shifts from “which network exit the request passed through” to “where the user personally is at that moment.” As a result, even if the user works for a fully compliant company, access will be denied if the user is physically located in an unsupported region.
This directly changes the enterprise IT management model. Previously, it was routine for employees to use company accounts during approved overseas business trips. Under the new policy, compliance responsibility moves from “is the company compliant” down to “where is the employee right now,” enforced by the service provider. Multinational teams need to rethink access strategies accordingly, such as reviewing expatriate and travel scenarios and preparing compliant access paths in advance.
2) Registered Entity Verification: Evaluating the Organization, Not the Account
If an enterprise customer’s registered or headquarters location is in a restricted region, access eligibility for all users under that entity is revoked, regardless of where employees are personally located.
This moves the evaluation target from “who is calling” to “who is signing the contract and who is operating.” Enterprises cannot circumvent this by “letting employees register individual accounts,” because organization-level evaluation runs before account-level evaluation.
3) Ownership and Effective Control Verification: Evaluating the Control Chain, Not the Business License
If an enterprise is directly or indirectly majority-owned or effectively controlled by individuals or entities in a restricted region, it is prohibited from using the service, no matter where it is registered or where its employees are located.
This is the hardest to enforce and the most disruptive part of the entire rule set. It targets a long-standing gray pattern: setting up a shell company in a third location, purchasing the service under that entity’s name, while the actual users and controllers are in a restricted region. Under the new policy, the standard is no longer “where the business license was issued,” but “who is actually calling the shots.”
Taken together, the three rules do not simply stack; they progressively dig deeper:
- Layer one looks at where the individual is, answering “who is using it.”
- Layer two looks at where the organization is registered and operates, answering “on whose behalf it is being used.”
- Layer three looks at ownership and control relationships, answering “who ultimately controls it.”
From this, a general design principle emerges: signals closer to control relationships are harder to forge. A person can relocate, and a company can change its registered address, but severing genuine ownership ties and control arrangements within a short period is extremely difficult. Risk control keeps moving from “behavior → identity → control relationship,” essentially seeking verification anchors with higher adversarial costs. Client eligibility mechanisms in many industries are evolving along this path, and any technology platform monetizing through APIs or subscriptions should understand this trend in advance.
III. Technical Layer: From Instant Checks to Behavior-Based Retrospective Analysis
Rules define “who to block”; technology determines “whether blocking is possible.” If the system still relies only on IP attribution at the moment of login, the three rules above would be largely ineffective. What actually makes the rules work are three things: data retention, multi-dimensional behavior analysis, and impossible-travel detection.
1) 30-Day Security Monitoring Data: Extending the Risk-Control Time Scale
The accompanying risk-control system retains about 30 days of security monitoring data and performs retrospective analysis on that basis. This design has three engineering implications:
- From “one-time success” to “long-term consistency”: Users cannot simply switch exits at the moment of a call; they must keep call timing, active hours, call cadence, and exit attribution consistent over the past 30 days.
- Attack surface expands from a single point to a timeline: Faking once is easy; maintaining a coherent, human-plausible, travel-consistent behavior trail over a long period dramatically increases cost and exposure risk.
- Evidence trail for post-event handling: In disputes, the platform can present an evidence chain based on the full timeline rather than relying solely on a single login record.
2) Multi-Dimensional Behavior Profiling: Time Zones, Language, and Concurrency
The system continuously analyzes dimensions such as call time zones, language characteristics, and multi-account concurrency patterns. From an engineering perspective, these signals can be grouped into several categories:
- Time dimension: Whether an account’s active hours align with its claimed location and historical baseline. For example, a user claiming to be in the Americas but consistently active during East Asia daytime hours creates a deviation.
- Language dimension: If the languages and character sets frequently used in requests clearly conflict with the claimed region, the account should enter a watchlist. This is a weak signal, best used jointly with other features.
- Concurrency dimension: Multiple “independent” accounts that are highly synchronized in request cadence, call parameters, and error distributions often indicate the same group sharing a single set of resources.
Individually, each signal may have a reasonable explanation; the value comes from the cumulative evidence when combined.
3) Impossible Travel: Using Physics to Detect Account Sharing
To address shared accounts and credential leaks, the system introduces the “impossible travel” rule, commonly used in the security domain. Its core is a simple physical constraint: a person cannot be in two distant places within a limited time. Public reports mention the evaluation conditions:
- The same account logs in from two geographic locations at least 1,000 kilometers apart within 24 hours;
- The implied travel speed between the two logins (distance divided by time interval) exceeds 800 kilometers per hour.
When both conditions are met, the system treats it as a strong signal of account sharing, VPN exit mismatch, or credential theft.
The elegance of this rule is that it bypasses any information that “can be configured.” IPs can be proxied, request headers can be forged, device identifiers can be swapped, but “people cannot travel faster than light” is a physical constraint that no technical means can change.
Here is sample code implementing minimal detection logic:
import mathfrom datetime import datetime, timedeltaEARTH_RADIUS_KM = 6371.0MIN_DISTANCE_KM = 1000.0 # Minimum geographic span required to trigger evaluationMAX_SPEED_KMH = 800.0 # Implied speed above which "impossible travel" is assumedWINDOW = timedelta(hours=24)def haversine_km(lat1, lon1, lat2, lon2):"""Calculate the great-circle distance between two coordinates (kilometers)."""p1, p2 = math.radians(lat1), math.radians(lat2)dphi = p2 - p1dlambda = math.radians(lon2 - lon1)a = math.sin(dphi / 2) ** 2 + math.cos(p1) * math.cos(p2) * math.sin(dlambda / 2) ** 2return 2 * EARTH_RADIUS_KM * math.asin(math.sqrt(a))def check_impossible_travel(account_id, events):"""events: [{ts: datetime, lat: float, lon: float}, ...], sorted ascending by time."""events = sorted(events, key=lambda e: e["ts"])alerts = []for prev, curr in zip(events, events[1:]):elapsed_h = (curr["ts"] - prev["ts"]).total_seconds() / 3600.0if elapsed_h <= 0 or elapsed_h > WINDOW.total_seconds() / 3600:continuedistance = haversine_km(prev["lat"], prev["lon"], curr["lat"], curr["lon"])if distance < MIN_DISTANCE_KM:continuespeed = distance / elapsed_hif speed > MAX_SPEED_KMH:alerts.append({"account_id": account_id,"distance_km": round(distance, 1),"elapsed_h": round(elapsed_h, 2),"speed_kmh": round(speed, 1),"risk": "impossible_travel",})return alerts
This logic has three engineering points:
- Distance and time differences must be correlated via the same account ID to avoid cross-account false positives.
- Zero or negative time intervals (e.g., clock rollback, out-of-order events) should be skipped directly rather than included in calculation.
- The output is a “risk event,” not a conclusion of “immediate suspension”; whether to act should be left to the downstream scoring step.
4) Combined Logic: Easy to Fake Once, Hard to Fake Over Time
Putting the two rule types together explains why VPNs and shared accounts are described as “basically ineffective”:
- VPN exits can only change “where this one request appears to come from,” but cannot alter the account’s active cadence over 30 days.
- Shared accounts may allow multiple people to use different exits, but leave hard-to-erase traces in “impossible travel” and concurrency patterns.
- Proxy reselling faces double verification: the individual user may be in a restricted region, and the reselling organization’s registered location and ownership structure are also subject to review.
IV. Architecture Layer: A Deployable Risk-Control System
If an enterprise wants to build similar capabilities, it can reference the following layered architecture:
| Layer | Core Responsibilities | Common Cloud Capability Categories |
|---|---|---|
| Identity and Organization Layer | Account registration, enterprise verification, beneficial owner identification, restricted-list matching | Identity management, object storage, message queues |
| Behavior Collection Layer | Collect login and call events, parse source addresses, standardize data | Logging services, message queues, stream computing |
| Real-Time Decision Layer | Rule engines and risk scoring, synchronous pass/challenge/deny output | Rule engines, caching, function computing |
| Offline Analysis Layer | Long-cycle behavior baselines, ownership penetration calculation, account linkage mining | Data warehouses, graph databases, batch computing |
| Enforcement and Appeal Layer | Tiered enforcement, notifications, manual review, and appeal workflows | Message queues, ticketing systems, monitoring and alerting |
Three of these areas deserve closer examination.
1) Ownership Penetration: Using Graph Computing to Identify Indirect Holdings and Control
The phrase “directly or indirectly holding majority ownership” translates, in engineering terms, to a multi-hop traversal on a graph:
- Abstract companies and individuals as nodes;
- Abstract shareholding ratios as weighted directed edges;
- Starting from shareholders in restricted regions, accumulate weights layer by layer along shareholding paths.
When a path’s cumulative shareholding exceeds 50%, the target company is flagged as high-risk. A recursive query (recursive CTE syntax shown here; actual syntax varies by database) can implement the core logic:
-- shares(shareholder, company, ratio): direct shareholding ratio, value range [0, 1]WITH RECURSIVE indirect AS (-- Anchor: direct holdings of shareholders in restricted regionsSELECT s.company,s.shareholder AS root_owner,s.ratio AS direct_ratio,s.ratio AS total_ratio,1 AS depthFROM shares sWHERE s.shareholder IN (SELECT entity_id FROM restricted_owners)UNION ALL-- Recursion: treat the previous layer's company as the next layer's shareholder, accumulate downward along the chainSELECT c.company,i.root_owner,c.ratio,i.total_ratio * c.ratio,i.depth + 1FROM shares cJOIN indirect i ON c.shareholder = i.companyWHERE i.depth < 10AND c.company <> i.root_owner -- Basic cycle protection)SELECT company,root_owner,SUM(total_ratio) AS restricted_ratio,MAX(depth) AS max_depthFROM indirectGROUP BY company, root_ownerHAVING SUM(total_ratio) > 0.5; -- Majority ownership
In practice, four additional points need attention:
- Cycles and multi-path deduplication: Circular and cross-shareholding are not uncommon in the real world; naive recursion may double-count or even fall into infinite loops. Production implementations should record complete traversal paths or use graph data processing engines with cycle detection (e.g., variable recursion queries).
- “Effective control” is hard to fully quantify: Board seats, concerted-action arrangements, and contractual control do not manifest as standard shareholding ratios. In practice, this typically combines “quantified holdings + manual review + contractual declarations.”
- Data freshness: Business registration and ownership information changes continuously; penetration results must be recalculated as data updates, and calculation snapshots should be retained for auditing.
- List maintenance: Every adjustment to the restricted-region list should be logged and traceable.
2) Device and Network Fingerprinting: Covering the “Non-Login” Call Blind Spot
Shared-account detection typically centers on login behavior, but the primary form of API calls is requests carrying keys, without traditional login events. Risk control needs to treat the “request” itself as a “usage event”:
- Leverage fingerprint fields and request timing characteristics of mainstream HTTP clients to distinguish “human interactive calls” from “automated batch calls.”
- Combine key creation time, first-call region, and call-source network type to establish baselines.
Even without relying on user consent, this can provide finer-grained time series for impossible-travel rules.
3) Tiered Enforcement: Turning “Rule Hits” into “Risk Scores”
High risk does not mean immediate suspension. A more prudent approach is to aggregate signals from multiple dimensions into a risk score, then map it to different enforcement intensities:
- Low risk: Normal pass-through.
- Medium risk: Require secondary verification, such as email/SMS codes or enterprise domain verification.
- Medium-high risk: Reduce call rate or quota, trigger manual review.
- High risk: Freeze keys, suspend accounts, notify administrators, and provide an appeal channel.
# Illustration: after normalizing each dimension's signal to [0, 1], apply weightsdef risk_score(features: dict) -> float:weights = {"impossible_travel": 0.35, # Conflicts with physical laws, highest weight"geo_time_mismatch": 0.20, # Active hours conflict with claimed region"language_mismatch": 0.10, # Language features conflict with claimed region (weak signal)"sync_concurrency": 0.20, # Highly synchronized concurrency across accounts"proxy_network_flag": 0.15, # Source is proxy/data-center network}return sum(features.get(k, 0.0) * w for k, w in weights.items())
4) Cloud Implementation Suggestions
Most of these capabilities can be built using common cloud product categories: logging services for behavior data aggregation, message queues and stream computing for real-time risk decisions, object storage and data warehouses for 30-day retrospective analysis, graph data processing for ownership and account linkage penetration, and monitoring and alerting systems to ensure timely rule hits and enforcement actions. For example, general capabilities such as log analysis, stream computing, and graph databases offered by Baidu AI Cloud can serve as a foundation for building such a risk-control system; specific choices can be evaluated based on actual business scale and compliance requirements.
V. False-Positive Governance: Strict Yet Fair
The biggest risk of risk control is not false negatives, but false positives. Cross-border teams, enterprise-wide egress points, and API services deployed on cloud hosts can inadvertently trigger rules:
- Enterprise-wide egress funnels all employee traffic to a few public addresses, easily creating synchronized characteristics in “concurrency patterns”;
- Call sources of cloud services belong to data-center networks and may be flagged as proxy characteristics;
- Traveling users who switch airport and hotel networks in a short time occasionally come close to impossible-travel thresholds.
Reducing false positives can start from four aspects:
- Multi-signal cross-checking rather than single-point veto: A single signal only raises the risk score and does not directly trigger suspension.
- Context whitelists: Certified enterprise users register their official egress address ranges and resident regions; cloud service calls can pre-register the deployment regions of their keys.
- Audit before enforcement: During the early launch of new rules, run in “log-only, no blocking” shadow mode, accumulate false-positive samples, and then gradually tighten.
- Accessible appeal channels: Every enforcement action should retain an evidence chain for manual review and post-event auditing.
VI. Privacy Boundaries: 30-Day Retention Does Not Mean Unlimited Collection
Retaining 30 days of monitoring data touches the red line of personal information protection. IP addresses, geolocations, device identifiers, etc. all fall within the scope of personal information and should follow the principle of “purpose limitation, minimum necessity” in processing:
- Minimize collection: Collect only fields necessary for risk-control purposes;
- Tiered anonymization: Hash or truncate addresses and identifiers in externally displayed logs;
- Strict authorization: Apply minimum-necessary authorization to access retained data and fully log access records;
- Deletion upon expiry: Clean up or anonymize data after the monitoring cycle according to policy;
- Clear disclosure: Explain the risk-control purpose, data scope, and retention period in user agreements and privacy policies.
For services targeting overseas users, it is also necessary to assess compliance of data export and cross-border access against local data protection requirements.
VII. Enterprises and Developers: Four Self-Check Recommendations
- Review the control structure: Confirm the contracting entity and its ultimate beneficiaries, check whether there is direct or indirect shareholding from restricted regions, and whether there is effective control. Enterprises with overseas structures need to pay particular attention to multi-layered nested shareholding.
- Standardize usage scenarios: Clarify that the service is only for use by certified users themselves; prohibit account sharing, resale, and credential lending, and write this into internal usage guidelines; apply for compliant access methods in advance for expatriate and travel scenarios.
- Prepare technical adaptations: If the business relies on fixed network egress or concurrent call patterns, register and explain this to the service provider in advance to avoid being misjudged as proxy or sharing behavior.
- Reserve a migration window: Consider the possibility of provider policy changes in business continuity and risk assessments. When necessary, evaluate alternatives such as private deployment and regional compliance nodes to reduce dependence on a single provider.
VIII. Conclusion: Compliance Capability Is Becoming an Entry Threshold for AI Services
This “compliance cleanup” at an IPO milestone appears on the surface to be a round of account suspensions, but in essence it is a stress test for the maturity of the AI service business model. Revenue can grow quickly, but only revenue that withstands auditing counts as real revenue; accounts can be registered in large numbers, but only customers that withstand penetration verification count as real customers.
For service providers, risk-control capability is shifting from a “cost item” to a “trust asset”; for service users, compliant usage is shifting from an “option” to an “entry condition.” Understanding the logic behind this rule set in advance is far more valuable than searching for workarounds after an account is suspended.
