Manuscript Offprint
arXiv:2611.00738Cross-Evidence Authorization State Learning for Runtime Detection of Broken Object-Level Authorization in Black-Box Web Applications
Highlights
-
A cross-evidence model learns object-level authorization states from runtime traffic.
-
Independent evidence confirmation reduces authorization-state poisoning.
-
Contamination-gated updates support rollback, revocation, and expiration.
-
Action-specific relations improve runtime detection of BOLA attacks.
Cross-Evidence Authorization State Learning for Runtime Detection of Broken Object-Level Authorization in Black-Box Web Applications
Siqi Lin, Qianheng Cheng and Yiping Mao
Xiamen Moefire Technology Co., Ltd., Xiamen, 361000, Fujian, China
School of ZhongXin International Engineering, Shenyang Jianzhu University, Shenyang, 110168, Liaoning, China
School of Information Engineering, Changji University, Changji, 831100, Xinjiang, China
Digital Technology School of Sias, Sias University, Xinzheng, 451150, Henan, China
ARTICLE INFO
Keywords:
Broken object-level authorization
Authorization relation learning
Web application security
Runtime monitoring
Learning poisoning
Black-box detection
ABSTRACT
Broken object-level authorization (BOLA) remains difficult to detect in black-box Web applications because external runtime monitors generally lack access to source code, authorization policies, and object-ownership records. This paper proposes a cross-evidence authorization-state learning method that reconstructs subject-resource-object-action relations from request-response transactions. The method represents authorization relations with confidence-aware states, aggregates positive and negative evidence while accounting for provenance independence, and applies contamination-gated promotion, evidence quarantine and rollback, expiration, and revocation. A Python prototype is evaluated using a deterministic synthetic benchmark comprising 64,400 requests across five independent random seeds. In this benchmark, the proposed method achieves 100.00% recall, an F1-score of 56.63%, and a false-positive rate of 33.65%, while the measured unauthorized-relation pollution rate is 0.00%. Ablation experiments show that removing provenance independence or evidence quarantine increases the pollution rate to 100.00%. The experiments provide an initial evaluation under controlled synthetic conditions.
1. Introduction
1.1. Background and motivation
Modern Web applications and application programming interfaces (APIs) expose business resources through explicit object identifiers, such as user identifiers, contract numbers, order identifiers, document identifiers, device identifiers, and universally unique identifiers. These identifiers are commonly transmitted in URI path segments, query parameters, form fields, or structured request bodies. Although this resource-oriented design facilitates interface composition and service integration, it also creates a persistent security risk when the server fails to verify whether an authenticated requester is authorized to perform the requested operation on the referenced object.
The Open Worldwide Application Security Project (OWASP) defines this weakness as Broken Object Level Authorization (BOLA) and ranks it as the first risk in the OWASP API Security Top 10 (OWASP Foundation, 2023). A BOLA vulnerability may allow an authenticated attacker to read, modify, delete, export, or otherwise operate on resources for which the requester lacks the required authorization, merely by manipulating an object identifier in an otherwise legitimate request. Unlike injection attacks or malformed protocol messages, BOLA requests frequently contain valid authentication credentials, supported HTTP methods, syntactically correct parameters, and structurally normal payloads. Consequently, the decisive security question is not whether a request is authenticated or syntactically anomalous, but whether a particular subject is authorized to perform a particular action on a particular object at the time of the request.
Conventional access-control models express authorization through roles, attributes, relationships, or usage-control conditions (Sandhu, Coyne, Feinstein and Youman, 1996; Hu, Ferraiolo, Kuhn, Schnitzer, Sandlin, Miller and Scarfone, 2014; Fong, 2011; Park and Sandhu, 2004). These models normally operate within the protected application and assume access to trusted policies, attributes, ownership relations, or organizational data. An external
Corresponding author
lsq@moefire.net (S. Lin); 3122056505@qq.com (Q. Cheng); 2539273248@qq.com (Y. Mao)
ORCID(s): 0009-0006-2510-9784 (S. Lin); 0009-0006-8649-4751 (Q. Cheng); 0009-0000-6455-0413 (Y. Mao)
Siqi Lin et al.: Preprint submitted to arxiv
Page 1 of 57 runtime protection component operates under substantially different conditions: it may observe request-response transactions but have no access to application source code, database ownership records, policy engines, or complete business authorization configurations. This situation is common in legacy applications, third-party systems, rapidly evolving API environments, and multi-service deployments in which authorization logic is distributed across several enforcement points.
Prior work introduced a non-intrusive traffic analysis framework that uses request-response correlation to organize heterogeneous runtime evidence and support explainable authorization-risk decisions without modifying application code (Lin, Luo, Zhu, Wang and Qiu, 2026). Its binary object-evidence representation, however, cannot fully express evidence confidence, source independence, operation-specific authorization, or changes in authorization over time. A more reliable runtime mechanism must therefore infer authorization states from multiple observable evidence sources while preserving uncertainty and preventing untrusted transactions from contaminating subsequent decisions.
1.2. Research gap and approach
Existing approaches have four principal limitations in the target black-box runtime setting. First, active black-box testing does not maintain persistent authorization states during ordinary runtime traffic. Second, a successful response cannot serve as independent authorization evidence when the protected application may itself contain the authorization defect being detected. Third, external traffic monitors lack the trusted policies, attributes, and ownership information assumed by conventional access-control models. Fourth, authorization relations may change because of object transfer, permission revocation, temporary-access expiration, or evolving application behavior.
This study therefore addresses the following problem: given a stream of request-response transactions from a Web application whose source code, internal authorization policy, and database ownership relations are unavailable, how can an external runtime component learn and maintain reliable subject-resource-object-action authorization states while resisting evidence contamination and adapting to authorization changes?
To address this problem, we propose a cross-evidence authorization state learning method. The method maintains action-specific authorization relations from request-response transactions, distinguishes provisional and confirmed evidence, constrains evidence independence, suspends state promotion when incoming transactions trigger contamination indicators, and supports rollback, revocation, expiration, and temporal confidence decay.
The method operates at a reverse proxy, API gateway, ingress controller, or an equivalent observation point after TLS termination. It does not replace application-side authorization. Instead, it constructs a partial runtime authorization view for external BOLA detection and explainable security decisions.
1.3. Contributions
The main contributions of this work are as follows:
-
We formulate traffic-side object-level authorization as a dynamic subject-resource-object-action relation with explicit confidence, lifecycle state, provenance, and temporal validity. The formulation distinguishes object visibility from permission to perform state-changing operations.
-
We propose a cross-evidence authorization confirmation mechanism that evaluates evidence credibility, polarity, freshness, and independence. The mechanism prevents a single successful response or correlated observation from serving as self-validating authorization evidence.
-
We implement the method as a non-intrusive runtime component and evaluate it in terms of authorization-state accuracy, BOLA detection performance, cold-start behavior, contamination resistance, authorization-change responsiveness, cross-application applicability, and runtime overhead.
2. Background and related work
2.1. Object-level authorization and access-control models
Authentication establishes the identity associated with a request, whereas authorization determines whether the identified subject may perform a specified action on a protected resource. BOLA occurs when an application accepts a client-controlled object identifier but fails to enforce the corresponding subject-object authorization constraint (OWASP Foundation, 2023).
Object-level authorization may depend on ownership, organizational membership, delegation, resource hierarchy, object status, operation type, or environmental conditions. Permission to read an object does not necessarily imply permission to modify, delete, export, or approve it.
Siqi Lin et al.: Preprint submitted to arxiv
Page 2 of 57
RBAC associates permissions with organizational roles (Sandhu et al., 1996), whereas ABAC evaluates subject, object, operation, and environmental attributes (Hu et al., 2014). ReBAC represents authorization through relationships among users and resources (Fong, 2011), and UCON supports continuous decisions and mutable contextual conditions (Park and Sandhu, 2004).
These models assume that the authorization mechanism can access trusted roles, attributes, relationships, or policies. A traffic-side learner observes only a partial projection of authorization-relevant state through requests, responses, object references, and temporal sequences. It must therefore preserve uncertainty, provenance, and temporal validity rather than convert every observation into an authoritative policy rule.
2.2. Black-box Web and API security testing
Black-box scanners interact with Web applications through externally visible interfaces and avoid language-specific source-code requirements. Previous evaluations showed that automated scanners can identify several classes of input-validation vulnerabilities but remain limited in maintaining authenticated state, traversing complex workflows, and detecting application-specific logic flaws (Bau, Bursztein, Gupta and Mitchell, 2010; Doupé, Cova and Vigna, 2010).
Stateful API testing improves workflow coverage by modeling dependencies among operations. RESTTler infers producer-consumer dependencies from API specifications and generates stateful request sequences (Atlidakis, Godefroid and Polishchuk, 2019). RESTest similarly derives valid and invalid test cases from OpenAPI descriptions and parameter constraints (Martin-Lopez, Segura and Ruiz-Cortés, 2021).
These techniques primarily support active vulnerability discovery. They require generated test traffic and often depend on an API specification. They do not continuously maintain authorization states from naturally occurring runtime transactions. Comparative evaluations also report unresolved challenges in authentication handling, semantically constrained input generation, deep-state exploration, and inter-operation dependency satisfaction (Zhang and Arcuri, 2023).
2.3. Runtime and authorization-specific analysis
Runtime monitoring techniques demonstrate that application-logic violations require stateful contextual analysis. Swaddler learns relationships among internal application-state variables and identifies executions that violate the learned model (Cova, Balzarotti, Felmetsger and Vigna, 2007). Felmetsger et al. infer likely invariants from normal executions to identify logic vulnerabilities that cannot be represented through generic attack signatures (Felmetsger, Cavedon, Kruegel and Vigna, 2010).
These approaches generally rely on internal program state, instrumented traces, or execution-level observations. A traffic-side component has less semantic visibility and must infer authorization evidence from protocol-visible identifiers, operation semantics, business outcomes, and historical transactions.
Authorization-specific methods provide more direct evidence. AuthScope identifies authorization-related protocol fields, substitutes their values, and compares responses across controlled executions (Zuo, Zhao and Lin, 2017). BolaRay combines static program analysis and database-relation analysis to infer object-level authorization models in database-backed applications (Huang, Shi, Lu, Li, Meng and Li, 2024). Formal specification-driven methods can also transform OpenAPI descriptions into executable or analyzable models for detecting BOLA-related events (Santos Filho, Rodríguez and Feitosa, 2025).
These methods provide strong results under their respective assumptions, but require active request manipulation, internal program or database visibility, or accurate API specifications. They are not designed to maintain persistent authorization states from passive runtime traffic.
2.4. Summary and research positioning
A distinct challenge of online authorization learning is that observed transactions can modify the state used for future decisions. If every successful response is treated as positive evidence, a successful unauthorized request may contaminate the learned state. Public search results, aggregated collections, and repeated correlated observations may create similar contamination. Previously valid evidence may also become stale after object transfer, permission revocation, or temporary-access expiration.
The proposed method differs from existing approaches in five respects. It operates on passive or proxy-side request-response transactions, maintains persistent action-specific authorization states, separates provisional from confirmed evidence, constrains evidence independence, and supports contamination control and authorization lifecycle management.
Table 1 summarizes the main differences between representative approaches.
Siqi Lin et al.: Preprint submitted to arxiv
Page 3 of 57
Table 1
Comparison of representative approaches to Web and API authorization analysis. Paired values indicate internal visibility / active request generation and action-specific relation support / contamination control, respectively.
| Approach | Visibility / probing | Persistent state | Action specificity / contamination | Operating context |
|---|---|---|---|---|
| Generic black-box scanners (Bau et al., 2010; Doupé et al., 2010) | No / Yes | No | No / No | Security testing |
| Stateful API fuzzers (Atlidakis et al., 2019; Martin-Lopez et al., 2021) | No / Yes | No | Limited / No | Specification-based API testing |
| Internal runtime monitoring (Cova et al., 2007; Felmetsger et al., 2010) | Yes / No | Behavioral state | No / Not authorization-specific | Instrumented applications |
| Differential authorization testing (Zuo et al., 2017) | No / Yes | Limited | Limited / No | Controlled client testing |
| Database-aware BOLA analysis (Huang et al., 2024) | Yes / No | Inferred authorization model | Yes / Not traffic-learning-oriented | Static analysis |
| OpenAPI formal modeling (Santos Filho et al., 2025) | Specification required / No | Formal execution state | Partially / Limited | Log and model analysis |
| Proposed method | No / No | Yes | Yes / Yes | Passive or proxy-side runtime monitoring |
3. System model and problem formulation
3.1. Observation and deployment model
The proposed method operates as an external runtime component between Web clients and a protected application or API service. The component observes application-layer requests and responses at a reverse proxy, API gateway, ingress controller, or an equivalent traffic observation point. It does not require modifications to the protected application's source code, database schema, or internal authorization logic.
Let denote the th HTTP request and denote its corresponding response. The request is observed at time , and the corresponding response is observed at time . After the response is returned, the component correlates and into a transaction
where is the tenant or application context, is the observed access subject, is the normalized endpoint, is the set of candidate object references, is the requested action, is the observed response outcome, is the request-arrival time, is the response-observation time, and is the request-response correlation confidence. The candidate object set is defined as
where is the resource type, is the corresponding object identifier, and is the number of candidate object references extracted from transaction .
The response outcome contains both protocol-level and application-level information when available. Protocol-level information includes the HTTP status code and response headers, whereas application-level information may include a business success indicator, an application-specific result code, and a structured response summary. A successful protocol response is not assumed to prove that the corresponding operation was authorized.
For inline deployments, the decision for is made before the request is forwarded. It therefore uses only the current request context and authorization evidence established by earlier transactions. If the request is forwarded, is subsequently observed and used to update the state for future requests. The response to the current request cannot retrospectively alter the decision already made for that request. This temporal separation prevents the current transaction from validating itself.
In passive deployments, the same transaction model can be constructed from mirrored traffic, gateway logs, or request traces. Passive deployment supports state learning, auditing, and retrospective analysis but does not perform
Siqi Lin et al.: Preprint submitted to arxiv
Page 4 of 57
Table 2 Principal notation used in the system and authorization-state models.
| Symbol | Meaning |
|---|---|
| The ith HTTP request and its corresponding response. | |
| The correlated transaction formed from and after the response is observed. | |
| Tenant or application context, observed access subject, and normalized endpoint, respectively. | |
| Set of candidate object references extracted from transaction ; each reference contains a resource type and an object identifier. | |
| Resource type, business-object identifier, and requested action class, respectively. | |
| Observed response outcome, including available protocol-level and application-level result information. | |
| Request-arrival time and response-observation time of transaction , respectively. | |
| Request-response correlation confidence for transaction , where . | |
| Set of complete transactions whose responses have been observed no later than time . | |
| Historical request and transaction context available before time for online authorization-risk decisions. | |
| Authorization-relevant evidence admitted to the learning process up to time . | |
| Authorization-state mapping maintained by the runtime component at time . | |
| Lifecycle state and confidence value of an authorization relation, where . | |
| Evidence provenance and time of the most recent relation update, respectively. | |
| Object-level authorization-risk decision produced for request . | |
| Authorization-relation key consisting of tenant, subject, resource, object, and action. | |
| The th authorization-evidence item. | |
| Positive and negative evidence support associated with an authorization relation. | |
| Provenance descriptor of evidence item . | |
| Set of object-level authorization-relation keys extracted from request . | |
| Risk value of relation key and aggregated object-level risk of request , respectively. | |
| Set of authorization-evidence items extracted from transaction . | |
| Positive-evidence promotion-gate result for evidence item . | |
| Monotonically increasing version number of relation record at time . | |
| Decision thresholds for review and blocking. | |
| Contamination-indicator vector and aggregate contamination score of evidence item . | |
| Quarantine record associated with a held evidence item. | |
| Indicator of an active trusted revocation record for relation key . | |
| Set of authorization relations whose evidence depends on provenance group . | |
| Object-level revocation and reauthorization events, respectively. | |
| Maximum configured evidence lifetime of authorization relation . |
inline enforcement. In both deployment modes, application-layer visibility is required for complete extraction of object identifiers and business outcomes. When plaintext application-layer content is unavailable at the observation point, the method can process only the metadata exposed by the available traffic or logging interface.
3.2. Entities and notation
Table 2 summarizes the principal entities and symbols used throughout the paper.
The subject identifier should be stable within the observation period and sufficiently precise to distinguish different authenticated subjects. When only a low-confidence temporary identifier is available, the resulting transactions may contribute to anomaly analysis but should not independently establish high-confidence authorization relations.
The endpoint identifier combines the HTTP method with a normalized URI path. Dynamic path segments, including numeric identifiers, UUIDs, and application-generated tokens, are replaced with placeholders. Resource type represents the semantic class of an object rather than a single endpoint. Consequently, several endpoints may refer to the same resource type even when they use different paths or parameter names.
The candidate-object set may contain zero, one, or multiple object references. Each reference is represented by a resource-object pair . A transaction may reference multiple objects in batch operations or nested structured payloads. Candidate references are not immediately treated as authorization evidence; they must first be evaluated according to their extraction source, transaction context, and evidence admissibility.
3.3. Runtime authorization relation
The runtime authorization state for a tenant, subject, resource, object, and action is represented as
Siqi Lin et al.: Preprint submitted to arxiv
Page 5 of 57 where is the lifecycle state, is the confidence value, contains the provenance of the supporting or contradicting evidence, and is the most recent update time.
The authorization key contains an explicit action dimension. The following relations are therefore distinct:
This separation is necessary because observing or reading an object does not imply authorization to modify, delete, export, or approve it. When an operation cannot be mapped reliably to a predefined action class, it is assigned to an application-specific or generic other class rather than being merged with a more permissive operation.
The lifecycle state belongs to the set
An Unknown relation has no sufficient admissible evidence. A Candidate relation is supported by provisional positive evidence but has not satisfied the confirmation requirements. A Confirmed relation is supported by sufficiently credible and independent positive evidence. A Conflicted relation contains materially inconsistent evidence, such as positive observations contradicted by reliable negative evidence or evidence whose provenance indicates possible contamination. A Revoked relation has been invalidated by an explicit trusted revocation signal or sufficiently strong object-level negative evidence. An Expired relation has lost temporal validity because its supporting evidence has exceeded the configured lifetime.
These states represent the external component's current evidence-based view rather than the authoritative policy of the protected application. In particular, an Unknown state does not by itself prove that an operation is unauthorized, and a Confirmed state does not represent permanent permission. A relation may subsequently become Conflicted, Revoked, or Expired when contradictory evidence, trusted object-level revocation information, or temporal invalidation is observed.
The provenance component records information required to evaluate evidence dependence and support later state correction. It may include the originating transaction, endpoint, evidence source, session context, observation time, and correlation group. Evidence items derived from the same transaction or response are linked through their provenance and are not automatically treated as independent confirmation.
3.4. Threat model and assumptions
Adversary capabilities. The adversary possesses a valid authenticated session for the protected application and can issue syntactically valid HTTP requests through the same interfaces available to legitimate users. The adversary can modify object identifiers in URI paths, query parameters, form fields, and structured request bodies. The adversary can also vary request ordering and timing, use low-rate access patterns, and invoke different operations on the same or related objects.
The adversary may exploit an application endpoint that returns a successful response despite an incorrect object-level authorization decision. The adversary may also attempt to influence the learned authorization state by repeatedly accessing unauthorized objects, causing objects to appear in apparently successful transactions, or using public and aggregated collections as misleading authorization evidence.
Trusted components. The traffic observation component, its state store, and its audit records are assumed to be protected from direct modification by the adversary. The mapping between an authenticated session and the observed subject identifier is assumed to be available from the protected application or its access gateway. The supplied subject binding is treated as trusted input and is not learned or reinterpreted by the proposed method. Request and response contents observed after TLS termination are assumed not to be altered between the observation point and the learning component.
Application assumptions. The protected application exposes one or more business objects through identifiers visible in application-layer transactions. The same object may be referenced through different endpoints or parameter names, and the application may return public, shared, aggregated, or subject-specific collections. No assumption is made that the application provides complete ownership metadata or an explicit object-level authorization policy.
Siqi Lin et al.: Preprint submitted to arxiv
Page 6 of 57
Scope. The objective is to identify object-level authorization inconsistencies under valid authenticated sessions. The method does not evaluate the correctness of the authentication mechanism itself and does not claim to reconstruct the complete internal access-control policy. Denial-of-service attacks, transport-layer attacks, client compromise, and direct tampering with the trusted observation infrastructure are outside the scope of the model.
3.5. Problem definition
Let
denote the transaction stream observed up to time t. The objective is to maintain an authorization-state store from without access to the protected application's source code, ownership database, or authoritative authorization policy.
The online process contains two temporally separated functions. Before the response to request is available, the decision function computes
where is the object-level authorization-risk decision, is the authorization-state mapping available immediately before is evaluated, and is the historical request and transaction context available at that instant.
After the corresponding response is observed and transaction is formed, the state-update function computes
Here, denotes the instant immediately before request is evaluated, and denotes the instant immediately before the corresponding transaction updates the authorization state.
The update function must not assume that a successful response is authoritative evidence of authorization. Instead, it must determine whether the transaction contributes positive, negative, ambiguous, or inadmissible evidence and whether that evidence is sufficiently independent from previously observed items.
The problem is therefore not equivalent to binary request classification. It requires the joint maintenance of a dynamic authorization state and the use of that state in subsequent online decisions. A suitable solution should satisfy the following design requirements.
-
Non-intrusive operation. The method should operate without application source-code modification or direct access to the internal authorization database.
-
Action-sensitive representation. Authorization evidence for one operation should not automatically authorize other operations on the same object.
-
Uncertainty preservation. Limited or ambiguous evidence should remain provisional rather than being converted immediately into a confirmed relation.
-
Evidence-independence control. Correlated observations originating from the same transaction, response, or tightly coupled context should not be counted as independent confirmation.
-
Contamination resistance. Transactions that trigger contamination indicators should not promote authorization states without sufficient independent corroboration, and provisional updates should remain traceable and correctable.
-
Authorization lifecycle support. The state model should support confidence decay, contradiction, revocation, expiration, and changes in object ownership or access conditions.
-
Online efficiency. State lookup and update operations should be sufficiently efficient for runtime deployment at a proxy or gateway.
Section 4 presents the evidence model and authorization state-transition mechanism used to satisfy these requirements.
Siqi Lin et al.: Preprint submitted to arxiv
Page 7 of 57
4. Cross-evidence authorization state model
4.1. Authorization evidence representation
For a tenant, subject, resource, object, and action, the corresponding authorization-relation key is defined as
The subject identifier is treated as an externally supplied and stable binding within the observation period. The authorization learner does not modify or reinterpret this binding. Its objective is limited to determining whether observable runtime evidence supports the relation between subject , resource type , object , and action .
An authorization-evidence item associated with relation key is represented as
where denotes the evidence-source class, is the evidence polarity, is the base credibility, is the observation time, and is the provenance descriptor.
The evidence polarity is defined as
where +1 denotes positive authorization evidence, -1 denotes negative authorization evidence, and 0 denotes ambiguous evidence. Ambiguous evidence is retained for auditing and possible subsequent corroboration, but does not directly increase either positive or negative support.
The runtime evidence classes considered by the model are summarized in Table 3. Their interpretation depends only on observable object-level transaction semantics and does not require access to the protected application's internal authorization policy.
The evidence interpretation is deliberately conservative. In particular, a successful object-specific response is not treated as self-validating authorization evidence because the protected endpoint may itself contain an authorization defect. Similarly, the appearance of an object in a response supports authorization only when the observable response semantics indicate that the collection is scoped to the corresponding subject and compatible with the target action.
4.2. Evidence credibility and admissibility
The credibility of an evidence item depends on the reliability of the transaction correlation, object extraction, evidence source, and action mapping. Its base credibility is calculated as
subject to
where is the request-response correlation confidence, is the object-extraction and resource-alignment confidence, is the source-specificity coefficient, and is the action-compatibility coefficient. All four factors are normalized to .
The correlation term represents the reliability of the mapping between a request and its corresponding response. The extraction term represents the confidence that an extracted value identifies a business object and has been mapped to the correct resource type. The source-specificity coefficient distinguishes subject-scoped evidence from public, aggregate, or otherwise ambiguous observations. The action-compatibility coefficient prevents evidence associated with one operation from being automatically transferred to another operation.
The weighted geometric form in Eq. (12) ensures that a low-quality factor cannot be fully compensated for by unrelated high-quality factors. The exponents allow the relative importance of the four factors to be calibrated without changing the evidence model.
Siqi Lin et al.: Preprint submitted to arxiv
Page 8 of 57
Table 3 Runtime evidence classes used by the authorization-state model.
| Evidence class | Observable pattern | Default interpretation |
|---|---|---|
| Object creation or assignment | An object identifier is returned by a successful object-creation or object-assignment transaction. | Positive candidate evidence for compatible object–action relations. |
| Subject-scoped collection | An object occurs in a collection whose observable transaction semantics indicate that the collection is scoped to the current subject. | Positive candidate evidence, subject to source-specificity and action compatibility. |
| Direct object operation | An object-specific endpoint returns an apparent business-success outcome. | Provisional evidence only; the response cannot independently confirm authorization. |
| Object-specific denial | The application explicitly rejects an operation on a particular object through a protocol-level or business-level authorization result. | Negative evidence when the denial semantics are sufficiently specific. |
| Object-level revocation | An observable transaction indicates removal, transfer, expiration, or withdrawal of access to a specific object. | Strong negative evidence for the affected object–action relation. |
| Public or aggregate exposure | An object occurs in a public search result, recommendation response, cross-subject aggregate, or unscoped collection. | Ambiguous evidence that cannot directly confirm subject-specific authorization. |
The temporal weight of evidence item at time is defined as
where is the decay coefficient associated with source class , and is the evidence-admissibility indicator.
Evidence is admitted to the authorization-state model only when the transaction and extraction results satisfy the minimum quality requirements:
where and are the minimum correlation and extraction-confidence thresholds.
An inadmissible evidence item can remain in the audit record but cannot change the authorization-support profile. This separation prevents incomplete transactions, unreliable object extraction, and semantically incompatible observations from influencing subsequent authorization decisions.
4.3. Action-specific evidence projection
Let denote the action directly associated with evidence item , and let denote the target action of relation key . Their compatibility is defined by
where is the set of normalized action classes.
Siqi Lin et al.: Preprint submitted to arxiv
Page 9 of 57
The default compatibility rule is
A nonzero cross-action value may be configured only when the application semantics provide explicit and reproducible evidence that an observation associated with one action supports another action. The default rule therefore prevents evidence for a read operation from confirming update, delete, export, or approval authorization.
The endpoint identifier is not included in relation key because different endpoints may operate on the same resource–object pair. Evidence observed through distinct endpoints may support the same relation only when their object references are aligned to the same pair. Endpoint information remains part of the provenance descriptor and is used to evaluate evidence dependence and alignment reliability.
This design permits controlled cross-endpoint aggregation while preventing unrelated endpoints or similarly shaped identifiers from being merged solely because they contain the same literal value.
4.4. Provenance-aware evidence independence
Repeated observations are not necessarily independent. Several candidate identifiers may originate from the same response, and the same object may occur repeatedly within one collection or a tightly coupled transaction sequence. Counting these observations separately would allow one derivation source to accumulate disproportionate authorization support.
The provenance descriptor of evidence item is represented as
where is the transaction identifier, is the response or record identifier, is the normalized endpoint, is the extraction source, and is the provenance-group identifier.
Let map a provenance descriptor to its derivation root. Two evidence items are treated as provenance-dependent when
At minimum, evidence extracted from the same transaction, the same response, or the same collection instance is assigned to the same provenance group. Application-specific grouping rules may additionally associate observations produced by a single multi-step operation when they originate from the same derivation root.
Let denote the set of provenance groups containing admissible evidence for relation key by time . For each group , the representative positive and negative weights are
If a provenance group contains no evidence of the required polarity, the corresponding representative weight is defined as zero.
Using only the maximum weight from each provenance group prevents repeated or correlated observations from being counted as multiple independent confirmations. Evidence from distinct derivation roots can still accumulate support when it originates from provenance-independent transactions.
Siqi Lin et al.: Preprint submitted to arxiv
Page 10 of 57
4.5. Positive and negative support aggregation
For relation key , positive and negative support at time are aggregated across provenance groups as
The evidence-support profile is therefore
The multiplicative-complement aggregation has three relevant properties. First, each additional provenance-independent group can increase support without causing the result to exceed one. Second, repeated evidence from the same derivation root cannot accumulate without bound because only the maximum group-level weight is used. Third, positive and negative support remain separate rather than being collapsed into a scalar whose opposing components may cancel.
The numbers of independently corroborating positive and negative groups are defined as
where is the minimum group-level corroboration threshold and is the indicator function.
The independent-group counts are maintained in addition to the aggregated support. Consequently, one high-credibility transaction can establish strong candidate evidence but cannot independently satisfy a confirmation rule that requires multiple provenance-independent groups.
4.6. Authorization-state interpretation
The lifecycle state of relation key is interpreted using its positive support, negative support, number of independent provenance groups, and explicit lifecycle evidence.
An Unknown relation has insufficient admissible evidence. A Candidate relation has provisional positive support but has not satisfied the confidence and independence requirements for confirmation. A Confirmed relation is supported by sufficiently credible positive evidence from multiple independent provenance groups.
A Conflicted relation contains materially inconsistent evidence. This state applies when positive authorization observations are contradicted by reliable negative evidence, or when the provenance of previously accumulated evidence indicates possible contamination. The Conflicted state characterizes the evidence associated with a specific subject–resource–object–action relation and does not characterize the subject or transaction source itself.
A Revoked relation has been invalidated by an explicit trusted object-level revocation signal or by sufficiently strong independent negative evidence after the relation was established. An Expired relation has lost temporal validity because its supporting evidence has decayed or exceeded the configured lifetime.
The minimum confirmation condition is
where is the positive-support threshold, is the minimum number of independent provenance groups, and is the maximum negative support permitted for confirmation.
A relation satisfies the conflict condition when
Siqi Lin et al.: Preprint submitted to arxiv
Page 11 of 57
where and are the minimum positive and negative support thresholds for identifying material evidence inconsistency.
A relation satisfies the evidence-based revocation condition when
where is the revocation-support threshold and is the required number of independent negative provenance groups. An explicitly trusted object-level revocation signal may trigger revocation without waiting for repeated observations.
Equations (27)–(29) define the evidence conditions associated with the lifecycle states. They do not determine the complete transition precedence. The ordering of conflicting conditions, rollback behavior, expiration, and concurrent state updates is defined by the online procedure in Section 5.
4.7. Model properties
The cross-evidence authorization-state model maintains five principal properties.
No self-confirmation. Evidence derived from a single provenance group cannot independently establish a Confirmed relation because .
Action isolation. Evidence for action cannot support a different action a unless an explicit nonzero compatibility value has been defined.
Bounded provenance contribution. Repeated evidence derived from the same root contributes at most the largest positive and negative weights assigned to its provenance group.
Conflict visibility. Positive and negative evidence are maintained independently. Strong contradictory evidence is therefore represented by a Conflicted state rather than being concealed through scalar cancellation.
Temporal boundedness. Evidence is subject to source-specific temporal decay. Historical observations therefore cannot provide permanent authorization support unless they are refreshed by admissible evidence.
These properties provide the evidence and state foundation for the online update and authorization-decision procedures presented in Section 5.
5. Online state update and authorization decision
5.1. Online processing sequence
The online procedure separates request-time authorization-risk assessment from response-time state learning. This separation ensures that the response generated for a request cannot retrospectively validate the same request.
For each candidate object reference extracted from request , the component constructs a relation key
The set of relation keys associated with request is
At request-arrival time , the component retrieves the authorization states associated with and produces an object-level authorization-risk decision. The decision uses only evidence observed before . If the request is
Siqi Lin et al.: Preprint submitted to arxiv
Page 12 of 57 forwarded, the corresponding response is subsequently correlated with , producing complete transaction at time .
The response-time procedure extracts authorization-relevant evidence from , evaluates its admissibility and provenance, and atomically updates the affected authorization relations. The updated state becomes available only to requests evaluated after the update has been committed.
The complete processing sequence is therefore
where is the request-time decision and is the set of evidence items extracted from transaction .
5.2. Request-time state retrieval
Before evaluating request , the runtime component retrieves the most recent committed state for each . Let
denote the state available immediately before request evaluation, where
Here, the superscript – attached to the state variables denotes the instant before the current request is evaluated and should not be confused with negative evidence support.
Temporal decay is evaluated lazily when a relation is retrieved. For each provenance group associated with relation key , its representative weight is updated to the request-arrival time as
where is the most recent evaluation time of provenance group , and is the decay coefficient inherited from its evidence-source class.
The positive and negative support values are then evaluated using Eqs. (22) and (23). Lazy evaluation avoids periodic scans of the complete authorization-state store while preserving time-dependent evidence validity.
If no state exists for relation key K, the component initializes
The initialization of an Unknown relation does not imply that the requested operation is unauthorized. It indicates only that the runtime component lacks sufficient admissible evidence for the corresponding relation.
5.3. Object-level authorization-risk evaluation
The state of a relation is converted into an object-level risk value through a state-dependent prior and its positive and negative evidence support. For relation key K, the risk value at request-arrival time is defined as
where is the prior risk associated with lifecycle state , controls the contribution of negative evidence, controls the risk reduction contributed by positive evidence, and
Siqi Lin et al.: Preprint submitted to arxiv
Page 13 of 57
The state priors satisfy the ordering
This ordering reflects the evidential meaning of each lifecycle state. A Confirmed relation has the lowest prior risk, whereas a Revoked relation has the highest. A Conflicted relation is assigned a high risk because its positive and negative evidence are materially inconsistent. An Unknown relation is assigned an intermediate prior because the absence of evidence is not equivalent to evidence of unauthorized access.
For a request containing multiple object references, the request-level risk is conservatively aggregated as
The maximum operator prevents a low-risk relation from concealing another object reference with a high-risk authorization state. This rule is particularly relevant to batch requests and structured payloads that contain several object identifiers.
The request-time decision is
where
In passive deployment, the labels in Eq. (41) represent risk categories for logging and retrospective analysis. In inline deployment, they can be mapped to forwarding, secondary verification, rate limitation, or blocking actions according to the configured enforcement policy.
The authorization-state model supplies object-level evidence to the decision function but does not replace the protected application's own authorization mechanism. A low runtime risk therefore indicates that the observed relation is sufficiently supported by external evidence; it does not constitute an authoritative access-control decision.
5.4. Cold-start decision policy
During cold start, a large proportion of relation keys may be in the Unknown state. Treating every unknown relation as a confirmed violation would produce excessive false positives, whereas allowing all unknown relations without observation would provide little protection.
The runtime component therefore supports three deployment policies.
The cold-start policy changes only the enforcement treatment of an Unknown relation. It does not change the evidence required for promotion to Candidate or Confirmed. Consequently, relaxing enforcement during initial learning does not allow a single successful request to confirm its own authorization relation.
Actions with substantial state-changing effects may be assigned higher decision priors than read-only actions. Such configuration is applied to the object action a and does not require inference of subject roles, organizational privilege levels, or identity attributes.
5.5. Response-time evidence generation
After response is observed, transaction is processed by an evidence-extraction function
Siqi Lin et al.: Preprint submitted to arxiv
Page 14 of 57
Table 4 Decision policies for relations without established authorization evidence.
| Policy | Treatment of unknown relations | Intended use |
|---|---|---|
| Observation | The request is forwarded and the resulting transaction is used for evidence collection. | Initial deployment, model calibration, and retrospective validation. |
| Review | The request is forwarded or challenged according to the surrounding gateway policy and is assigned an elevated audit priority. | Gradual activation in environments where blocking unknown relations is not acceptable. |
| Enforcement | Unknown relations associated with designated sensitive actions may be blocked or require additional verification. | Mature deployments with sufficient authorization-state coverage. |
where each
is represented according to Eq. (10).
Evidence extraction includes four operations:
-
correlating the request and response and evaluating ;
-
extracting candidate object references and mapping them to resource–object pairs;
-
normalizing the requested action and evaluating action compatibility;
-
assigning evidence polarity, source class, credibility factors, and provenance information.
The extracted set is divided into admitted, held, and rejected evidence:
with the three subsets being mutually disjoint.
Rejected evidence fails the basic admissibility requirements in Eq. (15) and cannot modify authorization support. Held evidence satisfies the basic quality requirements but is temporarily prevented from promoting an authorization relation because the transaction triggers one or more contamination indicators. Admitted evidence is eligible to update the state model.
Let denote the promotion-gate result for evidence item . Its online admission rule is
Positive evidence with and is placed in . It remains available for audit and later corroboration but does not increase positive authorization support. Negative evidence is not automatically discarded by the positive-evidence promotion gate because doing so could conceal object-specific denials or revocation information.
The construction of contamination indicators and the subsequent release or rollback of held evidence are presented in Section 6. The online procedure in this section treats as a deterministic gate supplied by that mechanism.
Siqi Lin et al.: Preprint submitted to arxiv
Page 15 of 57
5.6. Provenance-group update
For each admitted evidence item , the runtime component identifies its relation key and provenance group . If the group does not exist, a new group record is created. Otherwise, the existing representative weights are first decayed to response-observation time .
For polarity , the positive representative weight becomes
where
is the previous group weight decayed from its last evaluation time .
Similarly, for polarity ,
Evidence with is retained in provenance but does not directly modify either representative support value.
After all admitted evidence items associated with relation key K have been processed, the runtime component recalculates
and the corresponding independent-group counts and .
5.7. Lifecycle transition precedence
Several lifecycle conditions may become true at the same update time. For example, a relation may retain substantial positive support while also receiving reliable negative evidence. The state-transition procedure therefore applies explicit precedence rather than evaluating conditions independently.
Let
denote the state before transaction is committed, and let
denote the resulting state. The transition precedence is shown in Table 5.
Let denote the maximum configured lifetime of positive support for relation key K. The expiration condition is
where is the most recent time at which admissible positive evidence refreshed relation K, and is the minimum positive support required to retain temporal validity.
The resulting state can be expressed as
Siqi Lin et al.: Preprint submitted to arxiv
Page 16 of 57
Table 5
Precedence of online authorization-state transitions.
| Order | Condition | Resulting state | Rationale |
|---|---|---|---|
| 1 | A trusted object-level revocation signal is admitted. | Revoked | Explicit revocation has priority over previously accumulated positive support. |
| 2 | The conflict condition in Eq. (28) is satisfied. | Conflicted | Material positive and negative evidence must remain visible rather than being collapsed into either authorization or denial. |
| 3 | The evidence-based revocation condition in Eq. (29) is satisfied without material positive conflict. | Revoked | Independent negative evidence invalidates the previously supported relation. |
| 4 | The relation has exceeded its lifetime or its positive support has fallen below the expiration threshold. | Expired | Previously established evidence is no longer temporally valid. |
| 5 | The confirmation condition in Eq. (27) is satisfied. | Confirmed | Sufficient positive support has been obtained from independent provenance groups. |
| 6 | Positive admissible evidence exists but confirmation requirements are not satisfied. | Candidate | The relation remains provisional. |
| 7 | No admissible evidence supports another lifecycle state. | Unknown | The component has no sufficient evidence-based relation. |
where applies the precedence in Table 5.
A Revoked relation is not restored by ordinary positive evidence alone. Its reactivation requires explicit and independently verifiable object-level reauthorization evidence. Similarly, evidence that has been held because of contamination indicators cannot promote a relation until the hold condition is resolved. These lifecycle operations are specified in Section 6.
5.8. Atomic state commit
All evidence and state changes caused by one completed transaction are committed atomically for each affected relation key. For relation , the committed record is
where is a monotonically increasing version number.
The update procedure reads version , computes the new provenance, support profile, and lifecycle state, and commits the result only if the stored version remains equal to . Otherwise, the procedure reloads the current state and repeats the update. This compare-and-commit rule prevents lost updates when several responses affect the same relation concurrently.
For a transaction containing several distinct relation keys, updates may be committed independently because the authorization state is maintained per key. If an application operation requires all referenced objects to be updated as one indivisible business unit, the deployment may group the affected keys under the same transaction commit identifier. The grouped commit preserves transaction-level traceability without merging their authorization evidence.
5.9. Out-of-order and delayed responses
Concurrent requests may complete in a different order from their arrival order. The state learner therefore distinguishes request time from response-observation time and retains the original evidence observation time in each provenance record.
Siqi Lin et al.: Preprint submitted to arxiv
Page 17 of 57
State updates are committed in response-observation order, but temporal weights are evaluated using the evidence timestamp . Consequently, a delayed response cannot be treated as newly generated evidence merely because it was processed later.
For two transactions and affecting the same relation, it is possible that
In this case, is committed first. When is subsequently processed, the versioned update procedure recomputes its contribution against the latest committed state. The evidence timestamp remains or the more precise application event time when such a value is available.
A stale response is not permitted to overwrite a more recent trusted revocation or reauthorization record. Lifecycle events therefore carry their own event time and precedence metadata. Detailed handling of revocation, reauthorization, and rollback ordering is presented in Section 6.
5.10. Online update procedure
For each completed transaction , the response-time update procedure performs the following steps:
-
Extract evidence set .
-
Evaluate the basic admissibility indicator for every evidence item.
-
Apply the positive-evidence promotion gate and divide the evidence into admitted, held, and rejected subsets.
-
Group admitted evidence by relation key and provenance root.
-
Retrieve the current versioned state for each affected relation key.
-
Decay existing provenance-group weights to time .
-
Merge admitted positive and negative evidence into the corresponding provenance groups.
-
Recalculate positive and negative support and independent-group counts.
-
Evaluate lifecycle conditions according to the transition precedence in Table 5.
-
Atomically commit the updated relation record and append the evidence decision to the audit trail.
For request-time processing, the component performs the following steps:
-
Extract candidate object references and construct .
-
Retrieve and temporally normalize the state of every relation key.
-
Compute per-relation risk values using Eq. (37).
-
Aggregate the request-level risk using Eq. (40).
-
Produce decision according to the configured decision thresholds and cold-start policy.
-
Record the relation states and versions used for the decision so that the result remains auditable after later state updates.
The request-time procedure does not update positive authorization support. This restriction preserves the temporal separation between decision and learning and prevents the current request from influencing its own authorization assessment.
5.11. Computational complexity
Let denote the number of object-level relation keys extracted from request . With a hash-indexed or key-value-based state store, retrieving one relation record has expected complexity . The expected request-time lookup complexity is therefore
Let denote the number of active provenance groups retained for relation key . Recomputing positive and negative support directly from all active groups requires
Siqi Lin et al.: Preprint submitted to arxiv
Page 18 of 57
time. Updating the representative weight of an existing provenance group requires expected time when groups are hash-indexed. Consequently, the response-time complexity for transaction is
where is the set of relation keys updated by the transaction. The state-store space requirement is
where is the number of retained authorization relations. Provenance groups whose weights have decayed below the retention threshold and whose audit retention periods have elapsed can be compacted or removed. This bounds the active state required for online decisions while preserving longer-term audit records in separate storage.
5.12. Decision and update properties
The online procedure satisfies five operational properties.
Temporal isolation. The decision for request uses only the state committed before . Evidence extracted from response can affect only subsequent requests.
Conservative multi-object aggregation. A high-risk relation cannot be hidden by other low-risk object references in the same request because request risk is aggregated using the maximum relation risk.
Auditable state mutation. Every state change retains the originating evidence, provenance group, previous version, resulting version, and transition condition.
Conflict-preserving updates. Positive evidence does not overwrite negative evidence, and negative evidence does not silently erase positive support. Material inconsistency produces a Conflicted state.
Concurrent-update safety. Versioned atomic commits prevent later transactions from overwriting state changes that were committed after the update procedure began.
These properties connect the cross-evidence state model to runtime authorization-risk decisions. Section 6 further specifies the mechanisms used to identify contamination attempts, quarantine provisional evidence, roll back affected support, and process object-level authorization evolution.
6. Poisoning defense and authorization evolution
6.1. Threats to online authorization-state learning
An online authorization learner derives future decisions from previously observed transactions. This dependency creates a distinct attack surface: an adversary may attempt to cause unauthorized transactions to be incorporated as positive evidence and thereby reduce the risk assigned to subsequent accesses.
The protected application cannot be treated as an authoritative source of authorization evidence because the application may itself contain the object-level authorization defect under analysis. In particular, a successful response to an object-specific request does not prove that the requester was authorized to perform the operation.
The proposed defense considers five object-level contamination patterns.
Siqi Lin et al.: Preprint submitted to arxiv
Page 19 of 57
Table 6 Object-level contamination indicators used by the positive evidence promotion gate.
| Indicator | Interpretation |
|---|---|
| The evidence originates from the response to the same direct object-specific operation whose authorization relation would be promoted. | |
| The response scope is public, aggregate, cross-subject, or insufficiently specific to the observed subject. | |
| The evidence is strongly dependent on previously observed evidence through the same provenance root or tightly coupled derivation chain. | |
| The object relation is newly observed and lacks prior independent creation, assignment, or subject-scoped evidence. | |
| The resource type, endpoint, object identifier, or action alignment is uncertain or inconsistent with existing evidence. | |
| The evidence contradicts reliable negative evidence or an existing revocation record for the same relation. |
-
Self-validation. A transaction attempts to use its own successful response to establish the authorization relation required to justify the same request.
-
Repeated correlated evidence. Multiple observations derived from the same transaction, response, collection, or derivation root are presented as if they were independent confirmation.
-
Public or aggregate exposure. Objects observed in public search results, recommendations, cross-subject collections, or unscoped responses are treated incorrectly as subject-specific authorization evidence.
-
Unsupported object injection. Previously unseen object references are introduced through successful direct operations without independent creation, assignment, subject-scoped collection, or other corroborating evidence.
-
Stale relation retention. Previously valid authorization evidence remains effective after object transfer, access revocation, temporary-access expiration, or other observable object-level authorization changes.
These patterns concern the evidential status of a specific subject–resource–object–action relation. The method assumes that the subject binding supplied by the application or gateway is trusted input and does not infer or modify identity attributes, role membership, or privilege levels.
6.2. Contamination indicators
For positive evidence item , the contamination-indicator vector is defined as
where each component belongs to [0, 1].
The indicator components have the following meanings.
The self-validation indicator is defined conservatively as
where is the set of relation keys evaluated for request . Thus, a direct successful response can be retained as provisional evidence but cannot independently validate the request that generated it.
The scope indicator is derived from the source-specificity coefficient:
The alignment indicator is similarly defined as
Siqi Lin et al.: Preprint submitted to arxiv
Page 20 of 57
The provenance-dependence indicator is
where
measures the derivational dependence between two provenance descriptors. Evidence sharing the same provenance root has dependence one.
Let
indicate whether relation already has an independently corroborated positive provenance group. The novelty indicator is
For evidence produced by an explicit object-creation or assignment transaction, may be set to zero because the creation or assignment event itself explains the appearance of the new object relation.
The contradiction indicator is defined as
where indicates whether a trusted object-level revocation record is active for relation key .
6.3. Contamination score and promotion gate
The aggregate contamination score of positive evidence item is
where
and controls the contribution of indicator .
The multiplicative-complement form preserves the score in and allows several moderate indicators to produce a high aggregate contamination score. A single indicator with value zero does not remove the effect of the remaining indicators.
The positive-evidence promotion gate is
where is the maximum contamination score permitted for immediate admission.
Siqi Lin et al.: Preprint submitted to arxiv
Page 21 of 57
Equation (72) gives absolute priority to two conditions. First, evidence produced by the current direct operation cannot independently promote its own authorization relation. Second, ordinary positive observations cannot override an active trusted revocation record.
A positive evidence item satisfying but is placed in the held set defined in Eq. (45). Holding is different from rejection: the evidence remains traceable and may later be released if independent corroboration resolves the contamination indicators.
Negative and ambiguous evidence are not interpreted through the same positive promotion gate. Negative evidence is evaluated according to its specificity, credibility, provenance independence, and revocation semantics. Ambiguous evidence remains non-promotional.
6.4. Held-evidence quarantine
A held evidence record is represented as
where is the quarantine time, is the hold-expiration time, and is the release status. The release status belongs to
Held positive evidence does not contribute to or while its status is Pending. It may be released only when at least one of the following object-level corroboration conditions is satisfied:
-
a provenance-independent object-creation or assignment event supports the same relation;
-
the same object-action relation appears in a provenance-independent subject-scoped source;
-
multiple independent evidence groups satisfy the configured release credibility and support thresholds;
-
a trusted object-level reauthorization event explicitly restores the relation.
Let
denote the provenance-independent groups observed after evidence item was held. The evidence may be released when
and
where is the minimum credibility of a release group and is the required number of independent groups.
When released, the original evidence timestamp is retained. Therefore, delayed release does not make old evidence appear newly observed and does not bypass temporal decay.
A pending evidence item expires when
without satisfying the release condition. Expired held evidence remains in the audit record but cannot subsequently contribute to authorization support unless it is observed again as a new evidence item.
Siqi Lin et al.: Preprint submitted to arxiv
Page 22 of 57
6.5. Provenance-based rollback
Evidence that was initially admitted may later be determined to be contaminated. For example, an endpoint previously interpreted as subject-scoped may be identified as public, or several apparently independent observations may later be linked to the same derivation root.
Each admitted evidence item and provenance group therefore has an activity flag
Inactive evidence remains auditable but is excluded from support aggregation. The active provenance-group set is
When provenance root is invalidated, rollback sets
and recomputes
The lifecycle state is then re-evaluated according to the transition precedence in Table 5. Let
denote the set of authorization relations whose support depends on provenance group . Rollback is applied to every relation in .
A relation previously in the Confirmed state may become Candidate, Unknown, or Conflicted after rollback. It does not remain confirmed merely because it was confirmed before the contaminated evidence was identified.
A rollback record contains
which preserves the invalidated provenance root, affected relations, rollback time, reason, and state versions before and after correction.
6.6. Explicit revocation
An explicit revocation event is represented as
where is the affected authorization relation, is the event time, is the revocation credibility, and is the revocation provenance.
A revocation event is treated as trusted when
Siqi Lin et al.: Preprint submitted to arxiv
Page 23 of 57
and its observable semantics identify the affected resource, object, subject, and action with sufficient specificity. When admitted, the event sets
and transitions the corresponding relation to Revoked. Previously accumulated positive support is retained for audit but is marked as superseded by the revocation event.
Ordinary successful accesses observed after revocation are held rather than admitted as positive support. This rule prevents an application that continues to allow unauthorized operations from automatically undoing the external revocation state.
Revocation may be action-specific. For example, observable evidence may invalidate update or delete authorization without invalidating read authorization. The affected action set must therefore be determined from the revocation semantics rather than expanded automatically to all actions associated with the object.
6.7. Evidence-based revocation
An explicit revocation signal may not always be externally visible. The model therefore also supports evidence-based revocation through independent negative observations.
Relation K satisfies the evidence-based revocation condition when
or when the corresponding condition in Eq. (29) is met according to the configured transition precedence.
When reliable positive and negative evidence remain simultaneously strong, the resulting state is Conflicted rather than Revoked. This preserves observable disagreement and avoids silently discarding established positive evidence.
Evidence-based revocation is intentionally more conservative than trusted explicit revocation because an object-specific denial can result from transient application errors, incomplete workflows, or temporary business conditions. It therefore requires independent negative provenance groups and configurable persistence.
6.8. Object transfer and reassignment
An object transfer changes the subject-specific authorization relation associated with an object. Let denote the previously supported subject and denote the subject appearing in a reliable reassignment transaction.
The old and new relation keys are
A sufficiently credible transfer event activates a revocation or expiration transition for . It may simultaneously produce positive candidate evidence for .
However, the transfer event does not automatically establish all actions for the new subject. Evidence is projected only to actions explicitly supported by the observable transfer semantics and the action-compatibility function in Eq. (16).
For example, evidence that an object is assigned to a new subject may support object visibility or a designated management action but does not automatically confirm export, deletion, or approval authorization. Each affected object—action relation remains subject to the ordinary confirmation and independence requirements.
The model does not infer organizational role changes or privilege hierarchies from the transfer. It updates only the directly observable object-level relations associated with the transferred object.
Siqi Lin et al.: Preprint submitted to arxiv
Page 24 of 57
6.9. Expiration and temporal invalidation
Authorization evidence may become stale even when no explicit revocation event is observed. For each relation key , let denote the most recent time at which admissible positive evidence refreshed the relation.
The relation reaches temporal expiration when
or when evidence decay reduces its positive support below the expiration threshold:
A relation in the Expired state is not equivalent to a revoked relation. Expiration indicates that the runtime component no longer has sufficiently recent evidence, whereas revocation represents strong evidence that the previously supported relation should no longer be used.
New admissible evidence may return an expired relation to Candidate and later to Confirmed. By contrast, an active revocation record requires explicit reauthorization before ordinary positive evidence can restore the relation.
Different evidence sources may use different lifetimes and decay coefficients. Object-creation or assignment evidence may retain validity longer than a single direct operation, while temporary-access evidence may require a short lifetime.
6.10. Object-level reauthorization
A revoked relation can be restored only through an object-level reauthorization event whose provenance is independent of the evidence that caused the previous revocation.
A reauthorization event is represented as
The event is admissible when
where is the provenance of the active revocation record.
Upon valid reauthorization, the revocation record is closed:
The relation then enters Candidate unless the reauthorization event itself satisfies a configured trusted confirmation rule. Ordinary successful object operations observed after revocation do not qualify as reauthorization because they may be manifestations of the same authorization defect.
Reauthorization remains action-specific. Restoring one action does not implicitly restore other actions on the same object.
6.11. Ordering of lifecycle events
Revocation, transfer, expiration, reauthorization, and ordinary transaction evidence may be observed out of order. Each lifecycle event therefore includes an event time and a processing time.
Let denote the time at which lifecycle event occurred and denote the time at which it was processed. Event ordering is determined primarily by .
A lifecycle event is stale with respect to relation key when
Siqi Lin et al.: Preprint submitted to arxiv
Page 25 of 57 and it does not carry higher-priority trusted semantics than the current lifecycle record. Here, is the event time of the most recent accepted revocation, transfer, or reauthorization event.
A stale ordinary positive observation cannot overwrite a newer revocation. Similarly, a delayed revocation event whose event time precedes a later trusted reauthorization is retained for audit but does not reactivate the revoked state.
When event times are unavailable or unreliable, the method uses processing order conservatively and assigns the resulting relation to Conflicted when incompatible high-credibility lifecycle events cannot be ordered reliably.
6.12. Bounded contamination influence
The provenance and promotion mechanisms limit the effect of contaminating transactions.
Single-transaction bound. A single transaction contributes to at most one representative positive and one representative negative weight per relation and provenance group. Repeating identifiers within the same response therefore cannot increase the independent-group count.
Self-validation exclusion. A direct operation response associated with the current request has and cannot pass the immediate promotion gate. It may remain held, but it cannot confirm the same relation without later independent corroboration.
Public-source exclusion. Evidence from a source with insufficient subject specificity has a high scope indicator and cannot independently confirm subject-specific authorization.
Revocation priority. An active trusted revocation record prevents ordinary positive transactions from restoring the relation.
Rollback completeness. Invalidating provenance root causes every relation in to be recomputed without the affected group.
These bounds do not guarantee that all authorization evidence is correct. They ensure that commonly observable contamination patterns cannot silently and irreversibly promote authorization states through unlimited repeated observations.
6.13. Defense processing procedure
For each positive evidence item , the defense procedure performs the following operations:
-
compute contamination indicators ;
-
compute aggregate contamination score ;
-
evaluate the promotion gate ;
-
admit, hold, or reject the evidence according to Eqs. (15), (46), and (72);
-
create a quarantine record for held evidence;
-
periodically or event-triggeredly evaluate independent corroboration for pending held evidence;
-
release, reject, or expire held evidence according to its corroboration and lifetime;
-
invalidate affected provenance groups when contamination is confirmed and recompute dependent authorization relations.
For each lifecycle event, the procedure performs the following operations:
-
identify the affected resource–object–action relations;
-
evaluate event credibility, specificity, provenance, and event time;
-
compare the event with the current lifecycle record;
-
apply revocation, transfer, expiration, or reauthorization semantics;
-
atomically commit the resulting relation states and append the lifecycle event to the audit trail.
The defense mechanisms preserve the same relation key used throughout the authorization-state model. They do not introduce separate identity, role, or organizational privilege states.
Siqi Lin et al.: Preprint submitted to arxiv
Page 26 of 57
Table 7 Main components of the Python prototype.
| Component | Implementation | Responsibility |
|---|---|---|
| Request parser | FastAPI request handlers and configurable extraction rules | Extracts the trusted subject context, tenant, resource identifiers, endpoint, and action class. |
| Transaction processor | HTTPX asynchronous client and transaction identifiers | Forwards requests, receives upstream responses, and correlates each response with its originating request. |
| Cross-evidence learner | Python classes and dictionary-based provenance groups | Evaluates evidence quality, polarity, provenance dependence, temporal weight, and positive-evidence promotion conditions. |
| Authorization state manager | In-memory dictionaries and thread synchronization | Maintains relation records, lifecycle states, held evidence, revocation records, and rollback dependencies. |
| Runtime risk detector | State-dependent risk calculation | Aggregates object-level risks and produces Allow, Review, or Block decisions. |
6.14. Defense properties
The proposed defense provides six principal properties.
Non-self-validating learning. A successful direct operation cannot immediately confirm the authorization relation required for that operation.
Dependence-aware corroboration. Repeated observations sharing the same derivation root do not satisfy independent evidence requirements.
Quarantined uncertainty. Potentially useful but contamination-prone evidence is held rather than being treated immediately as either trusted support or permanent rejection.
Reversible learning. Admitted evidence remains connected to its provenance, allowing affected authorization states to be recomputed when a source is invalidated.
Lifecycle precedence. Trusted revocation, reauthorization, transfer, and expiration events are processed according to explicit temporal and semantic precedence.
Action-bounded evolution. Changes to one object-level action do not automatically modify other actions associated with the same object.
These properties complete the state-learning and defense model. The following section describes the prototype implementation and the runtime mechanisms used to realize the proposed procedures.
7. Prototype Implementation
7.1. Prototype Architecture
A lightweight prototype was implemented to validate the proposed cross-evidence authorization state learning method. The prototype is written in Python and adopts a single-process reverse-proxy architecture. Its implementation objective is to realize the request-time risk assessment and response-time evidence-learning workflow described in Sections 3–6, rather than to reproduce a complete production-grade Web application firewall.
The prototype contains five logical components: request parsing, request-response processing, cross-evidence learning, authorization state management, and runtime risk detection. These components are implemented as modules within one Python application and share an in-memory authorization-state store. FastAPI provides the HTTP interface, while HTTPX forwards requests to the upstream application. The implementation does not require Redis, a relational database, or independently deployed services.
Table 7 summarizes the implementation mapping.
The prototype was executed with Python 3.13.5, FastAPI 0.128.2, and HTTPX 0.28.1. The authorization state is maintained in process memory using Python dictionaries. Evidence and state-transition events are exported as JSON
Siqi Lin et al.: Preprint submitted to arxiv
Page 27 of 57
Table 8 Default HTTP method to action mapping in the prototype.
| HTTP method | Action class |
|---|---|
| GET | read |
| POST | create |
| PUT, PATCH | update |
| DELETE | delete |
| Other configured methods | other |
Lines (JSONL), while request-level labels and prediction results are exported as CSV files for subsequent analysis. This arrangement keeps the experimental implementation reproducible without introducing an external storage service.
The proxy is positioned at an observation point where application-layer HTTP requests and responses are available. The target application remains unchanged. In the controlled implementation, an upstream authentication component supplies the subject context through the X-Authenticated-User header, and the tenant context is supplied through X-Tenant. These headers are treated as trusted context only when inserted by the observation environment. A real deployment must remove client-supplied copies and inject the values after authentication; otherwise, the subject binding assumption in Section 3.4 would not hold.
The processing sequence follows the temporal separation defined in Section 5. The proxy first extracts relation keys and evaluates the state available before the current request. If the request is forwarded, the upstream response is subsequently correlated with the request and processed by the evidence learner. Evidence obtained from the response is therefore unavailable to the decision that preceded that response.
7.2. Request–Response Processing
The request parser extracts the information required to construct the relation keys in Eq. (31). In the current prototype, document identifiers can be obtained from configured URI path patterns, query parameters, and JSON request-body fields. The configured field names include object_id, document_id, and resource_id; batch identifiers can be supplied through object_ids and document_ids. Generic fields such as id are not interpreted as object identifiers without an application-specific mapping, since they may represent users, sessions, or unrelated entities.
The current adapter uses document as its resource class. Additional resource classes can be introduced through route and field mappings without changing the authorization-state model. The HTTP method is mapped to an action class using the default mapping shown in Table 8. Application-specific operations, such as export or approval, require explicit endpoint mappings and are not automatically merged with read or update operations.
For each incoming request, the proxy generates a unique transaction identifier. The identifier is retained during upstream forwarding and response processing, thereby providing an explicit correlation reference for the resulting transaction. When a request contains multiple object identifiers, the parser constructs one relation key for each identifier while retaining the common transaction context.
Before forwarding, the proxy retrieves the current state of each relation key and invokes the risk detector. A request classified as Block is rejected locally with an HTTP 403 response. A request classified as Review is forwarded in the initial monitoring configuration and is marked with the runtime decision and risk value in the response headers. An Allow request is forwarded without additional intervention. This distinction permits the same learning component to be evaluated in observation and enforcement configurations.
After receiving the upstream response, the transaction processor extracts the available protocol-level information and applies configured response-semantic rules. A successful HTTP status code is not considered sufficient evidence of authorization. In particular, a successful direct object operation is represented as provisional positive evidence and is passed to the contamination gate as a direct operation observation.
The current HTTP adapter implements two principal response extraction paths. First, successful responses to object-specific operations generate direct-operation evidence for the corresponding subject–resource–object–action keys. Second, a configured subject-scoped collection endpoint, represented by /api/me/documents in the controlled implementation, generates collection evidence for the returned object identifiers. The latter is associated with the subject context of the request and is assigned a separate provenance root for each returned object. Object-assignment,
Siqi Lin et al.: Preprint submitted to arxiv
Page 28 of 57 creation, explicit revocation, and reauthorization events use the same evidence interface and can be supplied by application-specific response mappings or controlled experimental event generators.
Responses generated locally by the proxy are excluded from evidence extraction. This prevents a locally generated blocking response from being interpreted as an observation of the target application's authorization behavior. Similarly, transactions for which the subject binding, object extraction, or request-response correlation is insufficient are retained for diagnostic purposes but do not promote authorization states.
7.3. Cross-Evidence Learning Engine
The cross-evidence learning engine implements the evidence representation and aggregation procedures defined in Section 4. Each evidence item is represented by a Python data object containing the tenant, subject, resource type, object identifier, action, source class, polarity, credibility value, observation timestamp, and provenance root. Additional flags identify direct operations, public-scope observations, explicit revocation, and explicit reauthorization.
Evidence quality is first calculated using the geometric aggregation in Eq. (12). The prototype uses equal exponents of 0.25 for the four credibility factors; correlation and extraction confidence are supplied by the transaction correlator and parser, while source specificity and action compatibility are assigned by the configured evidence and action mappings. The minimum admissibility threshold is set to 0.60. Evidence below this threshold is rejected from support aggregation but remains identifiable in the experimental audit trail. For admitted evidence, the learner calculates positive and negative support separately and groups observations by their provenance root.
Within each provenance group, the maximum effective positive weight and maximum effective negative weight are retained. Repeated observations from the same derivation root therefore do not increase the independent-group count. The support values are recalculated using the multiplicative-complement aggregation in Eqs. (22) and (23). Temporal decay is applied when group weights are evaluated, using the evidence timestamp and the configured decay coefficient.
Positive evidence is passed through the contamination gate before it can modify the active support profile. The gate evaluates self-validation, source scope, provenance dependence, relation novelty, alignment confidence, and conflict with an active revocation record. The indicator weights used by the prototype are 0.35, 0.25, 0.15, 0.10, 0.10, and 0.05, respectively. Their aggregate score is calculated according to Eq. (70), and the immediate-promotion threshold is set to 0.50.
Two conditions are enforced independently of the aggregate score. A successful direct object operation cannot immediately promote the authorization relation that was evaluated by that operation, and public or aggregate observations cannot independently establish subject-specific authorization. Such evidence is retained in a quarantine collection with its original provenance and contamination indicators.
Held positive evidence can be released only after the corresponding relation has obtained sufficient corroboration from at least two admitted, provenance-independent positive groups, the positive-support threshold has been reached, the relation remains in the Confirmed state at the release timestamp, and no active revocation, expiration, or material negative conflict remains. Public-scope evidence is not released as subject-specific evidence. When held evidence is released, its original observation timestamp is preserved so that quarantine does not reset its temporal age.
Negative evidence is evaluated separately. An object-specific denial can increase negative support, while a trusted explicit revocation event can invalidate the affected relation immediately when its credibility is at least 0.90 and its object-level scope is sufficiently specific. This separation prevents the positive-evidence promotion gate from suppressing potentially important negative authorization evidence.
The learner also implements provenance-based rollback. Each admitted group is indexed by its provenance root, and a reverse lookup identifies the relation records that depend on a given root. When a root is invalidated, the corresponding group is deactivated and all affected positive and negative support values are recalculated. Historical audit events are retained, allowing the resulting state correction to be traced to the evidence that was removed.
7.4. Authorization State Management
The authorization state manager stores each relation under the composite key
consistent with Eq. (9). A Python dictionary maps each key to a relation record. Each record contains its lifecycle state, provenance-group dictionary, held-evidence collection, revocation timestamp, latest positive-evidence timestamp, and monotonically increasing version number. A separate audit list records evidence admission, rejection, quarantine, release, revocation, and rollback events.
Siqi Lin et al.: Preprint submitted to arxiv
Page 29 of 57
Each provenance-group record stores the representative positive and negative weights, their most recent evaluation timestamps, and an activity flag. The support profile is calculated on demand rather than by periodically scanning the entire state store. This lazy evaluation avoids a background expiration task and allows the current confidence values to be obtained when a relation is queried or updated.
The state-transition implementation follows the precedence defined in Table 5. The prototype uses a positive-support threshold of 0.75 and requires at least two independent positive groups, each with an effective weight of at least 0.60, before a relation can enter the Confirmed state. A relation becomes Conflicted when positive support is at least 0.35 and negative support reaches 0.55. Evidence-based revocation requires negative support of at least 0.80 from at least two independent negative groups. An explicit trusted revocation event takes precedence over ordinary evidence accumulation.
The relation lifetime is configured as 100,000 timestamp units in the controlled implementation, and the default temporal decay coefficient is . These values are implementation defaults for the reported controlled experiment, not universal parameters for all Web applications. Their operational values should be calibrated against the transaction rate, expected authorization lifetime, and evidence-source characteristics of the target application.
When a trusted revocation is accepted, the previously accumulated positive support is superseded while the historical evidence events remain in the audit record. Ordinary successful operations cannot restore the revoked relation. A subsequent trusted reauthorization event closes the active revocation record and starts a new candidate relation; the old positive support is not automatically reinstated. Further independent evidence is required for confirmation.
State mutations are protected by a process-level reentrant lock. This prevents concurrent request handlers from interleaving modifications to the same in-memory structures. The version number is updated when lifecycle transitions, revocation, or rollback operations change the relation record. This synchronization is sufficient for the single-process experimental prototype; distributed consistency and multi-instance state replication are outside its scope.
The state store is intentionally volatile. Restarting the prototype clears the active in-memory authorization state. JSONL files preserve the experimental evidence and state-transition history, but the current prototype does not implement automatic restoration of a live state store from those files. Each controlled experiment therefore initializes its state explicitly and records the initialization events to ensure repeatability.
7.5. Runtime Risk Detection
The runtime risk detector uses the lifecycle state and current positive and negative support values to calculate the risk associated with each relation key. The implementation follows the state-dependent risk model in Eq. (37). The default state priors are 0.55 for Unknown, 0.50 for Candidate, 0.08 for Confirmed, 0.82 for Conflicted, 0.98 for Revoked, and 0.65 for Expired. Positive and negative support adjust the risk value according to the state-specific calculation implemented by the detector.
The positive- and negative-support coefficients are set to and , respectively. The review and blocking thresholds are set to 0.40 and 0.75. A relation with insufficient evidence therefore remains subject to review rather than being automatically treated as a confirmed authorization violation. A conflicted or revoked relation receives a high risk value, whereas a confirmed relation receives a low risk value unless sufficiently strong negative evidence changes its state.
For requests containing multiple object references, the detector aggregates the individual relation risks using the maximum operator in Eq. (40). This prevents a low-risk object reference from masking another object reference with a higher authorization risk. Requests without an extractable object reference are not assigned an artificial object-level relation and are passed through the object-level detector without an object-specific decision.
The detector produces three outcomes according to Eq. (41). Allow requests are forwarded, Review requests are forwarded with an elevated audit indication in the monitoring configuration, and Block requests are rejected before reaching the upstream application. The decision is computed exclusively from the state available before the current request is processed. The response generated by the target application is used only for subsequent evidence learning.
For reproducibility, the experimental runner records the generated transaction identifiers, ground-truth labels, predictions from each baseline, and the proposed method's evidence and state-transition events. Request-level data and predictions are exported to CSV, while the proposed method's audit events are exported to JSONL. These outputs provide the implementation-level records required for the experimental comparisons in the following sections.
Siqi Lin et al.: Preprint submitted to arxiv
Page 30 of 57
8. Experimental Methodology
This section specifies the controlled evaluation protocol used to examine the proposed cross-evidence authorization-state learning method. The evaluation is designed around the streaming request–evidence sequence implemented in the preceding prototype-implementation section. It focuses on object-level authorization decisions, the reliability of evidence used to establish authorization relations, and the effect of provenance dependence, evidence quarantine, temporal validity, and authorization lifecycle events. The current preprint uses a deterministic synthetic benchmark generated by the supplied Python code. It does not treat synthetic observations as production traffic or as a substitute for independent application-level validation.
8.1. Evaluation Objectives and Research Questions
The experiments address the following research questions:
-
RQ1: How accurately can the proposed method distinguish legitimate object-level requests from unauthorized BOLA requests when authorization evidence varies in source count, provenance independence, quality, and age?
-
RQ2: How does provenance-aware cross-evidence learning compare with URL-rule, frequency-based, binary allow-set, and single-channel success-based baselines?
-
RQ3: To what extent do provenance-independence checks and quarantine prevent successful but unauthorized object operations from contaminating learned authorization state?
-
RQ4: How does the method behave under delegated access, cold-start conditions, stale or low-quality evidence, public-scope observations, explicit revocation, reauthorization, action escalation, and cross-tenant object references?
-
RQ5: Does the configured object-identifier extractor correctly handle supported URI, query, and JSON formats while rejecting ambiguous or malformed inputs?
The first four questions concern the authorization-state learner and its runtime decisions. RQ5 isolates the input-extraction component because an incorrect object identifier can produce an invalid relation key before the learning mechanism is invoked.
8.2. Benchmark Environment and Synthetic Data Generation
The benchmark is generated by experiment_v2.py using Python's deterministic pseudo-random generator. Five independent seeds, 20261030–20261034, are used. Each seed creates a separate authorization graph and event stream. The benchmark contains three tenants, 100 subjects per tenant, and five documents per subject. Local document identifiers are intentionally reused across tenant namespaces so that the tenant component of the relation key is necessary for correct isolation. Each authorization relation is evaluated through four chronologically ordered requests.
Table 9 reports the per-seed scale and the aggregate size across all five runs. The totals are read directly from the generated run summary rather than entered manually.
For each tenant, the simulator creates owner read relations for all subject–document pairs and owner update relations for the configured subset of documents. It also creates delegated read relations for a deterministic subset of documents. Delegated update or delete permission is not implied by a delegated read grant. Unauthorized relations are generated separately and include horizontal object access, action escalation, cross-tenant object references, and enumeration behavior. The simulator's authorization graph is retained as ground truth and is not passed to the runtime detector.
The simulator assigns HTTP 200 to every generated object request. This setting represents an intentionally vulnerable object endpoint that does not enforce the relevant object-level authorization check. It prevents response status alone from separating legitimate and unauthorized requests and allows the experiment to test whether the learner incorrectly treats a successful operation as proof of authorization.
Siqi Lin et al.: Preprint submitted to arxiv
Page 31 of 57
Table 9 Scale of the deterministic synthetic benchmark.
| Quantity | Per-run setting / mean | Across five runs |
|---|---|---|
| Tenants | 3 | 3 in each run |
| Users per tenant | 100 | 100 per tenant |
| Documents per user | 5 | 5 per user |
| Requests per relation | 4 | 4 per relation |
| Authorization relations | 3,220 | 16,100 |
| Initially authorized relations | 2,700 | 13,500 |
| Static unauthorized relations | 520 | 2,600 |
| Evaluation requests | 12,880 | 64,400 |
| Legitimate requests | 10,560 | 52,800 |
| Unauthorized requests | 2,320 | 11,600 |
| Evidence events | 5,371.6 | 26,858 |
Table 10 Configured evidence profiles for owner relations.
| Evidence profile | Sampling weight |
|---|---|
| Two independent sources | 50% |
| Single source | 10% |
| Correlated sources | 10% |
| Cold start | 10% |
| Noisy, then confirmed | 7% |
| Stale evidence | 5% |
| Public scope | 3% |
| Mid-stream revocation | 5% |
Table 11 Scenario matrix and per-seed request composition.
| Scenario | Requests | Legitimate | Unauthorized | Experimental condition |
|---|---|---|---|---|
| Cold start | 951.2 | 951.2 | 0 | The first requests arrive before the supporting evidence is observed. |
| Correlated sources | 971.2 | 971.2 | 0 | Two observations share one provenance root and are not independent. |
| Cross-tenant object reference | 240 | 0 | 240 | A request uses a locally repeated object identifier under another tenant. |
| Delegated two-source access | 1,200 | 1,200 | 0 | Delegated read access is supported by a grant and a scoped collection result. |
| High-volume enumeration | 640 | 0 | 640 | An attacker touches multiple distinct objects at elevated volume. |
| Horizontal BOLA | 480 | 0 | 480 | A subject requests another subject's object within the same tenant. |
| Low-frequency enumeration | 240 | 0 | 240 | An attacker touches a small number of distinct objects. |
| Noisy, then confirmed | 665.6 | 665.6 | 0 | Low-quality evidence is followed by fresh independent corroboration. |
| Post-revocation access | 240 | 0 | 240 | An access request occurs after the trusted revocation event. |
| Public scope | 301.6 | 301.6 | 0 | A public-scope observation must not establish subject-specific access. |
| Mid-stream revocation | 240 | 240 | 0 | An initially authorized relation is explicitly revoked during the stream. |
| Single source | 957.6 | 957.6 | 0 | Only one positive provenance group is available. |
| Stale evidence | 515.2 | 515.2 | 0 | Previously valid evidence is older than the configured relation lifetime. |
| Two independent sources | 4,757.6 | 4,757.6 | 0 | Owner relation supported by two provenance-independent sources. |
| Vertical action escalation | 480 | 0 | 480 | A subject attempts an action not granted for the object. |
8.3. Evidence Profiles and Scenario Construction
Owner relations are assigned one of eight evidence profiles. The profile weights are fixed in the generator and held constant across seeds; the actual assignment is randomized by each seed. Table 10 lists the configured proportions.
The profiles distinguish independent positive sources from correlated observations, single-source evidence, delayed evidence, noisy evidence, stale evidence, public-scope observations, and relations revoked during the event stream. The attack scenarios are generated independently of the owner profiles. Table 11 lists the resulting scenario categories and their mean request composition per seed. Legitimate and unauthorized counts are derived from the scenario-level evaluation output; the positive class denotes an unauthorized request.
Horizontal BOLA is represented by a subject requesting another subject's document within the same tenant. Vertical or action-level escalation is represented by a subject attempting an action, such as deletion, that is not present in the
Siqi Lin et al.: Preprint submitted to arxiv
Page 32 of 57
Table 12 Compared detection methods and ablation settings.
| Method | Evaluation configuration |
|---|---|
| URL path ruleDistinct-object frequency | Marks requests matching the configured object route without learning authorization state. Uses the number of distinct objects observed for each tenant–subject pair; threshold set to five. |
| Binary AllowSet | Maintains a binary allow set and accepts successful object responses as positive authorization evidence. |
| Single-channel success learner | Promotes a relation after repeated successful object responses, without cross-source corroboration. |
| Cross-evidence without provenance independence | Ablation that counts positive evidence events without grouping correlated provenance roots. |
| Cross-evidence without quarantine | Ablation that disables quarantine for direct-operation evidence. |
| Proposed cross-evidence method | Uses provenance-aware support aggregation, evidence quarantine, temporal decay, lifecycle transitions, and revocation handling. |
relation’s authorization key. Cross-tenant cases deliberately reuse local object identifiers in different tenant namespaces. Low-frequency enumeration uses attackers that touch only a small number of distinct objects, whereas high-volume enumeration uses attackers that touch more objects. These cases separate authorization-state violations from simple request-volume anomalies.
8.4. Ground Truth, Event Ordering, and Leakage Prevention
Ground-truth authorization relations are written to a separate ground_truth_relations.csv file for each seed. The ground truth is derived from the simulator’s explicit authorization graph, including tenant, subject, resource, object identifier, action, and whether the relation is authorized at the beginning of the stream. A relation that is initially authorized but later revoked is labeled as unauthorized only for requests occurring after the revocation event. Static unauthorized relations are tracked separately for the evidence-pollution measurement.
The runtime detector receives a RequestObservation object containing only the request-time fields required for a decision. The object deliberately excludes the ground-truth label, scenario name, and attack-family field. These fields are retained in the evaluation records and joined with predictions only after the detector has made its decision. Evidence-stream records likewise contain no ground-truth or scenario columns. Request identifiers and subject identifiers use opaque formats that do not encode the label or attack category. The validator also checks that no external positive evidence is generated for a statically unauthorized relation.
Events are sorted by timestamp. Before each request decision, the detector ingests only evidence whose timestamp is less than or equal to the request timestamp. The detector then evaluates the request using the current authorization state. The simulated response is observed only after that decision, so evidence derived from the current successful operation cannot retroactively justify the same request. This ordering models the online operation of the proxy and avoids future-evidence leakage.
No conventional random train–test split is used. The method is an online state learner rather than a batch classifier trained on a labeled feature matrix. Each seed creates a fresh graph, evidence stream, and detector state; the five seeds are independent repeated controlled runs used to estimate variability under the simulator’s random profile assignments. Ground-truth labels are used only for post-decision scoring and validation.
8.5. Compared Methods and Ablation Settings
Seven methods are evaluated under the same request ordering and the same per-seed data. The first four provide rule-based, frequency-based, and simplified state-learning baselines. The next two are ablations that remove one of the proposed method’s central safeguards. The final method is the complete cross-evidence implementation. Table 12 summarizes their operational differences.
All methods process the same chronologically ordered requests within each seed. They are reset between seeds. For methods that learn from response outcomes, the response observation is supplied only after the current decision, consistent with the event ordering described above. The frequency detector uses the fixed distinct-object threshold of five. The ablation methods preserve the remaining implementation settings and disable only the named mechanism, allowing the effect of provenance independence and quarantine to be examined separately.
Siqi Lin et al.: Preprint submitted to arxiv
Page 33 of 57
8.6. Evaluation Metrics
The positive class is an unauthorized BOLA request; legitimate requests form the negative class. A Review or Block decision is counted as a risk alert for binary classification, while an Allow decision is counted as a non-alert. This convention measures whether a request is surfaced for intervention, but it does not equate a review decision with a confirmed attack. Operational decision rates are therefore reported separately.
Precision, recall, F1-score, false-positive rate, false-negative rate, and accuracy are calculated as
The Matthews correlation coefficient (MCC) is also reported to account for all four confusion-matrix cells:
To distinguish analyst workload from enforcement behavior, the evaluation reports the proportion of requests assigned Review, Block, and Allow. Scenario-level results are calculated separately for each scenario and seed. For scenarios containing only legitimate requests, FPR is the relevant error measure; for attack-only scenarios, recall is the relevant detection measure. Both are reported for mixed scenarios.
Evidence contamination is evaluated using the unauthorized-relation pollution rate:
Here, the numerator is the number of statically unauthorized relation keys that reach the Confirmed state, and the denominator is the number of relations marked unauthorized at the beginning of the run. Relations that become unauthorized only after an explicit mid-stream revocation are excluded from this denominator and evaluated through the post-revocation request scenario.
8.7. Fixed Parameters and Evidence-Quality Configuration
All state thresholds are held constant across the five seeds. The values below are read from the prototype constructor and the benchmark configuration. They are not optimized against the evaluation labels on a per-seed basis. The frequency threshold is included for the frequency baseline; the remaining values govern evidence admission, state transitions, temporal validity, quarantine, and runtime decisions.
Evidence credibility is computed as a weighted geometric aggregation of correlation confidence, extraction confidence, source specificity, and action compatibility. Equal exponents of 0.25 are used for the four factors in the controlled generator. The source-specific factors are assigned by the simulator according to the evidence type; low-quality evidence is rejected below the minimum admissibility threshold. These values define the benchmark's evidence semantics and should not be interpreted as universally calibrated probabilities for arbitrary applications.
8.8. Parser and Mechanism Validation
The configured object-identifier extractor is evaluated separately from the authorization classifier. The parser benchmark contains 3,300 test cases, including positive cases for URI paths, query parameters, JSON scalar fields, and JSON batch fields, together with negative cases for generic identifiers, malformed JSON, missing object references, and duplicate identifiers. Table 14 reports the generated test composition.
Siqi Lin et al.: Preprint submitted to arxiv
Page 34 of 57
Table 13 Fixed benchmark and authorization-state parameters.
| Parameter | Value | Role |
|---|---|---|
| Frequency threshold | 5 | Distinct-object frequency baseline threshold. |
| Minimum evidence quality | 0.6 | Minimum admissible evidence quality. |
| Confirmation threshold | 0.75 | Minimum positive support for confirmation. |
| Negative conflict threshold | 0.55 | Negative support threshold for a conflict state. |
| Revocation threshold | 0.8 | Negative support threshold for evidence-based revocation. |
| Provenance-group threshold | 0.6 | Minimum effective weight for an independent provenance group. |
| Minimum confirmation groups | 2 | Minimum number of independent positive groups. |
| Quarantine threshold | 0.5 | Contamination score above which positive evidence is held. |
| Review threshold | 0.4 | Risk threshold for a Review decision. |
| Block threshold | 0.75 | Risk threshold for a Block decision. |
| Temporal decay rate | 1e-06 | Exponential temporal-decay coefficient. |
| Relation lifetime | 100000 | Configured relation lifetime in simulator timestamp units. |
Table 14 Object-identifier parser test cases.
| Case type | Samples | Expected identifiers | Test purpose |
|---|---|---|---|
| Duplicate-ID deduplication | 200 | 200 | Repeated identifiers from path and body are deduplicated. |
| Generic ID rejection | 200 | 0 | A generic user or record id must not be misclassified as an object id. |
| JSON batch field | 500 | 1,000 | Multiple identifiers in a configured JSON array field. |
| JSON scalar field | 500 | 500 | Configured scalar identifier in a top-level JSON field. |
| Malformed JSON rejection | 200 | 0 | Malformed JSON must not create an extracted identifier. |
| No object reference | 200 | 0 | A request without an object reference must return an empty extraction. |
| URI path | 1,000 | 1,000 | Object identifier in a configured URI path. |
| Query parameter | 500 | 500 | Object identifier in a configured query parameter. |
Table 15 Mechanism-level regression tests.
| Test | Expected behavior |
|---|---|
| Provenance independence | Repeated observations from one root cannot satisfy the independent-source requirement. |
| Direct-operation quarantine | A successful direct operation cannot validate its own authorization relation. |
| Quarantine release after corroboration | Held evidence is released only after fresh independent corroboration. |
| Stale evidence is not refreshed | A new held operation does not refresh expired positive support. |
| Explicit revocation | A trusted revocation takes precedence and produces a Block decision. |
| Reauthorization requires confirmation | Reauthorization does not restore superseded positive support. |
| Tenant and action isolation | Evidence for one tenant/action does not confirm another tenant/action key. |
| Public-scope evidence remains held | Public-scope evidence remains held from subject-specific promotion. |
| Provenance rollback | Invalidating provenance roots reverses dependent support and state transitions. |
| Low-quality evidence rejection | Evidence below the admissibility threshold is rejected. |
The mechanism regression suite contains 10 deterministic tests. Table 15 lists the behaviors covered by the suite. The dataset validator additionally checks request-ID uniqueness, opaque identifier formats, ground-truth isolation from runtime observations, the absence of unauthorized positive evidence, repeated local object identifiers across tenants, HTTP response consistency, chronological request order, and evidence-stream field isolation. The generated validation summary is reported in Table 16.
8.9. Reproducibility and Scope
The complete benchmark is executed from the experiment package with the command python run_all_v2.py. The pipeline generates the five request and evidence streams, ground-truth relation files, predictions for all compared
Siqi Lin et al.: Preprint submitted to arxiv
Page 35 of 57
Table 16
Dataset-integrity checks across independent seeds.
| Integrity check | Passed runs |
|---|---|
| All target responses use HTTP 200 | 5/5 |
| Chronological request order | 5/5 |
| Evidence stream excludes ground truth | 5/5 |
| Runtime observation excludes labels | 5/5 |
| No positive evidence for unauthorized relations | 5/5 |
| Opaque principal identifiers | 5/5 |
| Opaque request identifiers | 5/5 |
| Repeated local object IDs across tenants | 5/5 |
| Unique request identifiers | 5/5 |
| All checks | 45/45 |
methods, per-seed and aggregate metrics, pollution measurements, parser results, mechanism-test records, data-integrity checks, figures, LaTeX result tables, and this section's LaTeX source. The main outputs are stored under results_v2/; each seed has a separate subdirectory containing requests.csv, evidence_stream.csv, ground_truth_relations.csv, predictions.csv, scenario metrics, and the proposed method's JSONL audit trace.
The recorded software environment is Python 3.13.5, FastAPI 0.128.2, and HTTPX 0.28.1. The fixed seeds are 20261030, 20261031, 20261032, 20261033, 20261034. Re-running the pipeline with the same source code and dependency versions regenerates the deterministic data and classification outputs. Platform-specific execution time is not treated as a cross-machine performance claim in this chapter.
The benchmark is synthetic and controlled. Its ground truth is generated from the simulator's authorization graph rather than independently annotated production traffic. Scenario proportions and evidence-source semantics are simulator assumptions, and the benchmark does not establish generalization to arbitrary Web applications. The current preprint does not include OWASP crAPI, VAmPI, or other independently deployed third-party applications; those experiments are deferred to a subsequent revision and must use independently verified test-account permission matrices. The results should therefore be interpreted as controlled mechanism and baseline evaluations, not as a multi-application field study.
9. Results and Analysis
9.1. Experimental Overview
The proposed cross-evidence authorization-state learning method was evaluated using the deterministic synthetic benchmark described in Section 8. Five independent runs were conducted with random seeds ranging from 20261030 to 20261034. All compared methods processed the same request sequences under identical benchmark conditions.
Across the five runs, the benchmark contained 64,400 object-level requests, including 52,800 legitimate requests and 11,600 unauthorized requests. A total of 26,858 evidence events and 16,100 authorization relation records were generated. Each run used an independently initialized authorization graph and evidence stream.
The evaluation covered seven methods: URL path rule, distinct-object frequency, binary AllowSet, single-channel success learner, cross-evidence without provenance independence, cross-evidence without quarantine, and the proposed cross-evidence method.
All reported aggregate metrics are calculated as the mean and sample standard deviation across the five runs. The classification results follow the convention defined in Section 8.6: both Review and Block are treated as risk alerts, whereas Allow is treated as a non-alert.
9.2. Overall Detection Performance
Table 17 presents the overall detection performance of the seven methods.
The proposed method achieved a recall of 100.00% and an F1-score of 56.63%, representing the highest F1-score among the seven evaluated methods. Its MCC reached 0.512, also exceeding the values obtained by the baseline and ablation methods.
Siqi Lin et al.: Preprint submitted to arxiv
Page 36 of 57
Table 17 Overall BOLA detection performance across five independent synthetic runs. Values are mean ± standard deviation (%). MCC is reported on its original scale.
| Method | Precision | Recall | F1 | FPR | FNR | Accuracy | MCC |
|---|---|---|---|---|---|---|---|
| URL path rule | 18.01 ± 0.17 | 100.00 ± 0.00 | 30.53 ± 0.25 | 100.00 ± 0.00 | 0.00 ± 0.00 | 18.01 ± 0.17 | 0.000 ± 0.000 |
| Distinct-object frequency | 43.75 ± 0.00 | 30.17 ± 0.29 | 35.72 ± 0.20 | 8.52 ± 0.02 | 69.83 ± 0.29 | 80.43 ± 0.17 | 0.252 ± 0.003 |
| Binary AllowSet | 65.28 ± 1.07 | 32.75 ± 0.65 | 43.62 ± 0.77 | 3.83 ± 0.12 | 67.25 ± 0.65 | 84.75 ± 0.10 | 0.388 ± 0.008 |
| Single-channel success learner | 19.16 ± 0.27 | 55.17 ± 0.43 | 28.44 ± 0.36 | 51.14 ± 0.11 | 44.83 ± 0.43 | 50.00 ± 0.00 | 0.031 ± 0.003 |
| Cross-evidence without provenance independence | 53.27 ± 1.15 | 55.17 ± 0.43 | 54.20 ± 0.75 | 10.64 ± 0.39 | 44.83 ± 0.43 | 83.20 ± 0.33 | 0.439 ± 0.009 |
| Cross-evidence without quarantine | 44.91 ± 0.91 | 55.17 ± 0.43 | 49.51 ± 0.70 | 14.87 ± 0.34 | 44.83 ± 0.43 | 79.73 ± 0.29 | 0.373 ± 0.008 |
| Proposed cross-evidence method | 39.50 ± 0.70 | 100.00 ± 0.00 | 56.63 ± 0.72 | 33.65 ± 0.69 | 0.00 ± 0.00 | 72.41 ± 0.60 | 0.512 ± 0.007 |
Compared with the cross-evidence method without provenance independence, the proposed method improved recall from 55.17% to 100.00% and F1-score from 54.20% to 56.63%. MCC increased from 0.439 to 0.512. These results indicate that explicitly distinguishing independent evidence sources improves the ability to identify unauthorized object-level requests under the evaluated conditions.
The comparison with the method without quarantine shows a similar pattern. The complete method achieved an F1-score of 56.63%, compared with 49.51% for the corresponding ablation. Recall increased by 44.83 percentage points.
However, the proposed method also exhibited a relatively high false-positive rate of 33.65%. In contrast, Binary AllowSet achieved a lower false-positive rate of 3.83%, while its recall was only 32.75%. The distinct-object frequency baseline also produced a relatively low false-positive rate of 8.52%, but detected only 30.17% of unauthorized requests.
This comparison demonstrates that the proposed method prioritizes identifying potentially unauthorized requests over minimizing all risk alerts. Its performance advantage is therefore not uniform across every metric. In particular, the improvement in recall is accompanied by a greater number of legitimate requests requiring further examination.
Figure 1 summarizes the F1-score comparison across all evaluated methods. Figure 2 further illustrates the operating-point trade-off between recall and false-positive rate. The proposed method occupies the full-recall operating point, whereas Binary AllowSet achieves a lower false-positive rate at the cost of substantially lower recall.
Siqi Lin et al.: Preprint submitted to arxiv
Page 37 of 57

Figure 1: F1-score comparison across seven detection methods. Bars show the mean across five independent seeds; error bars denote the sample standard deviation.

Figure 2: Recall-FPR operating points for the seven evaluated methods. Each point represents the mean metric values across five independent seeds.
Siqi Lin et al.: Preprint submitted to arxiv
Page 38 of 57
9.3. Operational Decision Distribution
Binary classification metrics do not distinguish between requests requiring manual examination and requests that are directly blocked. To further investigate the operational behavior of the proposed method, the proportions of Allow, Review, and Block decisions are examined separately.
Table 18 presents the decision distribution across all evaluated methods.
The proposed method assigned 43.74% of requests to the Review state, while 54.39% were allowed and 1.86% were blocked.
The high review rate is primarily associated with legitimate relations for which the available evidence does not satisfy the confirmation requirements. Instead of treating insufficient evidence as proof of unauthorized access, the method retains an intermediate decision state.
This behavior is consistent with the intended distinction between authorization confidence and runtime enforcement. A relation that has not accumulated sufficient independent evidence is not automatically promoted to the confirmed state. Consequently, some legitimate requests remain subject to review until additional corroborating evidence becomes available.
The results also indicate that the proposed method does not automatically block every request associated with an authorization risk. Most attack requests are identified through the review mechanism rather than immediate rejection. This distinction is important when interpreting the 100.00% recall reported in Table 17.
9.4. Evidence Contamination and Ablation Analysis
The evidence contamination experiment examines whether successful but unauthorized object operations can cause incorrect authorization relations to enter the Confirmed state.
The pollution rate is calculated using the initially unauthorized relation set, excluding relations that become unauthorized only after an explicit mid-stream revocation.
Table 19 presents the results.
The binary AllowSet and single-channel success learner both reached a pollution rate of 100.00%. This result reflects their reliance on successful object operations or repeated positive observations without sufficient independent authorization corroboration.
The two ablation methods also reached a pollution rate of 100.00%. Removing provenance independence allows correlated evidence events to contribute as separate observations. Removing quarantine allows direct-operation evidence to enter the positive authorization support without the corresponding isolation mechanism.
In contrast, the proposed method achieved a pollution rate of 0.00% in all five runs. None of the initially unauthorized relation keys was promoted to the Confirmed state.
These results support the importance of the two mechanisms in the proposed framework. Provenance independence limits the contribution of repeated observations derived from the same source, while quarantine prevents successful object operations from independently establishing authorization relations.
The combined results also show that the mechanisms address different aspects of evidence reliability. Provenance independence constrains the effective number of independent observations, whereas quarantine controls when potentially contaminated positive evidence can contribute to authorization-state promotion.
The 0.00% pollution rate is specific to the evidence sources and attack patterns represented in this benchmark. Figure 5 provides a visual comparison of the pollution rates across the baseline, ablation, and proposed methods.
9.5. Scenario-Level Performance Analysis
To examine the behavior of the proposed method under different authorization conditions, scenario-level metrics were calculated independently for each seed and subsequently aggregated.
Table 20 reports the results for the proposed method. For legitimate-only scenarios, the false-positive rate is reported. For unauthorized-only scenarios, recall is reported. Review and block rates are included to distinguish risk identification from direct enforcement.
Figures 3 and 4 separate the scenario results according to their ground-truth class. The first figure reports false-positive rates for legitimate-only scenarios, while the second reports recall for unauthorized-only scenarios. This separation avoids presenting undefined class-specific metrics as zero.
Siqi Lin et al.: Preprint submitted to arxiv
Page 39 of 57
Table 18
Operational decision distribution across five independent runs. Values are mean ± standard deviation (%).
| Method | Review rate | Block rate | Allow rate |
|---|---|---|---|
| URL path rule | |||
| Distinct-object frequency | |||
| Binary AllowSet | |||
| Single-channel success learner | |||
| Cross-evidence without provenance independence | |||
| Cross-evidence without quarantine | |||
| Proposed cross-evidence method |
Table 19
Unauthorized relation pollution rate across five independent runs.
| Method | Pollution rate (%) |
|---|---|
| Binary AllowSet | |
| Single-channel success learner | |
| Cross-evidence without provenance independence | |
| Cross-evidence without quarantine | |
| Proposed cross-evidence method |
Table 20
Scenario-level results for the proposed cross-evidence method. Request counts are averages per seed.
| Scenario | Requests | Unauthorized | Legitimate | FPR / Recall | Review | Block |
|---|---|---|---|---|---|---|
| Cold start | 951.2 | 0.0 | 951.2 | FPR 50.00% | 50.00% | 0.00% |
| Correlated sources | 971.2 | 0.0 | 971.2 | FPR 100.00% | 100.00% | 0.00% |
| Cross-tenant object reference | 240.0 | 240.0 | 0.0 | Recall 100.00% | 100.00% | 0.00% |
| Delegated two-source access | 1200.0 | 0.0 | 1200.0 | FPR 0.00% | 0.00% | 0.00% |
| High-volume enumeration | 640.0 | 640.0 | 0.0 | Recall 100.00% | 100.00% | 0.00% |
| Horizontal BOLA | 480.0 | 480.0 | 0.0 | Recall 100.00% | 100.00% | 0.00% |
| Low-frequency enumeration | 240.0 | 240.0 | 0.0 | Recall 100.00% | 100.00% | 0.00% |
| Noisy, then confirmed | 665.6 | 0.0 | 665.6 | FPR 50.00% | 50.00% | 0.00% |
| Post-revocation access | 240.0 | 240.0 | 0.0 | Recall 100.00% | 0.00% | 100.00% |
| Public scope | 301.6 | 0.0 | 301.6 | FPR 100.00% | 100.00% | 0.00% |
| Mid-stream revocation | 240.0 | 0.0 | 240.0 | FPR 0.00% | 0.00% | 0.00% |
| Single source | 957.6 | 0.0 | 957.6 | FPR 100.00% | 100.00% | 0.00% |
| Stale evidence | 515.2 | 0.0 | 515.2 | FPR 100.00% | 100.00% | 0.00% |
| Two independent sources | 4757.6 | 0.0 | 4757.6 | FPR 0.00% | 0.00% | 0.00% |
| Vertical action escalation | 480.0 | 480.0 | 0.0 | Recall 100.00% | 100.00% | 0.00% |
Siqi Lin et al.: Preprint submitted to arxiv
Page 40 of 57

Figure 3: False-positive rate of the proposed method on legitimate-only scenarios. Values are means across five independent seeds; error bars denote sample standard deviations.
Siqi Lin et al.: Preprint submitted to arxiv
Page 41 of 57

Figure 4: Recall of the proposed method on unauthorized-only scenarios. Right-side annotations report the mean number of positive requests per seed.
Siqi Lin et al.: Preprint submitted to arxiv
Page 42 of 57
9.5.1. Object-Level Unauthorized Access
The proposed method achieved 100.00% recall in the horizontal BOLA, cross-tenant object reference, and vertical action escalation scenarios.
The horizontal BOLA scenario evaluates unauthorized access to another subject's object within the same tenant. The cross-tenant scenario evaluates requests that reuse local object identifiers across different tenant namespaces. The vertical action escalation scenario examines requests in which the subject attempts an action that is not supported by the corresponding authorization relation.
The results indicate that the composite authorization relation key provides effective isolation under the evaluated tenant, subject, object, and action combinations.
The low-frequency and high-volume enumeration scenarios also achieved 100.00% recall. This suggests that the proposed method can identify unauthorized relations without depending exclusively on a high request-volume threshold.
Importantly, the low-frequency enumeration result indicates that object-level authorization evidence can identify suspicious requests even when the request pattern does not exhibit substantial enumeration volume.
9.5.2. Evidence Sufficiency and Cold-Start Behavior
The legitimate two-independent-source scenario and delegated two-source access scenario both achieved a false-positive rate of 0.00%.
This result indicates that the method can recognize legitimate authorization relations when sufficient independent evidence is available. In particular, delegated access is not automatically treated as invalid merely because the subject is not the original object owner.
However, the single-source and correlated-source scenarios produced false-positive rates of 100.00%. The public-scope scenario and stale-evidence scenario exhibited the same behavior.
The cold-start and noisy-then-confirmed scenarios each produced a false-positive rate of 50.00%.
These results reveal an important characteristic of the proposed state-learning mechanism. When authorization evidence is insufficient, correlated, stale, or outside the subject-specific scope, the method tends to retain the relation in an intermediate state and request further examination.
This conservative behavior reduces the risk of incorrectly confirming authorization, but it also increases the number of legitimate requests requiring review. Therefore, evidence sufficiency and false-positive reduction remain important areas for further optimization.
9.5.3. Revocation and Reauthorization Behavior
The revocation experiments examine the method's response to authorization changes over time.
In the mid-stream revocation scenario, legitimate requests evaluated before the effective revocation produced a false-positive rate of 0.00%.
For requests explicitly generated after revocation, the method achieved 100.00% recall and a 100.00% block rate.
This distinction demonstrates that the method can preserve the validity of previously authorized operations while applying a new enforcement decision after a trusted revocation event.
The reauthorization mechanism is additionally examined by the mechanism-level regression tests. A trusted reauthorization event does not automatically restore superseded positive support. Instead, the relation must obtain new corroborating evidence before it can return to the Confirmed state.
These observations support the use of authorization lifecycle management rather than a permanent binary allow-or-deny representation.
Siqi Lin et al.: Preprint submitted to arxiv
Page 43 of 57

Figure 5: Unauthorized-relation pollution rate across the baseline, ablation, and proposed methods. Values are means across five independent seeds; error bars denote sample standard deviations.
Siqi Lin et al.: Preprint submitted to arxiv
Page 44 of 57
9.6. Parser and Mechanism Validation
The parser benchmark evaluates the configured object-identifier extraction rules independently of the authorization-state learning mechanism.
A total of 3,300 test cases were generated, covering URI path identifiers, query parameters, JSON scalar fields, JSON batch fields, malformed JSON, missing identifiers, generic identifier rejection, and duplicate-identifier deduplication.
Table 21 summarizes the aggregate results.
The parser achieved 100.00% exact-match accuracy under the configured test cases. No false object identifiers or missed expected identifiers were recorded.
This result validates the extraction rules for the supported input formats. It does not imply that the parser can automatically recognize arbitrary object identifiers in previously unseen application schemas. Application-specific field mappings remain necessary when resource identifiers are represented using non-standard names or nested data structures.
The mechanism-level regression suite also passed all 10 tests. These tests covered provenance independence, direct-operation quarantine, quarantine release after independent corroboration, stale evidence handling, explicit revocation, reauthorization, tenant and action isolation, public-scope evidence handling, provenance rollback, and low-quality evidence rejection.
In addition, all 45 dataset-integrity checks passed across the five independent runs. These checks covered request identifier uniqueness, opaque subject identifiers, chronological event ordering, ground-truth isolation, evidence-stream separation, HTTP response consistency, and the absence of externally generated positive authorization evidence for initially unauthorized relations.
Together, these results provide implementation-level evidence that the main components operate according to their configured experimental rules.
9.7. Discussion of Research Questions
The experimental results provide different levels of support for the research questions introduced in Section 8.1.
RQ1: Detection accuracy under heterogeneous authorization evidence.
The proposed method achieved 100.00% recall across the aggregate benchmark and an F1-score of 56.63%. However, its false-positive rate was 33.65%. The results demonstrate that the method can identify the unauthorized requests in the controlled benchmark, but they also reveal the operational cost associated with insufficient authorization evidence.
RQ2: Comparison with baseline methods.
The proposed method achieved the highest F1-score and MCC among the seven evaluated methods. In particular, it outperformed the frequency-based and binary AllowSet baselines in recall. Nevertheless, Binary AllowSet achieved higher precision and a lower false-positive rate. The comparison therefore indicates a trade-off between conservative authorization-state assessment and the minimization of risk alerts.
RQ3: Effectiveness of provenance independence and quarantine.
The complete method achieved a pollution rate of 0.00%, whereas both corresponding ablation methods reached 100.00%. This result supports the importance of provenance-aware aggregation and evidence quarantine in preventing unauthorized relations from being promoted in the controlled benchmark.
RQ4: Behavior under authorization lifecycle and attack scenarios.
The proposed method achieved 100.00% recall in the evaluated horizontal BOLA, cross-tenant reference, action escalation, and enumeration scenarios. It also blocked all explicitly generated post-revocation requests. However, legitimate requests with insufficient or unreliable evidence frequently received a Review decision. This behavior confirms that authorization-state uncertainty remains an important factor in the overall detection results.
RQ5: Reliability of object-identifier extraction.
The configured parser achieved 100.00% exact-match accuracy across 3,300 test cases. This provides evidence that the current extraction rules correctly process the supported URI, query, and JSON formats. Broader validation against independently implemented API schemas is still required.
9.8. Threats to Validity and Limitations
The benchmark is generated by a deterministic simulator. Its authorization graph and ground-truth labels are internally consistent by construction, but they are not derived from independently annotated production traffic. The five
Siqi Lin et al.: Preprint submitted to arxiv
Page 45 of 57
Table 21 Object-identifier extraction results.
| Metric | Result |
|---|---|
| Test cases | 3,300 |
| Exact matches | 3,300 |
| Exact-match rate | 100.00% |
| Precision | 100.00% |
| Recall | 100.00% |
random seeds repeat the experiments under different random initializations; they do not represent five independently developed applications. The evaluation therefore measures the behavior and repeatability of the proposed mechanisms within the current benchmark, rather than their generalization across Web applications.
The prototype also uses configured object-extraction rules, evidence-source mappings, and evidence-quality values. Actual applications may expose identifiers through different request structures and response formats, while the subject scope of returned collections may be difficult to determine from traffic alone. The quality of the learned relations consequently depends on the accuracy of these mappings and on the ability to identify dependencies among evidence sources.
The reported classification metrics count both Review and Block as positive risk alerts. The 100.00% recall therefore measures detection coverage under this definition; it is not the proportion of unauthorized requests automatically blocked. The false-positive rate of 33.65% and review rate of 43.74% also indicate that the current configuration can create a substantial review workload. The evaluation does not include end-to-end proxy latency, throughput, CPU or memory consumption, or multi-instance behavior.
The experiments were conducted on the synthetic benchmark and did not include independently deployed third-party applications such as OWASP crAPI or VAmPI. Evaluating these applications requires controlled test accounts, independently verified permission matrices, and application-side authorization ground truth. These considerations define the scope of the present results and inform the next stage of validation.
9.9. Summary
This section evaluated the proposed cross-evidence authorization-state learning method using five deterministic synthetic benchmark runs comprising 64,400 requests.
The proposed method achieved an aggregate recall of 100.00%, an F1-score of 56.63%, and an MCC of 0.512. Its unauthorized relation pollution rate was 0.00%, compared with 100.00% for the evaluated evidence-promotion ablations.
Scenario-level results demonstrated effective identification of the evaluated object-level authorization violations and correct handling of trusted post-revocation requests. The parser and mechanism regression tests also achieved complete success under their configured test conditions.
At the same time, the false-positive rate of 33.65% and review rate of 43.74% indicate that insufficient authorization evidence can generate substantial additional review workload.
Overall, the experiments provide controlled evidence supporting the feasibility of provenance-aware cross-evidence authorization-state learning. They also identify false-positive reduction, evidence calibration, and independent real-application validation as necessary directions for further investigation.
10. Ablation and Sensitivity Analysis
10.1. Analysis Protocol
This section further investigates the contribution of individual mechanisms and the sensitivity of the proposed cross-evidence authorization-state learning method to its configuration parameters.
The analysis consists of two parts. First, mechanism ablation examines the effects of removing provenance independence and evidence quarantine. Second, parameter sensitivity analysis evaluates how changes in evidence-quality requirements, authorization-confirmation thresholds, independent-source requirements, and temporal parameters affect detection performance.
Siqi Lin et al.: Preprint submitted to arxiv
Page 46 of 57
Table 22
Performance changes caused by removing individual mechanisms.
| Configuration | Δ Recall (pp) | Δ F1 (pp) | Δ FPR (pp) | Δ MCC | Pollution rate (%) |
|---|---|---|---|---|---|
| Without provenance independence | -44.83 | -2.43 | -23.02 | -0.073 | 100.00 |
| Without evidence quarantine | -44.83 | -7.12 | -18.79 | -0.139 | 100.00 |
The ablation experiments reuse the benchmark results described in Section 9. The sensitivity experiments use the same five random seeds, ranging from 20261030 to 20261034. For each parameter setting, the original request and evidence streams are generated once and reused without modification. Only the specified runtime parameter is changed.
A one-factor-at-a-time evaluation strategy is adopted. This design isolates the effect of each parameter while keeping the remaining configuration unchanged. Six parameters are investigated, resulting in 18 parameter settings and 90 seed-setting evaluations.
The baseline configuration follows the implementation in Section 7. Its principal parameters are a minimum evidence quality of 0.60, a confirmation threshold of 0.75, an independent-group threshold of 0.60, a minimum of two independent provenance groups, a relation time-to-live (TTL) of 100000 simulator time units, and a temporal decay coefficient of 10⁻⁶.
For the temporal decay experiment, the relation TTL is fixed at 150000 simulator time units. This setting allows the effect of exponential decay to be examined independently of hard relation expiration.
All reported sensitivity metrics are calculated as the mean and sample standard deviation across the five independent seeds.
10.2. Mechanism Ablation Analysis
The proposed method incorporates two principal safeguards: provenance independence and positive-evidence quarantine. To investigate their individual contributions, two ablation configurations are evaluated.
The first configuration removes provenance-independence control while retaining the remaining cross-evidence mechanisms. The second disables evidence quarantine while preserving the other components.
Table 22 summarizes the changes relative to the complete proposed method.
The removal of provenance independence reduced recall by 44.83 percentage points and F1-score by 2.43 percentage points. Although the false-positive rate decreased, this reduction was accompanied by a substantial loss in unauthorized-request detection capability.
The pollution rate reached 100.00%, indicating that all initially unauthorized relation keys in the evaluated benchmark were incorrectly promoted under this ablation configuration.
This behavior is consistent with the role of provenance grouping. When repeated observations from the same source lineage are counted as separate evidence events, the learner can accumulate apparently sufficient support without obtaining genuinely independent confirmation.
The second ablation produced a larger F1-score reduction of 7.12 percentage points and an MCC reduction of 0.139. Its pollution rate also reached 100.00%.
Without quarantine, successful direct object operations can contribute to positive authorization support without first satisfying the independent confirmation requirements imposed by the complete mechanism. This weakens the separation between evidence indicating that an operation succeeded and evidence establishing that the operation was authorized.
The two mechanisms therefore provide complementary safeguards. Provenance independence controls the statistical contribution of related observations, whereas quarantine controls the admissibility and release conditions of potentially self-validating evidence.
The results suggest that neither mechanism should be considered a substitute for the other. Their combined use is necessary to maintain the intended authorization-state promotion conditions in the evaluated benchmark.
Siqi Lin et al.: Preprint submitted to arxiv
Page 47 of 57
10.3. Parameter Sensitivity Analysis
10.3.1. Minimum Evidence Quality
The minimum evidence-quality threshold determines whether an incoming observation can participate in authorization-support aggregation.
To investigate its influence, the threshold is evaluated at 0.60, 0.95, and 0.98.
The results show that the proposed method maintains identical aggregate performance at thresholds of 0.60 and 0.95. In both configurations, the F1-score is 56.63%, with a false-positive rate of 33.65%.
When the threshold increases to 0.98, the F1-score decreases to 30.53%, while the false-positive rate reaches 100.00%.
This change is associated with the credibility values assigned to the configured evidence sources. The object-assignment source has a credibility of approximately 0.9798, while the subject-scoped collection source has a credibility of approximately 0.9519. Consequently, a threshold of 0.98 rejects both sources from positive-support aggregation.
The result demonstrates that excessively restrictive evidence-admission requirements can prevent legitimate authorization relations from reaching the confirmed state. Although the method continues to identify unauthorized requests, legitimate requests are increasingly assigned to the review state.
Therefore, the minimum evidence-quality threshold should be calibrated against the credibility distribution of the available application-specific evidence sources rather than increased indiscriminately.
10.3.2. Confirmation and Independent-Group Thresholds
The confirmation threshold and independent-group threshold jointly determine whether accumulated evidence is sufficient to establish an authorization relation.
The confirmation threshold is evaluated at 0.60, 0.75, and 0.9995. The independent-group threshold is evaluated at 0.50, 0.60, and 0.96.
For confirmation thresholds of 0.60 and 0.75, the aggregate metrics remain unchanged. However, increasing the threshold to 0.9995 reduces the F1-score to 30.53% and increases the false-positive rate to 100.00%.
This behavior follows from the multiplicative-complement aggregation used by the learner. For the two configured independent evidence sources, the combined positive support is approximately 0.99903. A confirmation threshold above this value cannot be satisfied under the baseline evidence-quality configuration.
A similar effect is observed when the independent-group threshold is increased to 0.96. The credibility of the subject-scoped collection source is approximately 0.9519 and therefore cannot satisfy the group-level requirement. The relation consequently fails to accumulate the required two qualifying independent groups.
These results indicate that the two thresholds control different aspects of authorization confirmation. The confirmation threshold constrains aggregate support, whereas the group threshold constrains the effective contribution of individual provenance groups.
Both parameters must therefore be calibrated jointly with the available evidence-quality distribution.
10.3.3. Minimum Number of Independent Evidence Groups
The minimum number of independent provenance groups directly determines how many distinct evidence lineages are required before an authorization relation can be confirmed.
Three configurations are evaluated: one, two, and three independent groups.
When the requirement is reduced to one group, the F1-score increases to 74.06%, while the false-positive rate decreases to 15.39%. The review rate also decreases from 43.74% to 28.77%.
However, this apparent improvement in classification performance comes at the expense of the intended independent-source confirmation requirement. Single-source and correlated-source observations can now satisfy the confirmation condition.
When the requirement is increased to three groups, the F1-score decreases to 30.53%, and the false-positive rate reaches 100.00%. The configured legitimate evidence profiles generally provide only two independent sources, making the confirmation requirement unattainable for these relations.
The baseline requirement of two independent groups therefore represents the configuration consistent with the evidence structure defined in the current benchmark.
It is important to distinguish the observed classification improvement at one group from an improvement in security assurance. The current synthetic attack generator does not inject independently fabricated, non-direct positive
Siqi Lin et al.: Preprint submitted to arxiv
Page 48 of 57 authorization evidence into unauthorized relations. Direct-operation evidence remains quarantined. Consequently, the zero pollution rate observed in this particular parameter sweep does not establish that a one-group configuration is resistant to more general evidence-poisoning attacks.
The results instead demonstrate that reducing the number of required independent groups improves legitimate-relation coverage under the current data distribution, while weakening the evidence-independence constraint.
10.3.4. Relation Time-to-Live
The relation TTL determines how long previously accumulated positive authorization support remains temporally valid.
Three values are evaluated: 50000, 100000, and 150000 simulator time units.
The results show that TTL values of 50000 and 100000 produce identical aggregate performance. At 150000, the F1-score increases to 60.43%, and the false-positive rate decreases to 28.78%.
The difference is primarily associated with the stale-evidence scenario. Under the original configuration, the corresponding positive observations are older than the configured TTL and therefore cannot establish an active confirmed relation.
Increasing the TTL to 150000 places these observations within the configured validity window. As a result, some previously unconfirmed legitimate relations can again satisfy the confirmation condition.
Although this reduces false-positive alerts in the current benchmark, a longer TTL also extends the period during which historical authorization evidence can remain valid.
Consequently, an increase in F1-score does not necessarily imply stronger authorization security. In real deployments, TTL selection must account for permission-change frequency, object ownership transfer, temporary access expiration, and the reliability of historical evidence.
10.3.5. Temporal Decay Rate
The temporal decay coefficient controls how rapidly the effective contribution of historical evidence decreases over time.
To isolate exponential decay from hard expiration, the TTL is fixed at 150000 simulator time units while the decay coefficient is varied among 0, , and .
At decay coefficients of 0 and , the F1-score remains 60.43%. When the coefficient increases to , the F1-score decreases to 56.63%, and the false-positive rate increases to 33.65%.
The observed change is consistent with the exponential decay function:
where denotes the original evidence weight, is the decay coefficient, and represents the elapsed simulator time.
For stale observations, a larger decay coefficient reduces the effective group weights. When these weights fall below the independent-group threshold, the corresponding evidence groups no longer contribute to the confirmation requirement.
This result demonstrates that temporal decay and group-level credibility thresholds jointly determine the persistence of authorization support.
The decay coefficient should therefore be selected according to the expected lifetime of authorization evidence rather than treated as an independent optimization parameter.
10.4. Overall Sensitivity Results
Table 23 summarizes all 18 parameter settings evaluated in the sensitivity experiments.
Figure 6 provides a visual comparison of the F1-score and false-positive rate under the different parameter settings.
Siqi Lin et al.: Preprint submitted to arxiv
Page 49 of 57
Table 23 Parameter sensitivity results across five independent seeds. Values are mean ± standard deviation (%).
| Parameter | Setting | F1 | Recall | FPR | Review | Pollution |
|---|---|---|---|---|---|---|
| Minimum evidence quality | 0.60 | 56.63 ± 0.72 | 100.00 ± 0.00 | 33.65 ± 0.69 | 43.74 ± 0.60 | 0.00 ± 0.00 |
| Minimum evidence quality | 0.95 | 56.63 ± 0.72 | 100.00 ± 0.00 | 33.65 ± 0.69 | 43.74 ± 0.60 | 0.00 ± 0.00 |
| Minimum evidence quality | 0.98 | 30.53 ± 0.25 | 100.00 ± 0.00 | 100.00 ± 0.00 | 98.14 ± 0.17 | 0.00 ± 0.00 |
| Confirmation threshold | 0.60 | 56.63 ± 0.72 | 100.00 ± 0.00 | 33.65 ± 0.69 | 43.74 ± 0.60 | 0.00 ± 0.00 |
| Confirmation threshold | 0.75 | 56.63 ± 0.72 | 100.00 ± 0.00 | 33.65 ± 0.69 | 43.74 ± 0.60 | 0.00 ± 0.00 |
| Confirmation threshold | 0.9995 | 30.53 ± 0.25 | 100.00 ± 0.00 | 100.00 ± 0.00 | 98.14 ± 0.17 | 0.00 ± 0.00 |
| Independent-group threshold | 0.50 | 56.63 ± 0.72 | 100.00 ± 0.00 | 33.65 ± 0.69 | 43.74 ± 0.60 | 0.00 ± 0.00 |
| Independent-group threshold | 0.60 | 56.63 ± 0.72 | 100.00 ± 0.00 | 33.65 ± 0.69 | 43.74 ± 0.60 | 0.00 ± 0.00 |
| Independent-group threshold | 0.96 | 30.53 ± 0.25 | 100.00 ± 0.00 | 100.00 ± 0.00 | 98.14 ± 0.17 | 0.00 ± 0.00 |
| Minimum independent groups | 1 | 74.06 ± 0.97 | 100.00 ± 0.00 | 15.39 ± 0.65 | 28.77 ± 0.55 | 0.00 ± 0.00 |
| Minimum independent groups | 2 | 56.63 ± 0.72 | 100.00 ± 0.00 | 33.65 ± 0.69 | 43.74 ± 0.60 | 0.00 ± 0.00 |
| Minimum independent groups | 3 | 30.53 ± 0.25 | 100.00 ± 0.00 | 100.00 ± 0.00 | 98.14 ± 0.17 | 0.00 ± 0.00 |
| Relation TTL | 50000 | 56.63 ± 0.72 | 100.00 ± 0.00 | 33.65 ± 0.69 | 43.74 ± 0.60 | 0.00 ± 0.00 |
| Relation TTL | 100000 | 56.63 ± 0.72 | 100.00 ± 0.00 | 33.65 ± 0.69 | 43.74 ± 0.60 | 0.00 ± 0.00 |
| Relation TTL | 150000 | 60.43 ± 0.53 | 100.00 ± 0.00 | 28.78 ± 0.43 | 39.74 ± 0.37 | 0.00 ± 0.00 |
| Decay rate | 0 | 60.43 ± 0.53 | 100.00 ± 0.00 | 28.78 ± 0.43 | 39.74 ± 0.37 | 0.00 ± 0.00 |
| Decay rate | 10⁻⁶ | 60.43 ± 0.53 | 100.00 ± 0.00 | 28.78 ± 0.43 | 39.74 ± 0.37 | 0.00 ± 0.00 |
| Decay rate | 10⁻⁵ | 56.63 ± 0.72 | 100.00 ± 0.00 | 33.65 ± 0.69 | 43.74 ± 0.60 | 0.00 ± 0.00 |
Siqi Lin et al.: Preprint submitted to arxiv
Page 50 of 57

(a) Minimum evidence quality
(b) Confirmation threshold
(c) Independent-group threshold
(d) Minimum independent groups
(e) Relation TTL
(f) Temporal decay rate (TTL = 150000)
Figure 6: F1-score and false-positive rate under six parameter sweeps. Error bars denote sample standard deviations across five independent seeds; dotted vertical lines mark the baseline settings.
Siqi Lin et al.: Preprint submitted to arxiv
Page 51 of 57
The results reveal three main characteristics.
First, the proposed method exhibits a relatively stable operating region around its baseline configuration. Moderate changes in minimum evidence quality, confirmation threshold, and independent-group threshold do not alter the aggregate results. However, once the thresholds exceed the credibility or support available from the configured evidence sources, the performance deteriorates sharply.
Second, the minimum number of independent groups has a substantial influence on legitimate authorization-state confirmation. Reducing the requirement improves classification performance, whereas increasing it beyond the number of available independent sources prevents legitimate relations from reaching the confirmed state.
Third, temporal parameters affect the interpretation of historical evidence. A longer TTL can retain previously expired authorization support, while a higher decay coefficient reduces the effective contribution of older observations. These parameters should therefore be configured together with the expected authorization lifecycle of the target application.
The pollution rate remained at 0.00% across all sensitivity settings. This result is consistent with the current benchmark's attack-evidence construction, in which unauthorized relations do not receive independently fabricated positive evidence and direct-operation observations remain subject to quarantine. It should not be interpreted as proof that every parameter configuration provides equivalent resistance to arbitrary evidence poisoning.
10.5. Implications for Parameter Configuration
The sensitivity experiments provide several practical implications for configuring the proposed method.
The minimum evidence-quality threshold should remain below the credibility of legitimate evidence sources that are required for authorization confirmation. Excessively high thresholds may reject otherwise valid observations before they can contribute to support aggregation.
The confirmation threshold should be selected according to the maximum support that the expected combination of independent sources can provide. A threshold that cannot be reached under the configured evidence distribution results in persistent candidate states and increased review workload.
The minimum independent-group requirement should reflect the actual independence of the available evidence sources. Although reducing the requirement can improve classification metrics, it weakens the intended resistance to correlated observations. The baseline requirement of two independent groups is retained for the current method.
The relation TTL and decay coefficient should be configured according to the expected lifetime of authorization evidence. Historical observations should not remain authoritative indefinitely, particularly in applications involving temporary permissions, frequently transferred objects, or rapidly changing ownership relations.
Finally, the sensitivity analysis uses a one-factor-at-a-time design. Although it identifies the individual effects of the investigated parameters, it does not fully characterize interactions among all configuration variables. A larger factorial experiment would be required to estimate these interactions and identify an application-independent parameter configuration.
10.6. Summary
This section investigated the contributions of provenance independence and evidence quarantine, together with the sensitivity of the proposed method to six configuration parameters.
The ablation results showed that removing either provenance independence or evidence quarantine increased unauthorized relation pollution to 100.00% in the controlled benchmark. Both mechanisms therefore contribute to maintaining reliable authorization-state updates.
The parameter experiments demonstrated that moderate threshold changes can preserve the original detection performance, whereas excessively restrictive confirmation requirements substantially increase false-positive alerts and review workload.
Reducing the minimum number of independent evidence groups improved the classification metrics in the current synthetic benchmark, but weakened the intended evidence-independence constraint. Similarly, increasing relation TTL reduced false-positive alerts in the stale-evidence scenario but extended the validity of historical authorization support.
Overall, the results demonstrate that the effectiveness of cross-evidence authorization-state learning depends not only on the individual learning mechanisms but also on the relationship between evidence quality, source independence, confirmation requirements, and temporal validity.
These findings provide a basis for discussing the applicability, limitations, and deployment considerations of the proposed method in the following section.
Siqi Lin et al.: Preprint submitted to arxiv
Page 52 of 57
11. Discussion
11.1. Interpretation of the Experimental Findings
The experimental results provide evidence that cross-evidence authorization-state learning can improve the detection of object-level authorization violations under the controlled conditions considered in this study. However, the results also reveal an important trade-off between detection coverage and false-positive control.
The proposed method achieved a mean recall of 100.00%, an F1-score of 56.63%, and an MCC of 0.512 across five independent synthetic runs. Its false-positive rate was 33.65%. Compared with the evaluated baselines, the proposed method achieved the highest F1-score and MCC while maintaining complete recall under the benchmark's alert classification rule.
This result should be interpreted together with the decision distribution. In the evaluation, both Review and Block are treated as positive risk predictions, whereas Allow is treated as a negative prediction. Consequently, a request assigned to Review contributes to recall even though it has not been confirmed as an attack and may still be forwarded to the upstream application.
The proposed method generated a mean review rate of 43.74% and a block rate of 1.86%. Therefore, its complete recall does not indicate that all unauthorized requests were automatically blocked. Instead, it demonstrates that the method conservatively identifies the evaluated unauthorized requests for either further inspection or enforcement.
The comparison with the Binary AllowSet baseline illustrates this trade-off. Binary AllowSet achieved a higher precision of 65.28% and a lower false-positive rate of 3.83%, but its recall was only 32.75%. It therefore provides a more restrictive decision boundary but misses a substantial proportion of unauthorized requests.
The proposed method adopts a different operating point. It prioritizes identifying potentially unauthorized relations while preserving uncertainty through the Review state. This behavior is appropriate for a supplementary runtime monitoring component, particularly when false negatives have a higher security cost than additional review operations.
Nevertheless, the observed false-positive rate indicates that the current confirmation and decision policies require further calibration before the method can be used for automatic enforcement in production environments.
11.2. Importance of Provenance-Aware Evidence Aggregation
A central challenge in traffic-side authorization learning is determining whether multiple observations represent genuinely independent evidence.
Repeated successful requests may appear to provide increasingly strong support for an authorization relation. However, these requests may originate from the same session, response, collection operation, or upstream data source. Treating such observations as independent can artificially increase authorization confidence.
The proposed method addresses this problem by grouping observations according to their provenance roots. Within each group, the learner retains the maximum effective positive and negative weights instead of summing repeated observations. This prevents repeated events from the same lineage from independently satisfying the confirmation requirement.
The ablation results support the importance of this mechanism. Removing provenance independence reduced recall to 55.17%, while the unauthorized relation pollution rate reached 100.00% in the corresponding controlled experiment.
The result indicates that evidence quantity alone is insufficient for reliable authorization inference. The origin and dependency structure of evidence must also be considered.
However, provenance independence is not equivalent to statistical independence. Two observations with different provenance identifiers may still depend on the same underlying application database, authentication service, or business event. A production implementation must therefore construct provenance roots according to actual data-generation dependencies rather than merely assign different identifiers to different observations.
This distinction is particularly important in distributed applications, where several endpoints may expose the same underlying authorization information through different interfaces.
11.3. Positive-Evidence Quarantine and State Contamination
The second important finding concerns the separation between successful object operations and valid authorization evidence.
A successful HTTP response demonstrates that the application processed a request and returned a response. It does not independently establish that the requester was entitled to perform the operation.
Siqi Lin et al.: Preprint submitted to arxiv
Page 53 of 57
This distinction is particularly important for BOLA detection because the target application may already contain the authorization defect being investigated. If a successful unauthorized request is immediately converted into positive authorization evidence, subsequent requests from the same subject may be incorrectly classified as legitimate.
The proposed quarantine mechanism prevents direct object-operation evidence from immediately promoting an authorization relation. Such observations are retained as held evidence and can only be released after fresh, independent evidence has established the corresponding relation and the release conditions remain satisfied.
The ablation experiment without quarantine resulted in an unauthorized relation pollution rate of 100.00%. This finding demonstrates the importance of separating operational success from authorization confirmation in the evaluated benchmark.
The quarantine mechanism also preserves the original observation timestamp when held evidence is released. This prevents delayed evidence from being treated as newly generated evidence and avoids unintentionally extending the validity of stale authorization observations.
Importantly, quarantine does not mean that all positive evidence is discarded. Instead, evidence is retained with its provenance, quality, timestamp, and release status. This design provides a traceable mechanism for incorporating previously held observations when sufficient corroboration becomes available.
The current results support this mechanism under the tested synthetic attack conditions. They do not establish resistance to arbitrary poisoning strategies involving compromised independent sources, fabricated application events, or coordinated manipulation of several evidence channels.
11.4. Authorization Lifecycle and Temporal Validity
Authorization relations are dynamic rather than permanent properties of a subject and an object.
A user may initially own a document, subsequently transfer it to another user, receive temporary delegated access, or lose access following an explicit revocation event. A learner that maintains authorization relations indefinitely may therefore produce incorrect decisions even if its initial inference was accurate.
The proposed lifecycle model addresses these changes through provisional and confirmed states, contradiction handling, revocation, reauthorization, expiration, and temporal decay.
The experimental mechanism tests demonstrate that trusted revocation events take precedence over previously accumulated positive support. Reauthorization does not automatically restore the superseded authorization relation; new independent evidence is required before the relation can return to the confirmed state.
This distinction is important because revocation and reauthorization represent changes in the authorization lifecycle rather than ordinary additions to an evidence stream.
The sensitivity experiments further show that temporal parameters influence the persistence of learned authorization relations. Increasing the relation TTL can retain previously expired evidence, whereas a higher decay coefficient reduces the effective contribution of historical observations.
These parameters should be interpreted in the context of application-specific permission lifetimes. For example, a document-management application with frequent ownership transfers may require shorter authorization validity periods than an application with relatively stable resource ownership.
A single universal TTL or decay coefficient is therefore unlikely to be appropriate for all Web applications.
11.5. Deployment Considerations
The proposed method is designed as a supplementary runtime component rather than a replacement for application-side access control.
It can be positioned at a reverse proxy, API gateway, ingress controller, or another observation point where application-layer request and response information is available.
In inline deployment, the component evaluates the authorization state established before the current request is processed. If the request is forwarded, the corresponding response is subsequently used to update the state. This temporal separation prevents the current request from using its own response to establish the authorization state required for its initial decision.
In passive deployment, the same learning mechanism can operate on mirrored traffic or gateway logs. This configuration supports authorization-state learning and retrospective risk analysis without directly affecting request forwarding.
Several deployment conditions must nevertheless be satisfied.
Siqi Lin et al.: Preprint submitted to arxiv
Page 54 of 57
First, subject and tenant identifiers must originate from a trusted authentication or gateway component. Client-supplied identity headers must be removed or overwritten before they are used to construct authorization relation keys. Otherwise, an attacker may manipulate the subject context and invalidate the assumptions of the learning model.
Second, application-specific semantic mappings are required. The current prototype supports configured URI patterns, query parameters, JSON object identifiers, and subject-scoped collection responses. It does not automatically infer the meaning of every endpoint or every field in an arbitrary application.
Third, the observation component must have sufficient application-layer visibility. In deployments where TLS is terminated upstream, the proxy must receive the relevant plaintext request and response information through an authorized interface. If only encrypted traffic metadata is available, the extraction of object identifiers and business outcomes will be limited.
Fourth, the current prototype maintains authorization states in process memory. This implementation is sufficient for controlled experiments but does not provide distributed persistence, multi-instance consistency, or automatic recovery after process termination. A production deployment would require persistent state storage, concurrency control, event ordering, and an appropriate high-availability strategy.
Finally, enforcement policies should distinguish between observation, review, and blocking. A newly encountered or insufficiently supported relation should not automatically be treated as a confirmed security violation. A staged deployment that initially records decisions, evaluates review workloads, and gradually introduces selected blocking rules would reduce operational disruption.
11.6. Future Research Directions
The evaluation scope described in Section 9.8 motivates several directions for further work.
A priority is to evaluate the method on independently developed Web and API applications, including OWASP crAPI and VAmPI. Such experiments should use controlled test accounts and verified permission matrices, with ground truth obtained from application configurations, ownership records, or manually checked test cases. This would allow the method to be assessed against application behavior rather than labels produced by the synthetic generator.
The evidence model should also be examined across resource types and interaction patterns beyond document management. Relevant cases include hierarchical objects, delegated access, nested resources, GraphQL operations, batch requests, and application-specific action semantics. Improving object extraction and semantic mapping for these formats is part of this work.
A further direction is the evaluation of adaptive evidence manipulation. Coordinated poisoning, compromised or correlated sources, delayed attacks, provenance misclassification, and authorization changes during active sessions should be included in the test scenarios. Evidence credibility and promotion thresholds can then be calibrated against observed evidence distributions and the operational costs of false-positive and false-negative decisions.
Runtime evaluation should measure end-to-end latency, throughput, memory consumption, concurrency, and consistency across multiple instances. Persistent state storage, distributed event processing, and failure recovery can be introduced incrementally and assessed under realistic workload conditions.
12. Conclusion
This paper presented a cross-evidence authorization-state learning method for runtime detection of Broken Object Level Authorization (BOLA) in black-box Web applications.
Unlike approaches that rely primarily on URL patterns, request frequency, binary object allowlists, or individual successful responses, the proposed method models object-level authorization as a dynamic subject-resource-object-action relation. It maintains authorization confidence and lifecycle states using heterogeneous runtime evidence while accounting for evidence quality, provenance, source independence, and temporal validity. The method introduces several complementary mechanisms to improve the reliability of authorization-state learning. Evidence credibility and polarity are evaluated separately, correlated observations are grouped by provenance, and repeated observations from the same lineage cannot independently increase confirmation support. Direct object-operation evidence is quarantined to prevent successful but unauthorized requests from validating their own authorization relations. The lifecycle mechanism further supports evidence rollback, explicit revocation, reauthorization, expiration, and temporal confidence decay.
A lightweight Python reverse-proxy prototype was implemented to validate the proposed approach without modifying the target application's source code or requiring an external database service. The prototype separates
Siqi Lin et al.: Preprint submitted to arxiv
Page 55 of 57 request-time authorization decisions from response-time evidence updates and supports configurable extraction of object identifiers from URI paths, query parameters, and JSON request bodies.
The experimental evaluation used a deterministic synthetic benchmark comprising 64,400 requests, 26,858 evidence events, and 16,100 authorization relation records across five independent random seeds. The proposed method achieved a mean precision of 39.50%, recall of 100.00%, F1-score of 56.63%, false-positive rate of 33.65%, and MCC of 0.512. It also achieved a 0.00% unauthorized relation pollution rate under the evaluated benchmark conditions. The ablation experiments further demonstrated that removing provenance independence or positive-evidence quarantine resulted in a 100.00% unauthorized relation pollution rate. The sensitivity analysis showed that authorization-state confirmation depends strongly on the relationship between evidence credibility, independent-source requirements, confirmation thresholds, and temporal validity.
These findings suggest that reliable runtime authorization learning requires more than accumulating successful access observations. It requires explicit control over evidence origin, independence, admissibility, and lifecycle transitions. The results also expose a trade-off between detection coverage and false-positive control. Because both Review and Block are counted as positive risk alerts, the reported 100.00% recall measures detection coverage rather than automatic blocking. The false-positive rate and review workload indicate that decision calibration remains important.
The evaluation scope and validity considerations are discussed in Section 9.8. Further work will extend the evaluation to independently developed applications and more varied runtime conditions. Overall, this study establishes a reproducible framework for learning dynamic object-level authorization states from runtime traffic and provides an initial experimental basis for investigating provenance-aware, contamination-resistant BOLA detection in black-box Web applications.
Data availability
The dataset supporting this study is publicly available on Zenodo at https://doi.org/10.5281/zenodo.23830403. It includes the synthetic request records, authorization evidence, ground-truth relations, prediction results, and experimental summaries. The dataset is released under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
References
Atlidakis, V., Godefroid, P., Polishchuk, M., 2019. RESTler: Stateful REST API fuzzing, in: Proceedings of the 41st International Conference on Software Engineering, IEEE/ACM. pp. 748–758. doi:10.1109/ICSE.2019.00083.
Bau, J., Bursztein, E., Gupta, D., Mitchell, J.C., 2010. State of the art: Automated black-box web application vulnerability testing, in: 2010 IEEE Symposium on Security and Privacy, IEEE. pp. 332–345. doi:10.1109/SP.2010.27.
Cova, M., Balzarotti, D., Felmetsger, V., Vigna, G., 2007. Swaddler: An approach for the anomaly-based detection of state violations in web applications, in: Recent Advances in Intrusion Detection, Springer, Berlin, Heidelberg. pp. 63–86. doi:10.1007/978-3-540-74320-0_4.
Doupé, A., Cova, M., Vigna, G., 2010. Why johnny can't pentest: An analysis of black-box web vulnerability scanners, in: Detection of Intrusions and Malware, and Vulnerability Assessment, Springer, Berlin, Heidelberg. pp. 111–131. doi:10.1007/978-3-642-14215-4_7.
Felmetsger, V., Cavedon, L., Kruegel, C., Vigna, G., 2010. Toward automated detection of logic vulnerabilities in web applications, in: Proceedings of the 19th USENIX Security Symposium, USENIX Association, Washington, DC, USA. pp. 143–160. URL: https://www.usenix.org/legacy/events/sec10/tech/full_papers/Felmetsger.pdf.
Fong, P.W.L., 2011. Relationship-based access control: Protection model and policy language, in: Proceedings of the First ACM Conference on Data and Application Security and Privacy, Association for Computing Machinery, New York, NY, USA. pp. 191–202. doi:10.1145/1943513.1943539.
Hu, V.C., Ferraiolo, D.F., Kuhn, D.R., Schnitzer, A., Sandlin, K., Miller, R., Scarfone, K., 2014. Guide to Attribute Based Access Control (ABAC) Definition and Considerations. NIST Special Publication 800-162. National Institute of Standards and Technology, Gaithersburg, MD, USA. doi:10.6028/NIST.SP.800-162. includes updates as of August 2, 2019.
Huang, Y., Shi, C., Lu, J., Li, H., Meng, H., Li, L., 2024. Detecting broken object-level authorization vulnerabilities in database-backed applications, in: Proceedings of the 2024 ACM SIGSAC Conference on Computer and Communications Security, Association for Computing Machinery, New York, NY, USA. pp. 2934–2948. doi:10.1145/3658644.3690227.
Lin, S., Luo, Y., Zhu, Z., Wang, Y., Qiu, B., 2026. A non-intrusive traffic analysis framework for authorization risk detection and coordinated response in web applications. doi:10.48550/arXiv.2607.16754. arXiv preprint.
Martin-Lopez, A., Segura, S., Ruiz-Cortés, A., 2021. RESTest: Automated black-box testing of RESTful Web APIs, in: Proceedings of the 30th ACM SIGSOFT International Symposium on Software Testing and Analysis, Association for Computing Machinery, New York, NY, USA. pp. 682–685. doi:10.1145/3460319.3469082.
OWASP Foundation, 2023. API1:2023 Broken Object Level Authorization. OWASP API Security Top 10. URL: https://owasp.org/API-Security/editions/2023/en/0xa1-broken-object-level-authorization/.
Siqi Lin et al.: Preprint submitted to arxiv
Page 56 of 57
Park, J., Sandhu, R., 2004. The UCONABC usage control model. ACM Transactions on Information and System Security 7, 128–174. doi:10.1145/984334.984339.
Sandhu, R.S., Coyne, E.J., Feinstein, H.L., Youman, C.E., 1996. Role-based access control models. Computer 29, 38–47. doi:10.1109/2.485845.
Santos Filho, A., Rodríguez, R.J., Feitosa, E.L., 2025. Automated broken object-level authorization attack detection in REST APIs through OpenAPI to colored petri nets transformation. International Journal of Information Security 24. doi:10.1007/s10207-024-00970-5.
Zhang, M., Arcuri, A., 2023. Open problems in fuzzing RESTful APIs: A comparison of tools. ACM Transactions on Software Engineering and Methodology 32, 1–45. doi:10.1145/3597205.
Zuo, C., Zhao, Q., Lin, Z., 2017. AuthScope: Towards automatic discovery of vulnerable authorizations in online services, in: Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, Association for Computing Machinery, New York, NY, USA. pp. 799–813. doi:10.1145/3133956.3134089.
Siqi Lin et al.: Preprint submitted to arxiv
Page 57 of 57