Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2026 Sep 20;26(18):5960. doi: 10.3390/s26185960

Blockchain-Backed Revocation and Yang–Baxter Consistency Screening for Zero-Trust IoT Admission Control

Yair E Rivera-Julio 1,2,*, Esmeide A Leal-Narváez 2, Javier Prieto Tejedor 3
Editor: He Li
PMCID: PMC13611722  PMID: 42817566

Abstract

IoT deployments handle credential hygiene reactively: cloned, replayed, or stale credentials are typically discovered only after misuse, and revocation state is often propagated through centralized lists whose integrity cannot be independently verified. This article introduces the Yang–Baxter IoT Consistency Gateway (YB-IoT-CG), a Zero-Trust admission-control framework that pushes an algebraic layer of credential screening to the edge and anchors security evidence on a modeled permissioned-ledger architecture. YB-IoT-CG operates after conventional secret-based authentication and Yang–Baxter equality is used as an execution-consistency invariant rather than as proof of device identity or message authenticity. Each authenticated message is hashed into a digest and reduced to an algebraic transcript that is verified over two Yang–Baxter traversal paths. Beyond equality checking, chain-proximity metrics inspired by time–memory trade-off analysis, nonce and timestamp freshness heuristics, and contextual risk scoring identify credentials that should be proactively challenged or revoked before telemetry is admitted. The proactive risk component is deterministic and policy-based rather than a learned predictive model. Decisions are batched into Merkle trees whose roots are represented through a permissioned-ledger model, credential revocation is propagated through a modeled on-chain registry, and device identities are bound to W3C Decentralized Identifiers (DIDs) with verifiable credentials. This design provides tamper-evident audit support while keeping ledger interaction off the packet decision path. Validation is based on a controlled Python 3.13.7 packet-level simulation and a parameterized ledger model, not on a physical IoT or live Hyperledger Fabric deployment. Across 60 seeded simulation runs, the complete post-authentication screening pipeline obtained a median incremental decision time of 7.8 μs, 99.4% aggregate decision accuracy for the modeled attack classes, a 0.43% false rejection rate, and a 31.4 ms amortized ledger service-time equivalent per decision for a batch size of 64. The 99.4% value is a property of the composed freshness/context/registry/YB policy and is not a YB-only detection rate; the YB-specific positive guarantee is limited to the isolated fault class of Proposition 7. These results provide simulation-based evidence supporting a lightweight, explainable, auditable, and proactive approach to credential hygiene at the edge.

Keywords: Blockchains, smart contracts, IoT authentication, zero-trust access control, Yang–Baxter equation, proactive credential revocation, Merkle anchoring, decentralized identifiers (DID), permissioned ledgers, edge intelligence, TMTO chains, Brauer configuration algebra, secure telemetry, verifiable audit logs

1. Introduction

A contemporary setup could consist of dozens or more inexpensive microcontrollers operating sensor networks, smart meters, video cameras, actuators, programmable devices, and edge gateways. The devices communicate telemetry and commands to local displays, cloud services, digital representations, and blockchain databases. Therefore, the overall system’s security falls on whether each device can authenticate its identity, link session tokens to a unique random number, and send authenticated data without leaving reusable secrets open [1].

The reactive credential-hygiene problem. Most of the methods used for authentication in IoT depend on some mechanisms such as pre-shared keys, TLS certificates, JSON Web Tokens (JWTs), OAuth-style bearer tokens, device certificates, or lightweight message authentication codes. While these mechanisms are indisputably relevant, they do not solve the lifecycle challenge of weak, copied, expired, or colliding credentials. In many cases, the detection of a compromised credential is carried out through the identification of suspicious telemetry, failed login attempts, identical messages, or human review [2]. Moreover, even when a revocation decision is finally taken, its propagation across distributed gateways is often based on mutable, centralized lists whose integrity cannot be independently verified.

Research gap and design position. The objective of this work is not to replace established cryptographic authentication with an algebraic construction. In particular, Yang–Baxter consistency is not claimed to be superior to elliptic-curve cryptography, MACs, signatures, or certificates, because these mechanisms solve a different problem: they establish cryptographic authenticity from a secret or private key. YB-IoT-CG starts after that lower security layer has successfully verified the credential and adds a small, deterministic pre-admission consistency and risk-governance stage. The research gap addressed here is therefore the design of a low-complexity, explainable, edge-resident layer that can combine authenticated credential state, freshness, context, proactive revocation policy, and verifiable distributed audit without introducing a learning model or a synchronous blockchain operation into the packet path.

From mathematical consistency to post-authentication execution checking. The Yang–Baxter equation (YBE) expresses a consistency condition in which two ordered traversals of the same triple yield the same final state. In YB-IoT-CG this equality is not an authentication criterion and is not claimed to detect an externally modified identifier, token, nonce, or payload when both paths are recomputed correctly. Cryptographic authenticity is established exclusively by the preceding verifier Auth0. The YB stage is retained as a redundant execution-consistency check: under the isolated single-path perturbation model formalized in Proposition 7, a nonzero corruption of one intermediate state produces a path mismatch. Replay, clone, stale-message, and contextual anomalies are handled by the freshness/context/registry policy rather than by Yang–Baxter divergence [3].

The word “authentication” in the preceding architectural description is layered: cryptographic authenticity is supplied by the preceding MAC/signature/certificate verifier, denoted Auth0, whereas Yang–Baxter equality is used only as an additional deterministic execution-consistency invariant. As proved in Section 5, every honestly recomputed external input remains Yang–Baxter consistent for the instantiated map; the positive mismatch guarantee is therefore limited to the declared isolated intermediate-state perturbation model.

Proactive revocation. In addition to the execution-consistency check, the proposed scheme applies a deterministic policy score that combines freshness, context, and an administratively defined endpoint-proximity heuristic. The TMTO-inspired component is used only as a compact indexing and policy mechanism; geometric proximity after hashing/reduction is not asserted to have cryptanalytic or probabilistic significance for credential compromise. If the aggregate score crosses a configured threshold, the gateway challenges or, when corroborating evidence is present, revokes the credential before telemetry admission. Thus, “proactive” denotes pre-admission policy enforcement rather than prediction of compromise [4].

The term proactive is used in a deterministic policy sense. The risk stage does not train a predictor, infer learned labels, or estimate a machine-learning probability of compromise; it applies predeclared endpoint, freshness, and context rules before admission.

Blockchain-anchored trust. The effectiveness of a proactive revocation decision depends solely on the infrastructure that logs and disseminates the decision. When revocation is stored in a local database, an attacker can easily manipulate the revocation history if a gateway is compromised. Additionally, the use of multiple gateways in various locations may cause the gateways to have differing opinions about which credentials are valid. This work therefore treats the ledger as a first-class architectural component, evaluated through a parameterized ledger model rather than as an executed blockchain deployment. Every accept, challenge, or revoke decision is condensed into compact evidence, batched into a Merkle tree [5], and anchored on a permissioned blockchain such as Hyperledger Fabric [6]; revocations are additionally propagated through an on-chain revocation-registry smart contract, and device identities are bound to W3C Decentralized Identifiers (DIDs) with verifiable credentials [7]. The result is a tamper-evident audit architecture for submitted evidence and a convergent published revocation-state model under the stated ledger assumptions, with O(1) logical on-chain payload per decision batch; it does not prove completeness for events suppressed before submission.

Contribution. This article adapts and extends the Yang–Baxter consistency methodology into an IoT- and blockchain-specific framework while preserving the same structural components: state of the art, cryptanalytic foundations, Yang–Baxter traversal, Brauer-algebra interpretation, worked example, Zero-Trust framework, decision algorithms, and performance-evaluation methodology. The contributions are:

  • YB-IoT-CG, a Zero-Trust IoT post-authentication admission gateway that combines conventional authentication, redundant Yang–Baxter execution-consistency checking, deterministic freshness/context policy, and ledger-backed revocation, is proposed.

  • An IoT credential transcript is defined that binds the device identifier, token, nonce, timestamp, firmware state, and telemetry digest.

  • A Yang–Baxter-inspired redundant verification step is formalized for the restricted isolated single-path intermediate-state perturbation class of Proposition 7; it is not presented as a detector of arbitrary externally forged credentials.

  • TMTO endpoint-proximity concepts are recharacterized for proactive credential revocation under constrained edge resources, while the Brauer construction is retained only as a structural/combinatorial descriptor and not as cryptographic entropy.

  • A blockchain-backed architectural design is specified: Merkle-batched audit anchoring on a permissioned ledger, an on-chain revocation-registry smart contract, DID-based device identity binding, and a bounded-staleness synchronization protocol between edge caches and the ledger.

  • Algorithms are provided for access decision, adaptive threshold recalibration, contextual risk governance, Merkle-batch anchoring, and on-chain revocation propagation.

  • IoT- and blockchain-oriented evaluation metrics are defined for the composed post-authentication pipeline, while YB-specific evidence is restricted to the declared fault-injection class; reported latency is incremental post-authentication kernel time rather than end-to-end authentication latency.

The preceding seven contributions are retained. The revision additionally makes their formal scope explicit by (i) publishing the exact non-cryptographic reduction ρq and its pigeonhole boundary; (ii) proving a domain-consistent affine Yang–Baxter family and the precise positive/negative consistency guarantees; (iii) defining bounded freshness, context, risk, and threshold-update functions; (iv) proving authentication-preservation, audit-integrity, revocation-monotonicity, conditional-staleness, and incremental-complexity properties; and (v) distinguishing modeled logical ledger quantities from live-ledger or hardware measurements.

Paper organization. The remainder of the article is organized as follows. Section 2 presents the related work. The threat model and assumptions are defined in Section 3. Section 4 introduces the mathematical foundation. Section 5 presents the YB-IoT-CG protocol, including the consistency scheme, the architecture, and the decision algorithms. Section 6 describes the blockchain-backed architectural design, including the smart-contract data model, Merkle anchoring, DID integration, and the cost model. Section 7 provides the security analysis. The Python-based experimental setup is described in Section 8. Section 9 presents and discusses the simulation results, including blockchain anchoring overhead. Section 10 discusses the limitations of this study, and Section 11 concludes the article.

2. Related Work

IoT authentication has evolved from static shared secrets to certificate-based architectures, lightweight public-key cryptography, device attestation, blockchain-assisted identity, and Zero-Trust access models [2]. In 6G-enabled IoT environments, this evolution has also been connected with access-control mechanisms for highly distributed devices [8]. The literature can be grouped into six directions.

Lightweight authentication. Resource-constrained devices motivate efficient schemes based on hash functions, elliptic curves, physically unclonable functions (PUFs), and symmetric-key protocols [9,10]. Healthcare-oriented authentication studies further emphasize lightweight and anonymity-preserving protection for constrained IoT users [11]. These approaches reduce computation, but many still assume that a key remains valid until explicit expiration or revocation.

Certificate and PKI-based IoT identity. Device certificates and mutual TLS offer strong identity binding [12]. However, certificate lifecycle management is difficult in low-cost IoT deployments. Revocation lists and online certificate status checks are often heavy, delayed, or unavailable when devices operate intermittently.

Blockchain and oracle-based access control. Blockchain-backed identity and smart-contract authorization improve auditability and non-repudiation [13]. Zero-knowledge mutual authentication strengthens privacy in this line [14]. Sidechain-based access and trust mechanisms extend blockchain control for IoT networks [15]. Decentralized identity management with DIDs and verifiable credentials has been demonstrated over IOTA for IoT devices [16], and permissioned platforms such as Hyperledger Fabric provide execute-order-validate architectures suited for consortium IoT deployments [6]. Oracle networks connect external physical data to ledgers. However, most existing stacks focus on identity verification, data correctness, or consensus, and much less on how administratively defined credential-risk indicators can be evaluated before admission, or how a deterministic, explainable pre-admission verdict can be anchored on-chain with bounded cost. No cryptanalytic meaning is assigned to geometric proximity in the reduced state space.

Trusted execution and attestation. TEEs can protect signing operations and generate attestation evidence. Nevertheless, TEEs do not automatically solve weak credential selection, token replay, or collision-prone key evolution. A compromised or stale credential may still be presented to a trusted enclave unless an upstream risk gate rejects it [8].

Machine-learning anomaly detection. ML-based IoT security detects abnormal traffic, device behavior, or telemetry patterns [17]. Such methods are useful but often operate after data has already entered the pipeline. They may also require training data and may produce opaque decisions.

Algebraic and cryptanalytic consistency. The proposed work complements these lines by adding a lightweight algebraic consistency check before credential use. Instead of waiting for behavioral anomalies, the gateway verifies whether the credential transcript respects a Yang–Baxter traversal and whether its digest is near a risky TMTO chain endpoint, and it commits the outcome to a permissioned blockchain for tamper-evident propagation.

Algebraic and cryptanalytic consistency. The broader Yang–Baxter literature is substantially larger than the IoT-authentication subset considered in the comparative table. Set-theoretic solutions, brace-based formulations, and related algebraic constructions establish structural properties such as bijectivity, involutivity, non-degeneracy, and braid consistency [3,18], while Brauer configuration algebras provide a separate combinatorial framework for describing recurrent algebraic structures [19]. These works are mathematically relevant to the foundation of YB-IoT-CG, but they are not direct IoT credential-authentication baselines. Conversely, blockchain-assisted IoT authentication and Zero-Trust access control are already established directions; this work does not claim novelty for that combination itself. Within the literature reviewed for this revision, we did not identify a scheme that uses equality of two Yang–Baxter traversals specifically as a deterministic post-authentication execution-consistency/traceability invariant over authenticated IoT credential metadata and then couples that invariant with freshness/context screening, proactive revocation, and permissioned-ledger audit propagation.

Ali and Al-Sharafi [17] and Basri et al. [20] are cited here before the comparative table because they motivate the two experimental simulator profiles discussed later. Their source papers report, respectively, Random-Forest accuracy of 94% (with LSTM 92%) and 98.9% attack-detection accuracy in the reported source setting; the separate 96.50% and 98.10% values used later are outputs of the common synthetic simulator and are not attributed to these publications.

Comparative synthesis. Table 1 summarizes representative recent contributions from IEEE and MDPI venues related to IoT authentication, blockchain-assisted access control, fog/edge security, Zero-Trust architectures, decentralized identity, and privacy-preserving credential management. The reviewed works show a clear trend toward distributed trust, blockchain-backed auditability, lightweight cryptography, attribute-based access control, zero-knowledge authentication, and quantum-resistant mechanisms. However, most of these approaches focus on identity verification, privacy preservation, access-policy enforcement, or post-event attack detection, and they typically use blockchains as passive audit stores. In contrast, YB-IoT-CG introduces a deterministic algebraic credential-screening layer that evaluates transcript consistency before telemetry admission, uses Yang–Baxter path divergence only as evidence of the declared internal execution inconsistency, while replay/clone/context decisions are explained by the corresponding freshness, context, and registry rules, and actively uses the blockchain as the authoritative substrate for revocation propagation and Merkle-anchored audit evidence with O(1) per-batch storage.

Table 1.

Summarized state of the art on IoT authentication, zero trust, blockchain, edge/fog security, and privacy-preserving access control.

Year Research Title Proposed Solution Main Theorems/Formal Results Tools/Platforms Future Work
2023 TABI: Trust-Based ABAC Mechanism for Edge-IoT Using Blockchain Technology [13] Trust-based ABAC for Edge-IoT supported by blockchain. Formal trust-score and ABAC decision model; security and performance evaluation. Edge-IoT, blockchain, ABAC, trust model. Improve scalability and reduce policy-evaluation overhead.
2024 BSRA: Blockchain-Based Secure Remote Authentication Scheme for Fog-Enabled Internet of Things [12] Blockchain-based remote authentication for fog-enabled IoT. Security analysis against impersonation, replay, and credential misuse. Fog-IoT, blockchain, authentication protocol. Optimize authentication cost and validate larger fog-IoT scenarios.
2024 Privacy-Preserving Scheme With Bidirectional Option for Blockchain-Enhanced Logistics Internet of Things [21] Privacy-preserving access control for logistics IoT using blockchain and encryption. Formal privacy/access-control design with CP-ABE and integrity verification. Blockchain, smart contracts, CP-ABE, logistics IoT. Improve scalability and flexible privacy-preserving queries.
2024 A Zero-Trust Authentication Scheme With Access Control for 6G-Enabled IoT Environments [8] Zero-trust authentication and access control for 6G-IoT. Security and performance analysis using blockchain and lightweight ABE. 6G-IoT, blockchain, ECC, ABE. Reduce storage and computation costs for light IoT nodes.
2024 Blockchain-Enhanced Zero Knowledge Proof-Based Privacy-Preserving Mutual Authentication for IoT Networks [14] Privacy-preserving mutual authentication using ZKP and blockchain. Formal privacy properties: identity hiding, unlinkability, traceability, and mutual authentication. ZKP, permissioned blockchain, IoT authentication. Reduce latency and test high-scale IoT traffic.
2025 Zero-Trust Access Control Mechanism Based on Blockchain and Inner-Product Encryption in the Internet of Things in a 6G Environment [22] Blockchain-based Zero-Trust access control with inner-product encryption. Formal access-control model with reputation, smart contracts, and encryption. Blockchain, smart contracts, IPE, 6G-IoT. Improve storage efficiency and fine-grained dynamic access control.
2025 Blockchain-Based Secure Authentication Protocol for Fog-Enabled IoT Environments [23] Secure blockchain authentication protocol for fog-enabled IoT. BAN logic, RoR model, AVISPA simulation, and DY/CK/eCK analysis. Blockchain, fog-IoT, BAN, RoR, AVISPA. Improve robustness against complex fog-IoT attack models.
2025 Decentralized Identity Management for Internet of Things Devices Using IOTA Blockchain Technology [16] Decentralized IoT identity management using IOTA, DIDs, and VCs. Architectural and experimental validation of DID/VC lifecycle in IoT. IOTA, DIDs, VCs, IOTA Identity, Streams, Stronghold. Optimize cryptography and test scalability in constrained devices.
2025 ZT-IoTrust: A Quantum-Resistant Zero Trust Framework for Secure IoT Access Control [24] Quantum-resistant Zero-Trust IoT access control with federated trust evaluation. LWE/Ring-LWE assumptions, Byzantine tolerance, and experimental validation. Ring-LWE, lattice signatures, federated learning, edge IoT. Improve side-channel resistance and resilience against stronger adversaries.
2025 Blockchain-Integrated Secure Authentication Framework for Smart Grid IoT Using Energy-Aware Consensus Mechanisms [25] Blockchain authentication for smart-grid IoT with energy-aware consensus. Simulation results: high accuracy, low delay, high TPS, and reduced validator energy. Blockchain, DNN, smart-grid IoT, energy-aware consensus. Add fault-tolerant consensus, federated learning, and hardware-in-the-loop tests.
2025 Lightweight Blockchain for Authentication and Authorization in Resource-Constrained IoT Networks [26] Lightweight blockchain for IoT authentication and authorization. Experimental validation of lower energy, latency, and attack-detection capability. Lightweight blockchain, simplified PoS, constrained IoT. Improve interoperability, scalability, and real-device deployment.
2025 Intrusion Detection in IoT Networks Using Machine Learning and Deep Learning Approaches for MitM Attack Mitigation [17] MitM intrusion detection using LSTM, Random Forest, and SVM over IoT network-traffic data. Empirical classifier evaluation; Random Forest reports 94% accuracy and LSTM 92% on the source dataset. LSTM, Random Forest, SVM, prepared IoT network-traffic dataset. Refine the models, explore RF–LSTM hybrid techniques, and address resource constraints for real-time IoT deployment.
2025 Enhancing IoT Security: Assessing Instantaneous Communication Trust to Detect Man-in-the-Middle Attacks [20] IPCTCM for instantaneous communication-trust estimation using E2E delay to detect active MitM attacks. Expected E2E delay is estimated with Kalman filtering and LSTM; the source testbed reports 98.9% attack-detection accuracy. IoT laboratory testbed, Kalman filter, LSTM, E2E-delay measurements. Broaden assessment of the trust model to other communication domains and deployment conditions.

The blockchain-IoT approaches summarized in Table 1, including lightweight PoS-oriented designs, are architectural comparators rather than directly interchangeable packet-level decision kernels. Likewise, ECC, MAC, signature, and certificate mechanisms establish cryptographic authenticity; the proposed Yang–Baxter layer is complementary and post-authentication.

3. Threat Model and Assumptions

3.1. System Model

The system contains a set of IoT devices D={D1,…,DN}, one or more edge gateways G, a cloud or local application service S, a permissioned blockchain network L maintained by consortium peers, and an audit backend A that consumes ledger events. Each device periodically sends a message [1]. Fog-enabled IoT surveys motivate the same edge-to-cloud abstraction [27].

Mi=(di,τi,ni,ti,pi,σi), (1)

where di is the device identifier, τi is the session token, ni is the nonce, ti is the timestamp, pi is the telemetry payload or its digest, and σi is a MAC or digital signature. Each device identifier di is bound to a Decentralized Identifier registered on L [7].

The operational order is compositional. First, the gateway executes standard syntax checks and the lower-layer authentication verifier, denoted Auth0(Mi), using the already provisioned secret, public key, certificate, or equivalent trust anchor [23]. Only messages that pass Auth0 enter the YB-IoT-CG screening layer. The gateway then constructs the canonical screening record

Ci=(di,τi,ni,ti,H(pi),fwi,ctxi), (2)

where fwi is firmware-state evidence and ctxi contains trusted gateway-observed context. The output is

Decision∈{Accept,Challenge,Revoke}, (3)

and every decision produces compact evidence that is queued for Merkle batching, while confirmed revocations are additionally submitted to the modeled on-chain registry (Section 6). Table 2 summarizes the mathematical notation.

Table 2.

Global notation used throughout the manuscript.

Symbol Meaning
Mi IoT message submitted to the gateway.
di Device identifier.
τi Session token.
ni Message/session nonce.
ti, TiG Credential/message timestamp and gateway receipt time, respectively.
pi, H(pi) Telemetry payload and its cryptographic digest.
σi MAC or digital signature verified by the lower authentication layer.
fwi, ctxi Firmware-state evidence and trusted gateway-observed context.
Ci Canonical post-authentication screening record.
hi Full cryptographic digest of the canonical screening record.
ρq(hi)=(ai,bi,ci) Reduction in hi to the operational algebraic state in Zq3.
q, s Algebraic modulus and translation parameter of the Yang–Baxter map.
rs, r12, r23 Pairwise Yang–Baxter map and its actions on coordinates (1,2) and (2,3).
Li, RiYB Final states of the left and right Yang–Baxter traversals.
Rchain, Rfresh, Rctx Chain-proximity, freshness, and contextual risk components.
Ri Aggregate deterministic operational-risk score.
α,β,γ Non-negative risk weights satisfying α+β+γ=1.
θrisk, θrevoke Challenge/risk and corroborated-revocation thresholds.
κi=H(DID(di)) Hashed DID key used by the local revocation cache and ledger registry.
Rcache Local gateway cache of published revocations.
Ei, ℓi, Bj Decision evidence, Merkle leaf, and anchored Merkle-batch root.
B, Tflush, ttx Merkle batch size, maximum flush interval, and modeled ledger commit time.

The gateway verifies standard authentication first or in parallel, but it does not immediately forward the message [23]. The continuous-verification view is consistent with Zero-Trust IoT access control [8]. It constructs an algebraic transcript and runs YB-IoT-CG. The output is

Decision∈{Accept,Challenge,Revoke}, (4)

and every decision produces compact evidence that is Merkle-batched and anchored on L, while revocations are additionally written to an on-chain revocation registry (Section 6).

In the normative execution order used by the revised algorithms, Auth0 is completed before any stateful YB/risk update. The original “first or in parallel” wording above is retained as architectural history, but the security claims and formal propositions refer to the authentication-first control flow of Algorithm 1. Ledger submission is asynchronous and modeled; no synchronous chain operation is required for packet admission. The associated threshold recalibration and contextual decision are given in Algorithms 2 and 3, respectively.

3.2. Adversary Model

The considered adversary may:

  • clone a sensor identifier;

  • replay a previously valid token;

  • forge an intermediate credential field;

  • inject stale nonces or timestamps;

  • attempt to exploit hash truncation or reduction collisions;

  • compromise a low-cost node and reuse its credential in another location;

  • send high-rate authentication attempts to force gateway overload;

  • compromise a single edge gateway and attempt to rewrite or suppress local revocation and audit records.

The assumption is not that the adversary can break the hash function directly or that they control a Byzantine quorum of permissioned blockchain peers. However, they can target operational credential lifecycle loopholes, including weak keys, token reuse, invalid transcript updates, collision-related reductions, and manipulation of security states in stored devices. Studies on remote authentication also indicate an attack vector of replay and misuse of credentials in fog environments and IoT [9]. The goal of a gateway is not to substitute but to complement the cryptographic authentication method with an additional pre-error-scope screen that is proactive, transparent, and demonstrated on ledger [12].

While these assumptions are conditional trust boundaries, they do not imply that the reality holds true and that attackers will never be able to breach them. The loss of authenticity or secrecy is inevitable if the lower hash/MAC/signature/certificate or secret-key layer has failed. Since ledger guarantees only hold true whenever the relevant configured permissioned ledger safety/liveness and authorization assumptions are met, evidence that never reaches the batch cannot be proved with the help of Merkle anchoring even if the gateway is compromised.

3.3. Security Goals

The scheme targets the original six security goals, augmented by an explicit layered-authentication preservation goal:

  1. Layered authentication preservation: No message rejected by the lower secret-based authentication layer can be converted into an accepted message by YB-IoT-CG.

  2. Transcript consistency: Forged intermediate states should fail the Yang–Baxter equality.

  3. Freshness: Replayed or stale nonces should increase the risk score.

  4. Proactive revocation: Credentials near risky chain endpoints should be challenged before use.

  5. Low overhead: The gateway must operate within IoT latency and memory budgets, and on-chain interaction must be amortized.

  6. Auditability: Every rejection or override must be reconstructable from compact signed and Merkle-anchored logs.

  7. Revocation integrity and conditional convergence: Once a revocation is committed and delivered under the stated ledger assumptions, honest gateways converge monotonically to the published revocation state; this does not prevent a compromised gateway from suppressing an event before submission.

3.4. Assumptions and Scope

The proposed framework assumes that the adversary does not directly break the underlying cryptographic hash function, MAC, digital signature, certificate, or secure transport primitive [23], and that the permissioned blockchain L satisfies its standard safety and liveness guarantees under the configured ordering service and endorsement policy [6]. Lightweight blockchain-assisted authentication also motivates careful treatment of credential lifecycles [9]. The considered attack surface is the operational credential lifecycle, including cloned identifiers, stale tokens, replayed nonces, forged intermediate credential states, abnormal credential trajectories, collision-prone reductions, and single-gateway state tampering. Under these assumptions, the purpose of YB-IoT-CG is to detect whether a credential transcript is algebraically consistent, fresh, and operationally acceptable before telemetry is admitted into the IoT application pipeline, and to record the verdict in a tamper-evident form.

YB-IoT-CG is not intended to replace conventional cryptographic authentication, network intrusion detection, firmware attestation, or physical tamper protection [1]. Delay-trust mechanisms remain complementary for communication-level MitM detection [20]. Rather, it operates as an additional credential-hygiene and admission-control layer located at the edge gateway and backed by the ledger. The scope of this work is therefore limited to deterministic credential screening, proactive revocation, contextual risk assessment, blockchain-anchored auditability, and explainable rejection of inconsistent credential transcripts. Network-wide malware detection, semantic validation of payload content, and physical side-channel analysis are outside the direct scope of the proposed kernel, although they may be integrated as complementary layers in a complete Zero-Trust IoT deployment [8].

The single-gateway compromise assumption is also restricted. Merkle roots and ledger transactions protect the integrity and ordering of evidence that has actually been submitted; they do not prove completeness when a compromised gateway suppresses an event before submission. Signed receipts, monotone sequence numbers, cross-gateway replication, and remote attestation are appropriate hardening mechanisms for a production deployment, but they are outside the present simulation. Consequently, the manuscript no longer claims that a single compromised gateway can never hide an unsubmitted local event.

Finally, the current 1000-packet/30% attack experiments are controlled packet-level simulations and are not a large-scale DoS or revocation-storm benchmark. Ordering backpressure, network partitions, missed ledger events, cache reconnection/resynchronization, hardware energy consumption, and high-rate distributed flooding are explicitly treated as limitations in Section 10.

4. Mathematical Foundation

4.1. Canonical Credential Digest and Exact Reduction

A single normative digest definition is used throughout the protocol, pseudocode, simulation, audit records, and Merkle proofs. Let

Ci=(di,τi,ni,ti,H(pi),fwi,ctxi) (5)

be the post-authentication screening record. Define encC as an injective, versioned type–length–value encoding. Its first field is the ASCII domain-separation string YB-IoT-CG/CRED/v1; every subsequent field is encoded as

TLV(T,x)=T ‖ I2OSP(|enc(x)|,4) ‖ enc(x), (6)

where T is a one-byte field/type tag, the four-byte length is unsigned big-endian, byte strings are copied verbatim, text identifiers are UTF-8 encoded, integers (including ti) use a fixed unsigned 64-bit big-endian representation, H(pi) is exactly 32 bytes, and structured firmware/context objects are serialized as ordered typed field sequences with lexicographically ordered field names. The tags are fixed as 01–07 for (di,τi,ni,ti,H(pi),fwi,ctxi), respectively. The canonical digest is therefore

hi=HencC(Ci). (7)

No raw variable-length concatenation is normative. The full 256-bit hi is retained for audit/security binding; the algebraic reduction below is only an operational state and is never treated as a cryptographic authenticator.

Let hi be a 256-bit digest partitioned into four consecutive 64-bit words, and let OS2IP(·) convert an 8-byte string to a non-negative integer. The implementation uses the first three words:

ui,0=OS2IP(hi[0:8]),ui,1=OS2IP(hi[8:16]),ui,2=OS2IP(hi[16:24]), (8)

and defines

ρq(hi)=ui,0modq,ui,1modq,ui,2modq=(ai,bi,ci)∈Zq3. (9)

For the simulation, q=997, hence |Zq3| =9973=991,026,973 and

log2(9973)≈29.884bits. (10)

This value is far below modern cryptographic security levels and is reported precisely to prevent a security-strength interpretation of ρq. The reduced triple is an operational state only; authenticity and collision resistance remain bound to σi, Auth0, and the full digest hi.

If a 64-bit word U is uniform on {0,…,264−1} and Uq=Umodq, write 264=qk+r with 0≤r<q. Then each residue occurs either k or k+1 times. For q=997, r=961. Therefore the maximum difference between the probabilities of any two residues is exactly 2−64. This is the ordinary finite-word modulo bias; neither perfect uniformity nor independence of the three reduced coordinates is required as a security assumption [28,29].

Proposition 1 (Pigeonhole boundary of the reduced state).

For any reduction ρq:{0,1}256→Zq3 with q=997, at least two distinct 256-bit digests map to the same reduced triple. Consequently, equality of reduced triples cannot imply equality of full digests and cannot be used as a cryptographic authentication criterion.

Proof. 

The domain contains 2256 elements whereas the codomain contains only q3=991,026,973 < 230 elements. Since 2256>q3, the pigeonhole principle implies that ρq is not injective. Thus ρq(h)=ρq(h′) does not imply h=h′. The protocol therefore retains and authenticates the full digest and uses the reduced state only for constant-size algebraic processing.    □

4.2. TMTO-Inspired Proactive Credential Risk

A TMTO chain follows Hellman’s time–memory trade-off model [4]. Rainbow-table refinements motivate differentiated reduction behavior [30]. It is written as

(k0,k1,…,kt),kj+1=ρq(H(kj)). (11)

The gateway does not need to store all possible credentials. It stores compact chain endpoints and metadata describing risky regions. The online risk score is

Ri=αRchain(hi)+βRfresh(ni,ti)+γRctx(di,ctxi), (12)

where Rchain measures chain proximity, Rfresh measures nonce and timestamp anomalies, and Rctx measures contextual inconsistency.

A TMTO chain follows Hellman’s time–memory trade-off intuition [4]; rainbow-table refinements motivate compact endpoint indexing [30]. In YB-IoT-CG this component is a deterministic operational-risk heuristic, not a learned predictor and not a password-cracking security claim. Let Erisk be a policy-maintained set of endpoint states obtained from predeclared risky trajectories in the simulator or administratively supplied production indicators.

For x,y∈Zq3, define the cyclic distance in one coordinate by

δq(xj,yj)=min{|xj−yj|,q − |xj−yj|}, (13)

and the normalized toroidal distance by

dq(x,y)=13⌊q/2⌋∑j=13δq(xj,yj). (14)

Because 0≤δq≤⌊q/2⌋, dq(x,y)∈[0,1]. Moreover, δq is the shortest-path metric on the cycle Zq, and the normalized ℓ1 sum in Equation (14) is therefore a metric on Zq3.

To keep the edge cost bounded, risky endpoints are indexed through the deterministic bucket function

b(h)=OS2IPH(YB-IoT-CG/BUCKET/v1 ‖ h)[0:4]modJ. (15)

The bucket queried for message i is B(hi)⊆Erisk and is maintained with the deployment bound |B(hi)|≤K. Endpoints must be constructed only from predeclared administrative indicators or a disjoint training/configuration corpus; test labels and test-packet outcomes are prohibited from endpoint construction. Endpoint density is reported as |Erisk|/q3. The chain-proximity score is

Rchain(hi)=1−mine∈B(hi)dq(ρq(hi),e),B(hi)≠∅,0,B(hi)=∅. (16)

Hence Rchain∈[0,1] and larger values mean closer proximity to an administratively risky endpoint. This score is a policy heuristic only: no claim is made that toroidal distance after hashing and reduction predicts key recovery, credential compromise, or any cryptanalytic event. Sensitivity to J, K, endpoint density, weights, and thresholds must therefore be reported as policy sensitivity rather than cryptographic strength.

4.2.1. Explicit Freshness Function

Let TiG be the gateway receipt time, let δclk≥0 be the tolerated clock-skew bound, and define the effective age

Ai=max{0,TiG−ti−δclk}. (17)

Choose policy constants 0≤Δsoft<Δhard. Define

Rage(i)=clip[0,1]Ai−ΔsoftΔhard−Δsoft, (18)

where clip[0,1](x)=min{1,max{0,x}}. Let Ndi(W) be the nonce set observed from successfully authenticated messages of device di inside the active replay window W. Then

Rfresh(ni,ti)=max1[ni∈Ndi(W)],Rage(i). (19)

Thus authenticated nonce reuse produces Rfresh=1, while timestamp age increases continuously from zero to one between the soft and hard age limits. Unauthenticated traffic is excluded from Ndi(W), preventing an attacker from poisoning the freshness state by merely spoofing a victim identifier.

4.2.2. Explicit Contextual Function

Let ϕ1,…,ϕm∈[0,1] be normalized context-violation severities, for example firmware-policy mismatch, unexpected gateway class, location-class deviation, maintenance-state mismatch, or rate anomaly. Let wℓ≥0 and ∑ℓ=1mwℓ=1. Define

Rctx(di,ctxi)=∑ℓ=1mwℓϕℓ(di,ctxi). (20)

This definition permits binary predicates (ϕℓ∈{0,1}) or graded severities while keeping the score normalized. with α,β,γ≥0 and α+β+γ=1. The thresholds satisfy

0≤θrisk<θrevoke≤1. (21)

The weights and thresholds are policy parameters fixed before a simulation run or deployment epoch; they are not learned from the evaluation labels.

Proposition 2 (Bounded risk score).

Under Equations (16), (19), and (20), the aggregate score in Equation (12) satisfies 0≤Ri≤1.

Proof. 

Each component belongs to [0,1]. Since α,β,γ are non-negative and sum to one, Ri is a convex combination of three numbers in [0,1]. Therefore Ri∈[0,1].    □

4.3. Brauer-Configuration Structural View with Explicit Assumptions

As in the original formulation, the chain graph can be interpreted as a quiver QIoT. Each credential state is a vertex and each reduction step is a directed edge. The gateway groups recurrent credential trajectories as cycles and realizes them as a Brauer configuration [19] B. This interpretation is structural only: it is not used by the access-decision algorithm and contributes neither authentication nor cryptographic entropy.

For a Brauer configuration algebra ΛB, the general dimension formula is

dimkΛB=2|B1|+∑α∈B0val(α)μ(α)val(α)−1. (22)

Let m=|B1| be the number of polygons/chain representatives and n=|B0| the number of configuration vertices. If every relevant vertex has multiplicity μ(α)=1 and valency val(α)=2, then

dimkΛB=2m+2n. (23)

Only under the additional incidence condition n=m/2 does the restricted expression reduce to 3m.

Proposition 3 (Restricted Brauer-configuration dimension).

If m=|B1|, n=|B0|, and every configuration vertex has multiplicity one and valency two, then dimkΛB=2m+2n.

Proof. 

Substitution into Equation (22) makes every vertex contribute 2(2−1)=2, so the vertex sum is 2n and the polygon term is 2m.    □

For continuity with the original notation, the legacy scalar descriptor is retained as

HB=log2dimkΛB, (24)

but it is strictly a logarithmic structural-size index. It is not Shannon entropy, min-entropy, collision entropy, a cryptographic security parameter, or an input to the access-decision algorithm.

Proposition 4 (Reduced-state collision bound).

Let X1,…,Xqo be independent reduced states in Zq3 with common distribution P. Define the collision probability of one draw by

κP=∑x∈Zq3P(x)2. (25)

Then the probability of at least one pairwise collision among qo queries satisfies the union bound

Pr[collision]≤qo2κP. (26)

If, only for analytical illustration, the reduced states are modeled as uniform on Zq3, then κP=1/q3 and

Pr[collision]≤min1,qo(qo−1)2q3. (27)

Proof. 

For every unordered pair (i,j), independence gives Pr[Xi=Xj]=∑xP(x)2=κP. Applying the union bound over the qo2 pairs gives Equation (26). The uniform special case follows from P(x)=1/q3 [31].    □

The descriptor HB=log2(dimkΛB) is intentionally absent from this bound. No injective or probabilistic correspondence between Brauer-algebra dimension and sampled credential states has been established; consequently, 2⌊HB⌋ is not used as an effective state-space cardinality. The only explicit state-space cardinality in the operational kernel is q3, while the endpoint set Erisk remains an administrative policy object rather than a cryptographic collision space.

5. Proposed YB-IoT-CG Protocol

5.1. Pairwise Transformation

Let X=Zq. A pairwise transformation is a map

r:X×X→X×X. (28)

For X=Zq, write r12=r×IX and r23=IX×r. A solution is involutive when r2=IX×X and non-degenerate when, writing r(x,y)=(σx(y),γy(x)), each component map is bijective [3,18]. The Yang–Baxter consistency condition is

(r⊗I)(I⊗r)(r⊗I)=(I⊗r)(r⊗I)(I⊗r). (29)

In IoT terms, the triple (ai,bi,ci) represents reduced values derived from device identity, session token, and nonce context. The two sides of (29) are two different checking orders over the same transcript.

5.2. A Practical Modular Map

For didactic and lightweight implementation, consider the map

r(a,b)=(b+1,a−1)(mod10). (30)

This map is easy to explain: the second value moves left and increases by one, while the first value moves right and decreases by one. As a didactic special case, this map is generalized below by the operational affine family; other production designs may also evaluate non-degenerate set-theoretic YBE solutions derived from a brace or finite-field construction [18].

The operational algebraic map is defined on the same domain used by the reduction ρq:

rs(x,y)=(y+s,x−s)(modq),s∈Zq. (31)

The simulation parameter q=997 and the lightweight instance s=1 are therefore mathematically consistent with the reduced credential state in Equation (9). The modulo-10 map above is retained as a didactic special case (q=10, s=1); the operational domain is generalized by the following result.

Proposition 5 (Affine involutive non-degenerate YBE solution).

For every integer q≥2 and every s∈Zq, the map rs of Equation (31) is bijective, involutive, non-degenerate, and satisfies the set-theoretic Yang–Baxter Equation (29).

Proof. 

First,

rs(rs(x,y))=rs(y+s,x−s)=(x−s+s,y+s−s)=(x,y)(modq), (32)

so rs2=I; hence rs is bijective and its inverse is itself. Writing

rs(x,y)=(σx(y),γy(x)),σx(y)=y+s,γy(x)=x−s, (33)

both component maps are translations of Zq and are therefore bijective, proving non-degeneracy.

It remains to verify the braid relation. For arbitrary (a,b,c)∈Zq3, the left composition gives

(a,b,c)→r12(b+s,a−s,c)→r23(b+s,c+s,a−2s)→r12(c+2s,b,a−2s). (34)

The right composition gives

(a,b,c)→r23(a,c+s,b−s)→r12(c+2s,a−s,b−s)→r23(c+2s,b,a−2s). (35)

The final triples are equal for every (a,b,c), so r12r23r12=r23r12r23 on X3.    □

Proposition 6 (Closed form of the YB traversal).

For the map rs, both Yang–Baxter paths send every (a,b,c)∈Zq3 to

Φs(a,b,c)=(c+2s,b,a−2s)(modq). (36)

Consequently, equality of the two honestly recomputed paths is an algebraic invariant and cannot, by itself, distinguish a forged external message from a legitimate external message.

Proof. 

The closed form follows directly from Equations (34) and (35). Since the equality holds for every input triple, replacing the external input by another triple and evaluating both paths correctly still yields equality. Authentication of the external message must therefore remain the responsibility of Auth0.    □

5.3. Valid Transcript Example

Let a reduced IoT credential be

(a,b,c)=(1,2,3), (37)

where 1 represents a reduced device identifier, 2 represents a reduced token, and 3 represents a reduced nonce.

The left traversal is

(1,2,3)→r⊗I(3,0,3)→I⊗r(3,4,9)→r⊗I(5,2,9). (38)

The right traversal is

(1,2,3)→I⊗r(1,4,1)→r⊗I(5,0,1)→I⊗r(5,2,9). (39)

Both paths end at (5,2,9); therefore, the transcript is consistent.

The preceding modulo-10 calculation is retained as the original didactic example. The same transcript in the operational simulation domain is: For the simulation domain q=997 and s=1, let

(a,b,c)=(1,2,3). (40)

The left traversal is

(1,2,3)→r12(3,0,3)→r23(3,4,996)→r12(5,2,996), (41)

and the right traversal is

(1,2,3)→r23(1,4,1)→r12(5,0,1)→r23(5,2,996). (42)

The common result agrees with Equation (36): (3+2,2,1−2)=(5,2,996)(mod997).

Formal single-path fault model. The useful security role of the double traversal is not external-message authentication but redundancy against a declared execution inconsistency. We therefore make the fault model explicit. Assume the right path is independently recomputed without fault. After the first left step, suppose the second coordinate is perturbed by ε∈Zq:

(b+s,a−s,c)⟶(b+s,a−s+ε,c). (43)

Proposition 7 (Detection of a nonzero isolated intermediate perturbation).

Under the fault model in Equation (43), the final corrupted left path is

L˜s(a,b,c;ε)=(c+2s,b,a−2s+ε)(modq), (44)

whereas the independent right path is Rs(a,b,c)=Φs(a,b,c). Therefore

L˜s=Rs⟺ε≡0(modq). (45)

Every nonzero perturbation in this declared fault class is detected by the path comparison.

Proof. 

Starting from the perturbed state,

(b+s,a−s+ε,c)→r23(b+s,c+s,a−2s+ε)→r12(c+2s,b,a−2s+ε). (46)

By Proposition 6, the unperturbed right output is (c+2s,b,a−2s). The first two coordinates coincide, and the third coordinates coincide exactly when ε≡0(modq).    □

For the numerical example above, injecting ε=8 after the first left step changes (3,0,3) to (3,8,3). The corrupted left output becomes (5,2,7), whereas the independent right output remains (5,2,996); the mismatch is therefore detected.

The proposition is deliberately scoped. A common-mode fault that identically corrupts both paths, a fault that is algebraically canceled before comparison, or a compromise of the comparison logic itself is outside this guarantee. These cases motivate implementation diversity, protected memory, attestation, or duplicated execution on distinct trust domains in a production system.

5.4. Mechanism Attribution and Analytical Ablation

To isolate the actual contribution of the Yang–Baxter stage, define C0 as the post-authentication configuration containing Auth0, revocation-cache lookup, freshness, context, and registry policy, and C1=C0+YB. Proposition 6 implies that, for every externally supplied triplet that is correctly recomputed along both paths, the YB predicate in C1 is always true. Therefore, in the absence of an internal execution fault, C0 and C1 produce identical security decisions for replay, clone, stale-message, and arbitrary external-field modification classes; the YB detection gain on those classes is exactly zero under the declared model. Their detection is attributed to Auth0, freshness, context, or the revocation registry.

The YB-specific positive contribution is evaluated only in the separate isolated fault-injection class of Proposition 7, for which C0 has no YB comparator and C1 detects every nonzero perturbation of the stated form. Structurally, the YB-only incremental work is exactly six evaluations of rs (three per path) plus one final triple comparison; no YB-only wall-clock latency is claimed because the reported timing instrument measures the complete post-authentication kernel. This analytical ablation prevents the aggregate 99.4% decision accuracy of the complete policy from being misreported as a Yang–Baxter detection rate. Likewise, the reported 7.8 μs is the complete incremental post-authentication kernel time and is not presented as the latency of the YB traversal alone.

Scope of the ablation evidence. The ablation reported above is analytical/model-level rather than an empirical with/without-YB experiment. The present study did not execute a separate randomized implementation-level fault-injection campaign. The simulator instruments the complete post-authentication kernel rather than an independently timed YB stage and does not implement a randomized internal execution-fault injector. Accordingly, no empirical YB-only wall-clock latency or implementation-level fault-detection rate is claimed. The quantitative YB-specific statements are limited to the zero detection gain for correctly recomputed external-message classes, the complete detection guarantee for the declared nonzero single-path perturbation class of Proposition 7, and the structural incremental cost of six evaluations of rs plus one final triple comparison. A dedicated empirical with/without-YB ablation and randomized fault-injection campaign is left for future work.

5.5. Forged Intermediate State

Suppose the adversary changes an intermediate value after the first left step:

(3,0,3)⟶(3,8,3). (47)

The forged continuation is

(3,8,3)→I⊗r(3,4,7)→r⊗I(5,2,7). (48)

The legitimate right path remains (5,2,9). Since

(5,2,7)≠(5,2,9), (49)

the gateway rejects the transcript. This example represents only an isolated internal perturbation of one execution path. It must not be interpreted as evidence that an externally modified token or credential field causes divergence when both paths are recomputed from the modified input.

This original worked rejection is therefore interpreted only under the isolated intermediate-state perturbation model of Proposition 7. Proposition 6 shows that an arbitrary externally modified triple, if honestly recomputed along both paths, remains YB-consistent; external-message authenticity remains the responsibility of Auth0. Figure 1 illustrates the isolated intermediate-state perturbation.

Figure 1.

Figure 1

Explainable detection of the declared isolated single-path intermediate-state perturbation.

5.6. Credential Classes

The gateway distinguishes three credential classes:

  • Consistent and low-risk: Both paths match and the risk score is below threshold. The message is accepted.

  • Consistent but risky: Both paths match, but TMTO proximity, context, or freshness is suspicious. The device is challenged.

  • Inconsistent: Traversal paths do not match. The message is challenged/quarantined as an execution-consistency failure; revocation requires independent corroborating evidence and the revocation threshold.

The third class is retained from the original taxonomy, but its irreversible-action semantics are narrowed: an isolated path inconsistency is challenged/quarantined by default, while on-chain revocation requires confirmed replay or corroborated multi-signal evidence together with Ri≥θrevoke, as specified by Algorithms 1 and 3.

5.7. YB-IoT-CG Architecture

This proposed architecture keeps the original structure and conceptualization of the Layered Edge-to-Blockchain architecture as a continuous admission-control pipeline [32]. A Zero-Trust architecture evaluates this policy framework [2]. Figure 2 shows how an IoT message is processed in order to produce a credential digest, an algebraic transcript, a score via a TMTO-style indicator, and a decision (accept, challenge, or revoke) prior to the message reaching the cloud layer. All decisions are ultimately resolved via the permissioned ledger. The risk stage uses the TMTO idea proposed by Hellman [4] and refined in rainbow-table analysis [30].

Figure 2.

Figure 2

Operational architecture of the Yang–Baxter Internet of Things (IoT) Consistency Gateway (YB-IoT-CG) that is suggested. The architecture incorporates credential digest generation, Yang–Baxter consistency verification, TMTO-based risk assessment, Zero-Trust security implementation, secure communication of IoT devices, services made available in the cloud, telemetry persistence, and blockchain-provided audit ability and ability to revoke.

5.8. Operational Architecture of YB-IoT-CG

Figure 2 illustrates the operational workflow of the proposed Yang–Baxter IoT Consistency Gateway (YB-IoT-CG). The architecture transforms conventional IoT authentication into a proactive credential-hygiene framework by integrating algebraic consistency verification, TMTO-inspired risk assessment, Zero-Trust enforcement, and blockchain-backed revocation and auditability within a unified edge-to-ledger security pipeline. Zero-Trust enforcement supports continuous verification [2]. TMTO analysis supports risk-aware credential screening [4]. Rainbow-table refinements inform compact endpoint monitoring [30]. Immutable evidence is consistent with classical timestamping and hash-linking mechanisms [33] and with Merkle authentication structures [5].

Unlike conventional authentication mechanisms that rely mainly on certificates, bearer tokens, or pre-shared keys, the proposed architecture introduces a mathematical verification layer before telemetry is admitted into the application domain [34]. Standard secure transport remains available through TLS [35]. IoT-specific TLS/DTLS profiles support constrained deployments [36]. This design is consistent with the threat model in Section 3: a credential may appear syntactically valid while still being stale, replayed, collision-prone, or contextually anomalous. Therefore, YB-IoT-CG treats authentication as a staged decision process rather than as a single binary check [2].

5.8.1. IoT Device Layer

Each IoT node periodically emits a message

Mi=(di,τi,ni,ti,pi,σi), (50)

where di is the device identifier, τi is the session token, ni is the nonce, ti is the timestamp, pi is the telemetry payload or its digest, and σi is a MAC or digital signature [34]. Constrained-device transport profiles motivate compact authentication exchanges [36]. This message is transmitted from sensors, PLCs, cameras, or smart meters toward the edge gateway. At this point, the telemetry is not yet trusted; it is only a candidate message that must pass both standard cryptographic checks and the proposed algebraic screening mechanism. The trust decision follows Zero-Trust reasoning [2]. Device capability baselines support the contextual interpretation of IoT evidence [37].

5.8.2. Edge Gateway

The edge gateway acts as the first security boundary and normalizes the credential fields before cloud admission [32]. For every authenticated incoming message, the gateway constructs the canonical record Ci and computes exactly the single normative digest hi=H(encC(Ci)) from Equation (7); no alternative concatenation is used in the architecture. The fields fwi and ctxi retain the meanings defined in Section 4 [37]. Before running the algebraic kernel, the gateway also consults its locally cached view of the on-chain revocation registry, so that credentials already revoked anywhere in the consortium are rejected immediately.

5.8.3. Yang–Baxter Security Core

The core of the architecture maps the digest into an algebraic transcript:

ρq(hi)=(ai,bi,ci)∈Zq3. (51)

The transcript is then evaluated through the Yang–Baxter consistency condition [3]

(r⊗I)(I⊗r)(r⊗I)=(I⊗r)(r⊗I)(I⊗r). (52)

Operationally, the gateway computes two traversal outputs

Li=(r⊗I)(I⊗r)(r⊗I)(ai,bi,ci), (53)
RiYB=(I⊗r)(r⊗I)(I⊗r)(ai,bi,ci), (54)

and compares their final states. If Li=RiYB, the transcript is algebraically consistent. If Li≠RiYB, the credential is immediately marked as inconsistent and the device is challenged, quarantined, or revoked depending on policy. This makes the rejection explainable because the gateway can report the exact pair of divergent traversal outputs.

5.8.4. TMTO-Based Risk Assessment

A consistent transcript is necessary but not sufficient. A credential may satisfy the Yang–Baxter relation while still being operationally risky due to nonce reuse, chain proximity, abnormal context, or repeated credential trajectories [4]. Rainbow-table refinements motivate endpoint-proximity monitoring in compact chain structures [30]. For this reason, the security core computes the proactive score

Ri=αRchain(hi)+βRfresh(ni,ti)+γRctx(di), (55)

where Rchain measures proximity to monitored TMTO chain endpoints, Rfresh evaluates nonce and timestamp freshness, and Rctx captures contextual inconsistency. The weights α, β, and γ allow deployment-specific calibration. Thus, the gateway moves beyond reactive revocation and estimates whether a credential is approaching a risky operational region before the message is forwarded [4]. The differentiated-chain view is aligned with rainbow-table risk monitoring [30].

5.8.5. Zero-Trust Enforcement Layer

The Zero-Trust firewall does not assume trust based on network location or prior enrollment [2]. Instead, it consumes the output of the security core and applies the decision rule

Decisioni∈{Accept,Challenge,Revoke}. (56)

A low-risk and Yang–Baxter-consistent credential is accepted. A credential that is consistent but close to the risk threshold is challenged through additional evidence, such as device attestation, challenge-response, or re-authentication. An inconsistent or high-risk credential is revoked or quarantined before telemetry reaches the cloud platform, and the revocation is committed to the on-chain registry so that all consortium gateways converge to the same view. This realizes the Zero-Trust principle of continuous verification at the edge [2].

5.8.6. Secure Communication Layer

Only accepted traffic is forwarded through standard IoT protocols such as MQTT, CoAP, TLS, or DTLS [38]. CoAP supports constrained application messaging [39]. TLS 1.3 provides the standard secure transport layer [35]. DTLS 1.3 extends transport protection to datagram settings [40]. IoT profiles adapt TLS and DTLS to constrained deployments [36]. The proposed architecture is therefore complementary to existing protocol stacks and does not require the replacement of deployed IoT communication mechanisms. YB-IoT-CG functions as an admission-control and credential-hygiene layer placed before application ingestion.

5.8.7. Cloud Services and Telemetry Persistence

After authorization, telemetry is forwarded to cloud services, dashboards, or digital twins [41]. Edge computing motivates this gateway-to-cloud partitioning [32]. The cloud platform persists validated payloads in the telemetry database and makes them available for visualization, analytics, and operational decision making. Since the edge gateway filters suspicious credentials before ingestion, downstream services receive data streams that have already passed algebraic, cryptographic, contextual, and risk-based screening.

5.8.8. Auditability and Blockchain Anchoring

Every decision is converted into compact audit evidence:

Ei=(hi,Ri,Decisioni). (57)

To preserve integrity and non-repudiation, the system aggregates evidence into Merkle batches and anchors

Bj=MerkleRoot(EjB+1,…,E(j+1)B) (58)

on the permissioned blockchain, where B is the batch size. Raw telemetry does not need to be written on-chain; only compact roots, revocation events, and metadata are anchored. This preserves privacy while enabling post-incident reconstruction. The full blockchain data model, smart contracts, and cost analysis are developed in Section 6.

5.8.9. End-to-End Security Workflow

The complete workflow represented in Figure 2 is

Mi→hi→ρq(hi)→YBE→Ri→Decisioni→Cloud→BlockchainAudit. (59)

This chain connects the mathematical contribution of the article with the engineering deployment model. The architecture remains lightweight enough for edge gateways, explainable enough for security operators, verifiable through the ledger, and compatible with industrial, healthcare, environmental, and smart-city IoT deployments.

5.9. Relationship with the Five-Layer Framework and NIST Zero-Trust Tenets

The operational architecture in Figure 2 preserves the five conceptual layers proposed for YB-IoT-CG. Layer 1 corresponds to credential digest generation, transcript reduction, and Yang–Baxter checking. Layer 2 corresponds to sandboxed MAC, signature, certificate, or attestation verification. Layer 3 corresponds to risk governance through adaptive thresholds and contextual policies. Layer 4 corresponds to privacy-preserving telemetry forwarding, where raw payloads are minimized or masked before external persistence. Layer 5 corresponds to signed audit evidence, Merkle anchoring, and on-chain revocation over the permissioned blockchain. This mapping ensures that the simplified figure remains faithful to the complete security model while presenting the architecture in a form that is easier to evaluate, implement, and reproduce.

The architecture preserves the five conceptual functions of the original framework but changes their operational order: lower-layer MAC/signature/certificate verification is executed before stateful algebraic/risk processing. Conceptually, the functions are (i) cryptographic authentication and secure input normalization; (ii) credential digest/reduction and Yang–Baxter consistency; (iii) risk governance through bounded thresholds and contextual policy; (iv) privacy-preserving telemetry forwarding; and (v) signed audit evidence, Merkle anchoring, and revocation propagation.

The design also maps directly to the seven Zero-Trust tenets of NIST SP 800-207 [2]: (1) devices, gateways, ledgers, and telemetry services are treated as resources; (2) communications remain protected with TLS/DTLS regardless of network location; (3) admission is evaluated per message/session rather than inherited permanently; (4) decisions use dynamic policy over identity, freshness, firmware, and context; (5) device/firmware/context posture is continuously observed when available; (6) authentication and authorization are enforced before cloud admission and are re-evaluated after challenges; and (7) decision/audit telemetry is collected to support policy refinement and incident analysis. This mapping does not imply that YB-IoT-CG alone implements an entire enterprise Zero-Trust architecture; it identifies the specific tenets supported by this edge admission-control layer.

5.10. Decision Algorithms

The operational flow is deliberately conservative: inexpensive syntax/cache checks are followed by the pre-existing secret-based authentication layer; only authenticated messages reach stateful algebraic/risk processing; every branch emits audit evidence; and ambiguous or internally inconsistent evidence produces a challenge before irreversible revocation. The pseudocode is written so that the security invariants in Section 7 follow directly from control flow.

5.10.1. Access Decision

The replay-history update is deliberately performed only after the freshness check and on every branch reached after successful Auth0 verification (Accept, Challenge, or corroborated Revoke). Thus the current nonce is not compared against itself, while Equation (19) and Algorithm 1 use the same definition of “successfully authenticated message.” The EWMA update applies only to θrisk and only after Accept; θrevoke remains fixed during the deployment epoch.

Algorithm 1 YB-IoT-CG Layered Access Decision
Require: IoT message Mi=(di,τi,ni,ti,pi,σi); fwi, ctxi
Require: 0≤θrisk<θrevoke≤1; revocation cache Rcache
 1: if ¬WellFormed(Mi) then
 2:       CommitAudit(H(Mi),1,Challenge,Malformed)
 3:       return Challenge
 4: end if
 5: κi←H(DID(di))
 6: if  κi∈Rcache then
 7:        CommitAudit(H(Mi),1,Revoke,OnChainRevoked)
 8:        return Revoke ▹ recognize existing revocation; do not create a new one
 9: end if
10: if  ¬VerifyBaseAuth(Mi) then
11:        CommitAudit(H(Mi),1,Challenge,InvalidBaseAuth)
12:        return Challenge ▹ unauthenticated traffic cannot update risk or enqueue revocation
13: end if
14: Ci←(di,τi,ni,ti,H(pi),fwi,ctxi); hi←H(encC(Ci))
15: (ai,bi,ci)←ρq(hi)
16: L←r12r23r12(ai,bi,ci)
17: RYB←r23r12r23(ai,bi,ci)
18: if  L≠RYB then
19:        ei←H(hi ‖ L ‖ RYB ‖ YBE_Mismatch)
20:        CommitAudit(hi,1,Challenge,ei)
21:        RecordAuthenticatedNonce(di,ni,ti)
22:        return Challenge
23: end if
24: Sfresh ← FreshnessScore(ni,ti,di) using Equation (19)
25: Schain ← TMTOProximity(hi,di) using Equation (16)
26: Sctx ← ContextScore(di,ctxi) using Equation (20)
27: Ri←αschain+βsfresh+γsctx
28: Di ← ContextDECISION(di,Ri,ctxi) ▹ Algorithm 3
29: if  Di=Revoke then
30:        if Ri≥θrevoke then
31:              ei←H(hi ‖ Ri ‖ CorroboratedRisk)
32:              CommitAudit(hi,Ri,Revoke,ei)
33:              QueueRevocation(κi,ei)
34:              RecordAuthenticatedNonce(di,ni,ti)
35:              return Revoke
36:        else
37:              CommitAudit(hi,Ri,Challenge,CorroborationBelowThreshold)
38:              RecordAuthenticatedNonce(di,ni,ti)
39:              return Challenge
40:        end if
41: else if  Ri≥θrisk or  Di=Challenge then
42:        CommitAudit(hi,Ri,Challenge,PolicyRisk)
43:        RecordAuthenticatedNonce(di,ni,ti)
44:        return Challenge
45: end if
46: CommitAudit  (hi,Ri,Accept,OK)
47: RecordAuthenticatedNonce  (di,ni,ti)
48: θrisk←BoundedEWMA(θrisk,Ri,λ,η,θmin,θmax) ▹ Algorithm 2; accepted traffic only
49: return Accept

5.10.2. Bounded Adaptive Threshold Recalibration

Algorithm 2 retains the EWMA idea but prevents unauthenticated, challenged, or revoked traffic from directly moving the threshold and limits the maximum update per accepted observation.

Algorithm 2 Bounded EWMA Threshold Recalibration
Require: θt∈[θmin,θmax], Ri∈[0,1] from an authenticated accepted message, λ∈[0,1], step bound η≥0
  • 1:

    θ^←λRi+(1−λ)θt

  • 2:

    θ^←min(θmax,max(θmin,θ^))

  • 3:

    θt+1←min(θt+η,max(θt−η,θ^))

  • 4:

    EmitMetric  (θt+1)

  • 5:

    return  θt+1

Proposition 8 (Bounded threshold invariant).

Assume 0≤θmin≤θt≤θmax≤1, Ri∈[0,1], λ∈[0,1], and η≥0. Algorithm 2 satisfies

θt+1∈[θmin,θmax],|θt+1−θt|≤η. (60)
Proof. 

The first clipping step places θ^ in [θmin,θmax]. The second step projects θ^ onto the interval [θt−η,θt+η]. Since that projection is taken toward a value already inside [θmin,θmax] and θt is also inside that interval, the result remains within the global bounds. By construction it also lies within η of θt.    □

The proposition limits per-update drift; it does not by itself prove resistance to a long-horizon adaptive poisoning strategy. Such poisoning remains an experimental limitation.

5.10.3. Contextual Challenge-Before-Revoke Logic

For reproducibility, let ξℓ∈(0,1] be a policy severity threshold for context predicate ϕℓ. Define the corroboration count

Nanom(i)=∑ℓ=1m1[ϕℓ(di,ctxi)≥ξℓ], (61)

and set multiSignalAnomaly=true only when Nanom(i)≥2. Likewise, confirmedReplay=true requires authenticated nonce reuse plus session/device evidence defined by deployment policy; a mere unauthenticated reuse attempt is insufficient. Algorithm 3 summarizes the contextual decision logic.

Here confirmedReplay is asserted only from state derived from successfully authenticated traffic (for example, authenticated nonce reuse within the active window plus matching session/device policy evidence). Thus a spoofed unauthenticated packet cannot manufacture the corroborating condition used to enqueue a new on-chain revocation.

Algorithm 3 Contextual Challenge or Corroborated Revocation
Require: authenticated device di, risk Ri, context vector ctxi
  1:  if  ctxi.firmwareUpdate=true and  θrisk≤Ri<θrevoke then
  2:         return Challenge
  3: else if ctxi.location differs from registered class then
  4:         return Challenge
  5: else if  ctxi.nonceReuse=true and  ctxi.confirmedReplay=false then
  6:         return Challenge
  7: else if  ctxi.confirmedReplay=true or  ctxi.multiSignalAnomaly=true then
  8:         return Revoke
  9: else if ctxi.burstRate exceeds policy then
10:         return Challenge
11: else
12:         return Accept
13: end if

6. Blockchain-Backed Architectural Design of YB-IoT-CG

This section specifies the proposed ledger-facing architecture used by YB-IoT-CG. The present article does not claim an executed Hyperledger Fabric chaincode or EVM deployment. Instead, the data structures, pseudocode interfaces, Merkle batching, and revocation synchronization are evaluated through the parameterized ledger model described in Section 8. The design goals are (i) tamper-evident audit records for submitted evidence; (ii) convergent published revocation state across honest gateways; (iii) O(1) logical on-chain payload per decision batch; and (iv) strict decoupling between the low-latency edge decision path and the seconds-scale ledger path.

6.1. Ledger Selection and Deployment Topology

YB-IoT-CG targets consortium IoT deployments in which the participating organizations (plant operators, utilities, hospitals, municipalities) are identified but mutually semi-trusting. A permissioned platform such as Hyperledger Fabric is therefore the reference deployment target: its execute-order-validate architecture, channel-based data isolation, pluggable endorsement policies, and membership service provider fit the identified-participant setting and avoid the probabilistic finality and transaction fees of public proof-of-work networks [6]. Nevertheless, the on-chain data model defined below is deliberately minimal (fixed-size roots, status flags, and event logs), so it can also be realized as an EVM smart contract on a public or consortium Ethereum-family network when cross-organization neutrality is required [42].

Each edge gateway runs a lightweight ledger client. Ordering and endorsement peers are hosted by the consortium members in the fog or cloud tier; no constrained IoT device interacts with the blockchain directly. This topology keeps device-side cost at zero and confines ledger interaction to gateways, which possess the computing and connectivity resources required for transaction signing and event subscription.

The topology above is an architectural target rather than evidence of a live deployment. In the present study, peers/orderers, commit latency, and event delivery are represented by the parameterized ledger model; no constrained IoT node performs a blockchain operation directly.

6.2. On-Chain Data Model and Smart Contracts

Two smart contracts (chaincode in Fabric terminology) define the on-chain state:

  1. RevocationRegistry. A key–value mapping from the DID of a device [7] to a status record (status,hevidence,trev,gissuer), where status∈{Active,Challenged,Revoked}, hevidence is the digest of the divergent Yang–Baxter traversal pair or risk report, trev is the ledger timestamp, and gissuer identifies the revoking gateway. State transitions are monotone under policy: Revoked can only be lifted through an explicit multi-party re-enrollment transaction endorsed by a quorum of organizations, which prevents a single compromised gateway from silently reinstating a revoked credential.

  2. AuditAnchor. An append-only log of Merkle roots Bj computed over batches of decision evidence (Equation (58)), following the classical Merkle authentication-tree construction [5] and hash-linked timestamping [33]. Each anchor transaction stores the root, the batch cardinality, the covering time window, and the gateway signature.

Listing 1 sketches the registry interface in a Solidity-style pseudocode; the Fabric realization exposes the same interface through chaincode functions with organization-level endorsement policies.

The listing is a proposed logical interface only. It is not reported as executed Fabric chaincode or as a deployed EVM contract, and the experimental section does not attribute live-chain measurements to it.

Listing 1. Revocation-registry smart-contract interface (pseudocode).
contract RevocationRegistry {
 enum Status { Active, Challenged, Revoked }
 struct Record {
  Status  status;
  bytes32 evidenceDigest; // H(L_i || R_i^YB || R_i)
  uint64  revokedAt;
  address issuerGateway;
 }
 mapping(bytes32 => Record) registry; // key: H(DID)
 
 event Revoked(bytes32 indexed did, bytes32 evidence);
 event Anchored(bytes32 indexed root, uint32 batchSize);
 
 function revoke(bytes32 did, bytes32 evidence) onlyGateway { ... }
 function challenge(bytes32 did, bytes32 evidence) onlyGateway { ... }
 function reinstate(bytes32 did) onlyQuorum { ... }
 function anchor(bytes32 merkleRoot, uint32 n) onlyGateway { ... }
 function statusOf(bytes32 did) view returns (Status) { ... }
}

6.3. Merkle-Batched Audit Anchoring

Writing one transaction per packet decision would be prohibitive at IoT message rates. Instead, evidence records are accumulated into batches of size B and condensed into a single Merkle root before submission (Algorithm 4). Any individual decision Ei can later be proven to belong to an anchored batch with a logarithmic-size inclusion proof of ⌈log2B⌉ sibling hashes [5], which is sufficient for dispute resolution and regulatory audit without storing raw evidence on-chain.

Writing one transaction per packet decision is avoided by accumulating evidence into batches of size B. Let enc(·) be an injective canonical serialization of a decision-evidence tuple and define the Merkle leaf

ℓi=Henc(hi,Ri,Decisioni,reasoni). (62)

Internal nodes are computed as H(enc(vL,vR)) with explicit left/right ordering. Any decision can later be associated with an anchored root using an O(logB)-hash inclusion proof, while raw telemetry remains off-chain [5].

Proposition 9 (Merkle tamper evidence under collision resistance).

Assume enc is injective and H is collision resistant. After a Merkle root is committed, replacing an included evidence tuple Ei by a distinct tuple Ei′≠Ei while keeping the same authenticated root and a valid inclusion path is computationally infeasible except by finding a collision in H (or breaking the signature/ledger mechanism that authenticates the root).

Proof. 

Because enc is injective, Ei′≠Ei implies distinct leaf inputs. If their leaf hashes differ, a verifier recomputing the path obtains a different value at the first ancestor where the changed hash is used unless some later pair of distinct node inputs hashes to the same output. Thus a successful substitution with the same root yields a collision at the leaf or at an internal node. If instead the attacker replaces the committed root, it must also defeat the mechanism that authenticates and orders the root on the permissioned ledger.    □

Algorithm 4 Merkle-Batch Audit Anchoring
Require: evidence queue Q, batch size B, flush interval Tflush
1: while gateway is running do
2:       collect ℓi=H(enc(hi,Ri,Decisioni,reasoni)) into buffer E
3:        if |E|≥B or elapsed ≥Tflush then
4:              root← MerkleRoot(E)
5:              tx← SignnskG(anchor,root,|E|,[tstart,tend])
6:              SubmitAsync(L,tx) ▹ non-blocking; edge path never waits
7:              persist E and proofs off-chain; E←∅
8:        end if
9: end while

6.4. On-Chain Revocation Propagation, Monotonicity, and Conditional Staleness

Revocations are latency-critical and are therefore submitted individually and immediately rather than batched (Algorithm 5). Every gateway subscribes to Revoked events and maintains a local cache Rcache consulted at line 1 of Algorithm 1, so registry lookups never require a synchronous ledger round-trip on the packet path.

Algorithm 5 On-Chain Revocation Propagation
Require: revocation queue entry (κi,ei) produced by Algorithm 1; ledger client for L
 1: tx← SignskG(revoke,κi,ei)
 2: Submit (L,tx)
     On event Revoked(κ,e) at any gateway:
 3: Rcache←Rcache∪{κ}
 4: EmitMetric (revocationLatency)

The revocation worker does not recompute the evidence digest and does not reconstruct the DID hash. The signed transaction contains exactly the (κi,ei) pair queued by Algorithm 1, eliminating the previous interface/data-flow mismatch.

Within one enrollment epoch, order the registry states by

Active≺Challenged≺Revoked. (63)

An explicit quorum-authorized re-enrollment/reinstatement terminates the old epoch and creates a new credential epoch; it is not treated as a downward transition inside the same epoch.

Proposition 10 (Monotone revocation within an enrollment epoch).

Assume the registry contract accepts only transitions that are non-decreasing under Equation (63). Then, within one enrollment epoch, once a DID hash κ reaches Revoked, no later valid transaction in that epoch can return it to Active or Challenged.

Proof. 

Revoked is the maximum element of the finite order in Equation (63). A non-decreasing transition from the maximum can only remain at the maximum. Therefore all accepted subsequent transitions preserve Revoked until a separately authorized new enrollment epoch is created.    □

Proposition 11 (Conditional revocation staleness).

Assume a synchronous interval in which tcmax is a hard upper bound on ledger commit/finality time and temax is a hard upper bound on event delivery to every honest subscribing gateway, with no network partition, missed event, or subscriber failure. Then the stale-use interval after revocation submission satisfies

Δstale≤tcmax+temax. (64)

After this interval, every honest gateway that applies Algorithm 5 contains κi in its revocation cache.

Proof. 

Let submission occur at time t0. By assumption, the transaction is final no later than t0+tcmax. The corresponding revocation event reaches every honest subscriber no later than an additional temax, hence by time t0+tcmax+temax. Upon receipt, Algorithm 5 performs the set union Rcache←Rcache∪{κi}. Set union is idempotent and monotone, so repeated events cannot remove the entry. Algorithm 1 checks this cache before the YB/risk stage, establishing the stated bound under the premises.    □

If commit and propagation delays are modeled as random variables, as in the present simulation, Equation (64) is not an unconditional deterministic bound. The experiment therefore reports empirical quantiles/medians of Tc+Te. Partitions, missed events, compromised subscribers, or contract-level authorization failures violate the proposition premises and require resynchronization/fail-close policies in a production system.

6.5. DID-Based Device Identity, Verifiable Credentials, and Storage Boundary

Device enrollment binds each physical device to a DID document anchored on L, containing the device public key, its organizational controller, and service endpoints [7]. Session tokens τi are issued as short-lived verifiable credentials signed by the organizational issuer, so that the field di entering the digest of Equation (7) is a ledger-resolvable identifier rather than an opaque string. This closes the loop between the algebraic kernel and the ledger: the same identifier that is screened by the Yang–Baxter transcript is the key of the on-chain revocation record, which prevents identifier aliasing between the screening and revocation layers. Prior IoT DID deployments demonstrate the feasibility of this lifecycle on constrained hardware [16].

W3C DID Core does not prescribe a fixed byte size because documents and representations are variable. In the proposed constrained-device topology, the full DID document is not stored on every IoT node. The device needs only its local key/secure-element reference, its compact identifier/token material, and the information required by the lower authentication protocol; DID resolution, full document metadata, and revocation state are handled by the gateway/ledger tier. This design avoids imposing JSON/JSON-LD document storage on constrained sensors while preserving a common ledger-resolvable identity key.

6.6. Cost, Latency, Verifiability, and Batch-Size Trade-Off

Let tYB denote the per-packet kernel time (Equation (74)), ttx the ledger commit latency, and B the anchoring batch size. Because anchoring is asynchronous, the per-packet decision delay remains tYB; the amortized ledger overhead per decision is

Tanchor=ttxB,Schain=|Bj| + metaB∈O(1/B) (65)

bytes of on-chain storage per decision, where |Bj| = 32 bytes for a 256-bit root. For B=64 and a Fabric commit latency of approximately two seconds, the amortized anchoring cost is on the order of tens of milliseconds per decision and under one byte of ledger storage per packet, while each revocation costs one dedicated transaction plus the staleness bound of Proposition 11. On EVM networks the same O(1)-per-batch property holds, with cost dominated by a single SSTORE and event emission per anchor [42]. This model is validated empirically in Section 9.2.

0≤Tfill≤minB−1λd,Tflush,Tverify=Tfill+ttx. (66)

If a record is approximately uniformly positioned inside a size-B batch and the count trigger occurs before the timer, the familiar mean waiting approximation is

E[Tfill]≈B−12λd. (67)

With an active timeout, the actual expectation depends on the arrival process and timer/reset policy; it is therefore not claimed to equal the minimum of two independent expectations. Physical ledger cost additionally includes transaction envelopes, signatures, indexing, block headers, endorsement metadata, and peer replication and is not measured by the present logical model.

For the nominal simulation rate of 100 decisions/s and ttx=2 s, the analytical sensitivity in Table 3 explains the choice B=64: smaller batches reduce fill delay but increase transaction frequency and logical payload per decision; larger batches improve amortization but increase waiting time before an individual audit record becomes anchored.

Table 3.

Analytical batch-size sensitivity at 100 decisions/s and 2 s mean modeled commit time (fill-delay column ignores an earlier Tflush trigger).

B ttx/B (ms) Logical Payload (B/Decision) Anchors/1000 Mean Fill Wait (ms)
16 125.0 3.250 63 75
32 62.5 1.625 32 155
64 31.25 0.813 16 315
128 15.63 0.406 8 635
256 7.81 0.203 4 1275

The table is an analytical sensitivity study, not a new Fabric benchmark. It is included to make the batch-size trade-off explicit without expanding the present work beyond its simulation scope.

7. Security Analysis

This section analyzes the security properties provided by the proposed YB-IoT-CG protocol. The analysis does not claim to replace the security guarantees of the underlying cryptographic primitives. Instead, it shows how the Yang–Baxter credential kernel adds a deterministic consistency layer for detecting forged, replayed, cloned, stale, or operationally risky credential transcripts before telemetry is admitted into the IoT application pipeline, and how the blockchain layer protects the integrity and propagation of the resulting verdicts.

Formal compositional properties. The formal claims below are compositional. Auth0 supplies cryptographic authenticity; the Yang–Baxter stage supplies a deterministic execution-consistency invariant under the declared fault model; the policy layer supplies bounded freshness/context governance; and the ledger layer supplies tamper evidence and revocation-state dissemination under its stated assumptions.

Proposition 12 (No authentication bypass).

Assume Algorithm 1 is executed as specified and the only transition into the post-authentication YB/risk stage occurs after VerifyBaseAuth(Mi)=true. Then an external message for which Auth0(Mi)=0 cannot reach the Accept branch. Hence the probability of unauthenticated acceptance by the composed system is no greater than the false-acceptance/forgery probability of Auth0 plus implementation-failure probabilities outside the algorithmic model.

Proof. 

If Auth0(Mi)=0, line VerifyBaseAuth of Algorithm 1 takes the failure branch and returns Challenge immediately. No subsequent line, including the YB computation, risk update, context decision, or Accept return, is executed. Therefore the YB-IoT-CG layer creates no new control-flow path from failed base authentication to acceptance. Any unauthenticated acceptance must arise from a false acceptance in Auth0 or from an implementation fault not represented by the pseudocode. □

Proposition 13 (Accepted-message safety invariant).

If Algorithm 1 returns Accept for message Mi, then all of the following conditions hold at the decision point:

  • 1. 

    Mi is well formed;

  • 2. 

    κi∉Rcache;

  • 3. 

    Auth0(Mi)=1;

  • 4. 

    Li=RiYB;

  • 5. 

    Ri<θrisk; and

  • 6. 

    ContextDecision (di,Ri,ctxi)=Accept.

Proof. 

The result follows by backward reasoning from the unique Accept return. Reaching that line requires bypassing every earlier return. Therefore the malformed-message test is false, the revocation-cache test is false, base authentication succeeds, and the YB mismatch test is false. It also requires the Di=Revoke branch to be false and the challenge branch (Ri≥θrisk)∨(Di=Challenge) to be false. Since Algorithm 3 returns only Accept, Challenge, or Revoke, the remaining context value is Accept, and the negated risk inequality gives Ri<θrisk. □

Proposition 14 (Unauthenticated traffic cannot enqueue a new revocation).

Assume the revocation queue is modified only by the explicit QueueRevocation operation in Algorithm 1. Then a message that fails Auth0 cannot enqueue a revocation for any DID.

Proof. 

The sole QueueRevocation call occurs after successful VerifyBaseAuth, successful YB consistency, computation of the bounded risk score, a context result Di=Revoke, and Ri≥θrevoke. A base-authentication failure returns before all of these lines. The early cache branch may recognize an already-published revocation, but it does not create or enqueue a new revocation transaction. □

Let ni=|Ci| denote the number of bytes processed by the canonical digest after any already-available payload digest is incorporated, and let K be the maximum number of risky endpoints inspected in the selected bucket. Assume hash processing is linear in input bytes, each modular operation on the fixed machine-word representation has constant cost, revocation-cache lookup has expected O(1) cost, and the number of context predicates is a deployment constant m.

Proposition 15 (Incremental time complexity).

Under the assumptions above, the incremental post-authentication decision cost satisfies

TYB,inc(ni,K)=Θ(ni)+Θ(K)+O(1). (68)

If ni≤nmax and K≤Kmax are deployment constants, then TYB,inc=O(1) with respect to traffic-history length, observation-window length, training-set size, and number of previous packets. If raw payload hashing is included and payload size is variable, the dominant digest term is Θ(|pi|).

Proof. 

The canonical digest scans ni bytes, giving Θ(ni). The reduction performs exactly three fixed-word modulo operations. Each YB path uses exactly three evaluations of rs, hence six pairwise evaluations total, all constant-size. The revocation cache lookup is expected O(1). The proximity score computes at most K three-coordinate toroidal distances, giving Θ(K) when the bucket is nonempty. Freshness, a fixed number m of context predicates, convex aggregation, and threshold comparisons contribute O(1) for fixed policy size. Summing the terms yields Equation (68). Fixing ni and K removes dependence on any growing history variable. □

The simulation’s 40-operation value is therefore a profile-specific operation proxy, not a universal instruction count and not an energy measurement. The asymptotic proposition and the measured/proxy quantities answer different questions.

7.1. Memory and Audit-Proof Complexity

For a fixed revocation cache implementation, per-message temporary algebraic memory is O(1) because two triples and a constant number of scores are retained. A risk bucket requires O(K) entries, bounded by policy. A Merkle inclusion proof for a batch of B leaves contains ⌈log2B⌉ sibling hashes for a balanced binary tree and is therefore O(logB) in proof size and verification hashes. The off-chain archive itself grows with the number of decisions; the protocol does not claim constant total audit-storage growth.

7.2. Formal Claim Matrix

Table 4 summarizes what is proved and what remains assumption-dependent.

Table 4.

Formal claims, assumptions, and non-claims.

Property Formal Support/Assumption What Is Not Claimed
YBE correctness Proposition 5 for all q≥2, s∈Zq YB equality is not identity/authenticity proof
Intermediate fault detection Proposition 7, isolated nonzero single-path perturbation No guarantee for common-mode or comparator compromise
Authentication preservation Propositions 12 and 13 No security if the underlying authenticator is itself broken
Risk normalization Proposition 2 No learned probability-of-compromise interpretation
Adaptive threshold safety Proposition 8 No complete long-horizon poisoning proof
Audit tamper evidence Proposition 9, collision resistance and authenticated root No completeness for evidence suppressed before submission
Revocation convergence Propositions 10 and 11 No deterministic bound during partitions or missed events
Incremental complexity Proposition 15 Operation count is not battery-energy measurement

7.3. Scope of Formal Assurance

The strengthened analysis proves the properties that follow from the specified algebra, control flow, bounded policy functions, Merkle construction, and conditional ledger model. A full end-to-end adversarial game for forgery, key compromise, enrollment, remote attestation, malicious context sources, Byzantine gateway coalitions, concrete Fabric endorsement policies, and recovery semantics would require fixing those mechanisms at implementation level. Such a proof is therefore not fabricated here. Instead, the manuscript provides explicit assumptions, theorem-level guarantees for the instantiated mathematical core, and a claim matrix that identifies the remaining trust boundaries.

7.4. Resistance to Forged Credential Transcripts

Let (ai,bi,ci)∈Zq3 be the reduced credential transcript obtained from the digest of an IoT message. The gateway computes two traversal outputs:

Li=(r⊗I)(I⊗r)(r⊗I)(ai,bi,ci), (69)
RiYB=(I⊗r)(r⊗I)(I⊗r)(ai,bi,ci). (70)

A credential transcript passes the algebraic comparator only if Li=RiYB. By Proposition 6, this equality holds for every correctly recomputed external input, including an externally modified one. The positive rejection statement is therefore restricted to the isolated one-path perturbation model of Proposition 7; when that perturbation causes the outputs to diverge, the gateway challenges the message and can store both final states as explainable audit evidence. External-message forgery resistance remains a property of Auth0, not of the YB equality.

7.5. Replay and Freshness Control

Replay resistance is supported by the inclusion of the nonce ni, timestamp ti, firmware evidence fwi, and contextual metadata ctxi in the credential digest. A replayed message may preserve a syntactically valid token, but it changes the freshness profile evaluated by Rfresh(ni,ti). Consequently, replayed or stale credentials can be challenged or revoked even when the algebraic transcript remains internally consistent.

7.6. Credential Cloning and Contextual Inconsistency

A cloned IoT credential may reuse a valid device identifier or token from a legitimate node. However, the proposed risk model also includes contextual information through Rctx(di), which can represent gateway identifier, location class, firmware version, device cluster, maintenance state, or operational time window. If a cloned credential is used from an inconsistent context, the gateway can increase the risk score and return a challenge or revocation decision according to the active Zero-Trust policy. Because the identifier is a ledger-anchored DID, a clone revoked at one gateway is rejected at every other consortium gateway within the staleness bound of Proposition 11.

7.7. Ledger-Backed Non-Repudiation and Revocation Integrity

A single compromised gateway may attempt to suppress, rewrite, or replay security verdicts. Under the assumptions of Section 3, three properties follow from the blockchain layer. First, tamper evidence: any modification of stored evidence Ei is detectable, because its Merkle inclusion proof no longer verifies against the anchored root Bj [5,33]. Second, non-repudiation: anchor and revocation transactions are signed by the issuing gateway and totally ordered by the ledger, so a gateway cannot later deny having issued a verdict [6]. Third, fork-free revocation: the monotone Revoked status and the quorum-gated reinstate transition prevent a minority coalition from reverting a revocation, so all honest gateways converge to a single global revocation view. These properties hold as long as the adversary does not control an endorsement quorum, which is the standard trust assumption of permissioned ledgers.

7.8. Bounded Kernel Complexity

The Yang–Baxter verification step is applied to a fixed-size transcript (ai,bi,ci). Since the number of pairwise transformations is constant, the kernel cost does not grow with the number of previous packets, traffic-window length, feature-vector dimension, or training-set size. The per-packet verification complexity of the algebraic kernel is therefore O(1), excluding standard digest computation and optional contextual policy checks. The revocation-cache lookup is an O(1) expected-time set-membership test, and all ledger interaction is asynchronous, so blockchain latency does not enter the packet decision path. This bounded cost is central for edge gateways that must authenticate large streams of IoT messages under latency and memory constraints.

7.9. Auditability and Explainability

For each evaluated message, the gateway can store compact audit evidence Ei=(hi,Ri,Decisioni), together with the traversal outputs when a mismatch occurs. Since the rejection cause can be represented as a concrete algebraic inconsistency or as an explicit risk-threshold violation, the decision is more explainable than purely black-box anomaly scores. The evidence is signed, summarized in a Merkle tree, and anchored on the permissioned blockchain, enabling third-party verification with logarithmic-size inclusion proofs.

The Merkle guarantee is limited to submitted evidence (Proposition 9); it does not prove completeness for events that a compromised gateway suppresses before batching.

7.10. Complementarity with Standard Authentication

YB-IoT-CG is designed as a complementary security layer. Standard mechanisms such as MACs, digital signatures, certificates, TLS, DTLS, MQTT security, secure elements, or device attestation remain necessary for cryptographic identity verification. The proposed kernel adds deterministic transcript consistency, risk scoring, ledger-verifiable revocation, and explainable rejection before cloud ingestion.

8. Experimental Setup

This section presents the experimental methodology used to evaluate the proposed Yang–Baxter IoT Consistency Gateway (YB-IoT-CG) through a controlled Python-based simulation. The evaluation does not correspond to a physical IoT deployment or to a full reproduction of a conventional intrusion-detection benchmark. Instead, it simulates representative packet-level authentication scenarios in which legitimate and adversarial IoT messages are generated under controlled traffic, delay, and attack conditions, following a simulation-oriented evaluation logic [43]. The blockchain layer is simulated through a ledger model parameterized with commit-latency and event-propagation distributions representative of permissioned platforms [6].

This section evaluates the incremental post-authentication YB-IoT-CG layer through a controlled Python simulation. It is not a physical IoT deployment, a hardware-energy benchmark, a large-scale DoS experiment, a live Hyperledger Fabric test, or a source-code reproduction of the compared publications. The simulator generates representative packet-level conditions after a common lower authentication precondition and evaluates the additional algebraic/risk decision path under controlled traffic, delay, and attack classes [43]. The ledger is represented by a parameterized model of commit and event-propagation delays [6]. Consequently, all absolute latency, operation-count, accuracy, and ledger results in this section are simulation outputs under the declared model and should not be interpreted as measurements of the cited systems on their original hardware.

8.1. Research Questions and Hypotheses

The evaluation is organized around four research questions:

  • RQ1 (Delivery): Does the deterministic Yang–Baxter kernel preserve legitimate telemetry delivery (goodput) at least as well as learning-based and delay-trust baselines under MitM pressure?

  • RQ2 (Latency and cost): Does the kernel achieve lower and more stable decision delay and per-packet complexity than the baselines?

  • RQ3 (Effectiveness): Does the simulator show high decision accuracy and low false rejection for the declared credential-manipulation/replay/context attack classes?

  • RQ4 (Blockchain overhead): Is the modeled ledger service-time equivalent, logical payload amortization, and revocation-propagation delay compatible with keeping blockchain activity off the edge decision path?

The corresponding working hypotheses are that YB-IoT-CG attains non-inferior goodput and high modeled decision accuracy (RQ1, RQ3), lower incremental delay and complexity medians within the parameterized simulator (RQ2), and low amortized logical ledger cost without adding a synchronous packet-path transaction (RQ4).

8.2. Design Goals Under Test

The objective of the Python simulation is to verify whether the proposed deterministic algebraic credential kernel, together with the ledger layer, satisfies the main design goals of this work: (i) preservation of useful telemetry delivery, (ii) low decision delay at the edge, (iii) bounded computational complexity, (iv) stable handling of replay/context anomalies and intentionally corrupted intermediate execution states, and (v) amortized, non-blocking blockchain anchoring, following standard performance-evaluation criteria for computer systems [44].

The Python simulation generates synthetic IoT packet streams containing both legitimate and adversarial messages under controlled traffic and attack conditions. The same simulated packet-level conditions are applied to all evaluated approaches in order to enable a consistent comparison, following a controlled experimental-design rationale [45]. The evaluation compares YB-IoT-CG with two recent MitM-oriented IoT security approaches. The first one is the learning-based MitM detection framework proposed by Ali and Al-Sharafi [17], which reports machine-learning and deep-learning classifiers for MitM attack mitigation in IoT networks. The second one is the instantaneous communication trust framework proposed by Basri et al. [20], which evaluates MitM behavior through communication-delay estimation and trust modeling. These works were selected because they represent two dominant families of MitM detection in IoT: learning-based traffic classification and delay-trust communication analysis.

Unlike these baselines, YB-IoT-CG does not infer attacks from traffic patterns, training data, or temporal sequence behavior. Instead, it performs deterministic credential verification using a fixed algebraic consistency relation. Therefore, the Python-based comparison focuses on metrics that capture operational behavior at the edge under simulated IoT conditions: goodput, decision delay, kernel complexity, detection accuracy, false rejection rate, the goodput–complexity trade-off, and the blockchain-anchoring overhead.

8.3. Statistical Summary Protocol

Each configuration is repeated over 60 independent runs with distinct random seeds. Randomness is controlled through a single master seed (20260705) expanded into independent substreams for the shared packet stream, profile-specific simulator noise, and the ledger model. For every metric, the median, interquartile range, and bootstrap 95% confidence interval of the median (10,000 resamples) are reported. Because Ali-RF and Basri-IPCTCM are synthetic methodological profiles rather than reproduced implementations measured at the same system boundary, no cross-method hypothesis test is used to support superiority, non-inferiority, or speedup claims. Inferential comparisons across those profiles were removed from the evidentiary argument; the remaining cross-profile values are descriptive outputs of the configured simulator scenario only [43,44,45].

8.4. Comparative Baselines

Three approaches are compared in the evaluation. The first baseline corresponds to the best reported learning-based MitM detection profile from Ali and Al-Sharafi [17]. Since the original trained models, datasets, feature vectors, and hyperparameters are not fully reproduced in this work, this baseline is implemented as a reported classifier-level profile. In the simulation, this profile represents the behavior of a Random-Forest-based MitM detector with high detection accuracy but with non-negligible inference and feature-processing cost.

The second baseline corresponds to the IPCTCM delay-trust model proposed by Basri et al. [20]. Rather than repeating the mathematical formulation already presented in that work, this paper uses it as a delay-trust communication baseline. In the simulation, the baseline represents the reported methodological behavior of IPCTCM: expected communication-delay estimation, instantaneous deviation analysis, trust scoring, and threshold-based MitM decision.

The third approach is the proposed Baxter/YB-IoT-CG deterministic credential kernel with blockchain anchoring. This kernel evaluates whether a packet credential transcript satisfies a fixed algebraic consistency condition. Given the same credential transcript, the same decision is always produced. This deterministic behavior is the main reason why the proposed kernel can reduce decision delay, computational complexity, and decision variability, while the asynchronous ledger client keeps anchoring off the packet path.

The cited papers define methodological families rather than reproduced implementations. The numerical values used by the Ali-RF and Basri-IPCTCM profiles below—including their simulator accuracies, latency distributions, and operation-count proxies—are outputs of the common synthetic simulator and are not the published benchmark values of the source papers. Accordingly, cross-profile ratios and statistical tests are treated only as descriptive properties of this configured simulator scenario; they are not evidence of method-level superiority over the cited external works. Table 5 summarizes the comparative evaluation framework.

Table 5.

Comparative evaluation framework.

Approach Security Kernel Main Detection Principle Evaluation Role
Ali and Al-Sharafi [17] Reported RF-based ML profile Traffic-feature classification for MitM detection Learning-based baseline
Basri et al. [20] Reported IPCTCM delay-trust profile Communication-delay trust estimation Instantaneous trust baseline
Proposed YB-IoT-CG Deterministic Yang–Baxter credential kernel with blockchain anchoring Algebraic credential consistency, deterministic acceptance/rejection, on-chain revocation Proposed lightweight kernel

8.5. Experimental Factors, Levels, and Parameters

The experiment was designed as a controlled packet-level simulation. Each run generates a stream of IoT packets containing legitimate and adversarial messages. The same synthetic packet stream is supplied to all profiles to control scenario input; this does not make the methods methodologically equivalent because their implementations and measurement boundaries differ.

The simulated IoT message is represented as

Mi=(di,τi,ni,ti,pi,σi), (71)

where di is the device identifier, τi is the session token, ni is the nonce, ti is the credential/message timestamp, pi is the useful payload, and σi is the MAC or digital signature generated by the lower authentication layer. Packet arrival time is represented separately by tarrival,i. The simulator evaluates the incremental YB-IoT-CG layer after successful base authentication; it does not reinterpret τi or σi.

The experimental factors and their levels are summarized in Table 6. These factors were selected to capture the conditions that most directly affect credential verification, MitM detection, and ledger interaction: traffic volume, attack intensity, useful payload size, observation window, decision-kernel type, anchoring batch size, and ledger commit latency, which are treated as controlled experimental factors [45].

Table 6.

Experimental factors, levels, and simulation parameters.

Factor Level/Value Parameter Purpose
Number of runs 60 repetitions RUNS = 60 Generate stable statistical distributions
Packets per run 1000 packets PACKETS_PER_RUN = 1000 Model repeated IoT telemetry transmission
Payload size 256 bytes PAYLOAD_BYTES = 256 Estimate useful delivered telemetry
Attack rate 30% malicious packets ATTACK_RATE = 0.30 Represent MitM pressure over the packet stream
Observation window 10 s WINDOW_SECONDS = 10 Normalize goodput in bytes per second
Compared kernels Ali-RF, Basri-IPCTCM, YB-IoT-CG SYSTEMS Evaluate learning, delay-trust, and deterministic algebraic approaches
Normal delay Mean 80 ms, std. 10 ms N(0.080,0.010) Model legitimate IoT communication delay
MitM extra delay Mean 180 ms,
std. 35 ms
N(0.180,0.035) Model additional delay caused by interception or manipulation
YB modulus 997 q=997 Finite non-cryptographic algebraic domain; the full 256-bit digest remains the security/audit binding
Anchoring batch size 64 evidence records BATCH_B = 64 Amortize ledger transactions over decisions
Ledger commit latency Mean 2.0 s, std. 0.4 s N(2.0,0.4) Model permissioned-ledger finality [6]
Event propagation delay Mean 150 ms,
std. 40 ms
N(0.150,0.040) Model revocation-event fan-out to gateways

Risk-policy parameter disclosure for reproducibility. The following values are the exact risk-policy parameters used in the reported simulation and have been cross-checked against the original simulation notebook. They are published here to make the configured policy and its update behavior fully reproducible; the reported figures and summary statistics therefore remain unchanged. Table 7 lists these parameters.

Table 7.

Risk-policy parameters used in the reported simulation.

Parameter Exact Simulation Value Role/Update Rule
α 0.15 Weight of Rchain
β 0.60 Weight of Rfresh
γ 0.25 Weight of Rctx; α+β+γ=1
θrisk(0) 0.60 Initial challenge/risk threshold
θrevoke 0.85 Corroborated-revocation threshold; fixed during the deployment epoch
θmin,θmax 0.50, 0.70 Bounds for adaptive θrisk
δclk 20 ms Tolerated clock-skew bound
Δsoft 100 ms Soft timestamp-age limit
Δhard 200 ms Hard timestamp-age limit
W 10 s Active authenticated-nonce replay window
ξℓ 0.50forallℓ Context-severity threshold(s) used for corroboration
wℓ 1/mforallℓ Context-predicate weights, with ∑ℓwℓ=1
λ 0.05 EWMA coefficient
η 0.01 Maximum absolute threshold change per accepted update
J 256 Number of deterministic endpoint-index buckets
K 8 Maximum risky endpoints inspected in the queried bucket
Initial replay state Empty authenticated-nonce history Initial state of Nd(W) at the start of each run
Initial endpoint/registry state Fixed preloaded endpoint set; empty revocation cache Initial risky-endpoint and revocation-cache state
Threshold update frequency After each authenticated Accept θrisk is updated only after an authenticated accepted message; challenged, revoked, and unauthenticated messages do not update it

8.6. Rationale for Metric Selection

The selected metrics were chosen because they directly evaluate the design claims of YB-IoT-CG and follow standard system-performance evaluation practice [44].

First, goodput measures the amount of legitimate telemetry that is accepted and delivered to the application layer. This is essential because an edge security mechanism should not only reject malicious traffic, but also preserve useful data delivery.

Second, decision delay measures the time introduced by the security kernel before a packet is accepted or rejected. This metric is critical in IoT environments, where edge devices frequently operate under strict latency constraints.

Third, kernel complexity measures the computational effort required per packet. This metric is necessary because the proposed mechanism targets resource-constrained environments, where recurrent inference, long traffic windows, or high-dimensional feature extraction may be expensive.

Fourth, detection accuracy is included to preserve comparability with classification-oriented MitM detection studies. Although YB-IoT-CG is not a conventional classifier, accuracy provides a general measure of correct acceptance and rejection decisions.

Fifth, false rejection rate is included because excessive rejection of legitimate packets directly reduces useful telemetry delivery and can damage IoT service continuity.

Sixth, three blockchain-oriented metrics quantify the ledger layer: amortized ledger service-time equivalent per decision (ttx/B), logical on-chain payload per decision, and empirically modeled revocation propagation time (interpreted under Proposition 11), together with audit completeness, defined as the fraction of decisions covered by a verifiable Merkle inclusion proof against an anchored root.

Finally, the goodput–complexity trade-off summarizes the main contribution of the paper: YB-IoT-CG seeks to preserve useful traffic while maintaining a small and deterministic decision kernel whose verdicts are ledger-verifiable.

8.7. Goodput Metric

Goodput measures only useful accepted traffic. Unlike throughput, which counts all transmitted traffic, goodput excludes rejected packets and malicious packets. For the evaluated IoT security mechanisms, goodput is defined as

G=∑i=1Npi·I(Di=Accept)·I(Mi=Legitimate)ΔT, (72)

where pi is the useful payload size, Di is the security decision, I(·) is the indicator function, Mi is the true packet condition, and ΔT is the observation interval.

Higher goodput indicates that a larger amount of valid telemetry reaches the application layer. In this evaluation, goodput is especially important because YB-IoT-CG is deterministic: valid authenticated credential transcripts are consistently accepted, while modeled replay/context anomalies and intentionally inconsistent intermediate states are challenged or rejected before cloud admission.

8.8. Decision Delay

Decision delay measures the latency introduced by the security mechanism. For message Mi, it is defined as

Δti=tdecision,i−tarrival,i. (73)

For the proposed framework, the delay can be decomposed as

ΔtiYB=tH+tρ+tYBE+tD, (74)

where tH is digest computation time, tρ is algebraic reduction time, tYBE is Yang–Baxter consistency verification time, and tD is decision-policy execution time. Ledger anchoring is asynchronous and therefore does not appear in Equation (74); its amortized cost is reported separately through Equation (65).

The reported ΔtiYB is the incremental post-authentication stage. A complete deployment additionally incurs the pre-existing tAuth0 cost. Consequently, the 7.8 μs result is not an end-to-end credential-authentication time, and ttx/B is not individual audit-verifiability latency.

For the learning-based baseline, the delay is described in terms of feature extraction and model inference, following the methodological profile reported by Ali and Al-Sharafi [17]. For the delay-trust baseline, the delay is associated with communication-delay estimation and trust-decision computation, as reported by Basri et al. [20]. This avoids restating the full internal formulations of the compared works and keeps the analysis focused on the proposed kernel.

8.9. Computational Complexity Analysis

The third metric evaluates the computational complexity of each decision kernel.

For the learning-based baseline, the decision cost is interpreted according to the classifier-based detection pipeline reported by Ali and Al-Sharafi [17]. In general terms, this cost is associated with traffic-feature preparation and model inference. Since the original trained model, dataset, and implementation parameters are not reproduced here, the baseline is used as a reported learning-based profile rather than as a source-code reproduction.

For the Basri et al. delay-trust baseline, the cost is interpreted according to the IPCTCM communication-trust procedure [20]. Instead of repeating the mathematical equations already provided in that article, the present work represents the baseline at the kernel-profile level, considering delay estimation, trust-score computation, and decision thresholding as the main sources of computational cost.

For the proposed YB-IoT-CG kernel, the credential digest is reduced to a fixed algebraic transcript

ρq(hi)=(ai,bi,ci). (75)

The deterministic Yang–Baxter consistency condition is then evaluated over this fixed transcript. Since the transcript size is fixed, the number of pairwise algebraic operations does not grow with traffic history, sequence length, or model size. Therefore, the Yang–Baxter verification stage has bounded kernel cost with respect to the number of packets.

The total proposed kernel cost can be summarized as the combination of digest processing, algebraic reduction, consistency checking, revocation-cache lookup, and decision execution. This bounded-complexity behavior, combined with the O(1/B) on-chain storage of Equation (65), is one of the main expected advantages of the proposed framework.

Proposition 15 refines this statement to Θ(|Ci|)+Θ(K)+O(1). Fixed record size and deployment-bounded K yield O(1) only with respect to growing history/window/training-set variables; variable raw-payload hashing is Θ(|pi|). The 40-operation value used by the simulator is a profile-specific proxy and is not a battery-energy measurement.

8.10. Reproducibility

All simulation code, the seed-derivation tree, kernel-profile parameters, ledger-model parameters, and figure-generation scripts are packaged as a single Python notebook that regenerates every reported figure, table, and statistical test deterministically from the master seed with one command (“Run all”). The notebook exports the raw per-run results, the seed manifest, the recorded software environment, and the summary statistics as machine-readable files; all deterministic outputs are bit-identical across executions, and the only non-deterministic quantity is the wall-clock timing of the measured YB kernel, which remains sub-millisecond on commodity hardware. The artifact is available from the corresponding author upon reasonable request and is intended for public release upon acceptance.

9. Results and Discussion

9.1. Simulation-Based Validation and Figures

The evaluation generates six figures that directly support the claims of the article. These figures are selected because they jointly evaluate useful traffic delivery, latency, computational cost, security effectiveness, preservation of legitimate packets, and the trade-off between useful delivery and complexity. Table 8 reports descriptive summaries of the five packet-level metrics over the 60 seeded runs. Cross-profile hypothesis-test columns have been removed because the external methods are not reproduced at an equivalent measurement boundary. The blockchain-anchoring overhead is reported separately in Section 9.2.

Table 8.

Descriptive packet-level simulator outputs over 60 seeded runs: median [IQR] and bootstrap 95% CI of the median.

Metric Ali-RF Simulator Profile Basri-IPCTCM Simulator Profile YB-IoT-CG
Goodput (B/s) 17,356.8 [17,120.0–17,664.0] CI (17,267.2–17,561.6) 17,497.6 [17,126.4–17,670.4] CI (17,305.6–17,561.6) 17,894.4 [17,555.2–18,060.8] CI (17,650.9–17,945.6)
Decision delay (ms) 4.396 [4.379–4.420] CI (4.388–4.406) 89.957 [89.495–90.695] CI (89.793–90.357) 0.0078 [0.0078–0.0079] CI (0.0078–0.0078)
Kernel complexity (ops/packet) 1251.0 [1246.7–1254.6] CI (1248.4–1253.0) 420.2 [419.0–421.6] CI (419.7–421.0) 40 [40–40] CI (40–40)
Aggregate decision accuracy (%) 96.50 [96.10–96.90] CI (96.20–96.70) 98.10 [97.78–98.50] CI (97.95–98.20) 99.40 [99.30–99.50] CI (99.40–99.40)
False rejection rate (%) 2.83 [2.45–3.44] CI (2.75–3.02) 2.70 [2.17–3.19] CI (2.51–2.93) 0.43 [0.29–0.58] CI (0.42–0.56)

The labels Ali-RF and Basri-IPCTCM in the result figures/tables identify simulator profiles inspired by the corresponding methodological families. Their numerical values (including 96.50% and 98.10% simulated accuracy, the delay distributions, and operation-count proxies) are not presented as the published values of the cited papers.

Figure 3 reports the goodput generated by the three simulator profiles under the common synthetic traffic scenario. The corresponding medians are 17,894.4 B/s for YB-IoT-CG, 17,356.8 B/s for Ali-RF, and 17,497.6 B/s for Basri-IPCTCM. These differences are reported descriptively only. Because Ali-RF and Basri-IPCTCM are parameterized profiles rather than reproduced implementations, neither the percentage gaps nor the associated rank tests are interpreted as evidence that YB-IoT-CG is superior to the cited methods.

Figure 3.

Figure 3

Goodput comparison among the Ali-RF simulator learning-based profile, the Basri-IPCTCM simulator delay-trust profile, and the proposed YB-IoT-CG deterministic credential kernel.

Figure 4 reports simulator-profile decision delay on a logarithmic scale. The YB-IoT-CG value is the measured wall-clock time of the complete incremental post-authentication kernel (digest, reduction, double traversal, and policy), with a median of 7.8 μs; it is not end-to-end authentication latency and not YB-only traversal latency. The Ali-RF and Basri-IPCTCM values arise from different synthetic profile definitions and measurement semantics. They are therefore shown for internal scenario characterization only; speedup factors and cross-method significance claims are not used to establish superiority over the external works.

Figure 4.

Figure 4

Decision-delay comparison among the evaluated kernels.

Figure 5 reports the operation-count proxies used by the simulator. The YB-IoT-CG profile uses a fixed 40-operation proxy for the configured record size and endpoint bound. This supports only the internal bounded-cost property formalized in Proposition 15; the 420.2 and 1251.0 operation values belong to synthetic baseline profiles and are not reproduced hardware or source-code measurements. Ratios between these proxies are therefore descriptive scenario quantities, not method-level complexity speedups.

Figure 5.

Figure 5

Kernel-complexity comparison in operations per packet.

Figure 6 reports aggregate decision accuracy for the configured simulator profiles. YB-IoT-CG reaches a median of 99.40% for the complete composed policy. This value must not be attributed to the Yang–Baxter stage alone: replay detection is produced by freshness/nonce state, clone detection by contextual policy, and only the explicitly injected isolated intermediate-state corruption is assigned to YB path divergence. The Ali-RF and Basri-IPCTCM percentages are simulator-profile outputs rather than replicated published measurements; consequently, cross-profile significance tests are not interpreted as evidence of external-method superiority.

Figure 6.

Figure 6

Detection-accuracy comparison among the evaluated approaches.

Figure 7 reports false rejection within the configured simulator. The YB-IoT-CG composed policy has a median false rejection rate of 0.43%, while the two synthetic comparison profiles produce 2.83% and 2.70%. These values are retained as internal scenario outputs only; no cross-method superiority claim is made. Residual YB-IoT-CG false rejections correspond to legitimate maintenance traffic whose contextual anomaly produces a Challenge, which can be recovered through re-authentication.

Figure 7.

Figure 7

False rejection rate for legitimate packets.

Figure 8 visualizes the internal trade-off produced by the configured simulator profiles. It is descriptive rather than a methodologically equivalent benchmark: the baseline coordinates are synthetic profile outputs, whereas YB-IoT-CG is measured as the local post-authentication kernel. The figure is therefore used to illustrate the scenario design space and not to claim general superiority, speedup, or statistically established dominance over the cited external methods.

Figure 8.

Figure 8

Goodput–complexity trade-off among the evaluated kernels.

9.2. Blockchain Anchoring and Revocation Overhead

Table 9 summarizes the modeled logical ledger results under the parameters of Table 6. For B=64 and a mean modeled commit time of 2.0 s, ttx/B has a median of 31.4 ms [26.7–35.5]. Following the revised terminology of Section 6.6, this value is an amortized ledger service-time equivalent; it is not the time at which an individual decision becomes verifiable on-chain. Individual verifiability also includes batch-fill/flush waiting and commit time. Likewise, 0.81 B/decision is only the logical application payload (32-byte root plus 20 bytes of modeled metadata amortized over 64 decisions); transaction envelopes, signatures, indexing, block headers, endorsements, and replication are not included.

Table 9.

Modeled ledger-layer overhead over 60 seeded runs (median [IQR]).

Metric Value Interpretation
Amortized ledger service-time equivalent 31.4 [26.7–35.5] ms ttx/B for B=64; not individual verification latency
Logical anchor payload per decision 0.81 [0.81–0.81] B root + modeled metadata only; physical ledger overhead excluded
Anchor transactions per 1000 packets 16 [16–16] ⌈1000/64⌉ after final flush
Modeled revocation propagation time 2.15 [1.88–2.42] s empirical Tc+Te distribution; not a hard deterministic bound
Revocation transactions per run 292 [286–305] confirmed simulated adversarial credentials under the declared policy
Audit completeness after final flush 100% all decision branches generate evidence in the simulator
Synchronous ledger operations on packet path 0 asynchronous audit; local cache lookup only

Exactly ⌈1000/64⌉=16 anchor transactions are emitted per run after the closing batch is flushed. Modeled revocation propagation has a median of 2.15 s [1.88–2.42], which is reported as an empirical distribution rather than as a deterministic bound because the simulated commit and event delays are stochastic. Audit completeness reaches 100% in the simulator because Algorithm 1 emits evidence for all three decision branches and the final partial batch is flushed. The packet path performs no synchronous ledger transaction.

9.3. Analysis of Results

Within the declared parameterized simulator, the results support the narrower hypothesis that a deterministic post-authentication credential-screening layer can provide a low-complexity complement to traffic-centric MitM detection while keeping the modeled ledger path asynchronous. Each research question of Section 8.1 can now be answered against its working hypothesis.

RQ1 (Delivery). Within the configured common simulator, the YB-IoT-CG profile produces a median goodput of 17,894.4 B/s versus 17,356.8 and 17,497.6 B/s for the two synthetic comparison profiles. This is an internal scenario result only; it does not establish non-inferiority or superiority with respect to the cited external implementations.

RQ2 (Latency and cost). The complete YB-IoT-CG post-authentication kernel has a median measured decision time of 7.8 μs and a configured 40-operation proxy. Because the external profiles use different simulated semantics and are not source-code reproductions, the cross-profile ratios are not interpreted as speedup factors. The supported claim is narrower: the proposed kernel has bounded incremental cost with respect to traffic history for fixed record size and endpoint bound K, and ledger interaction is asynchronous.

RQ3 (Effectiveness and mechanism attribution). The composed YB-IoT-CG policy reaches 99.40% median aggregate decision accuracy and 0.43% median false rejection in the declared simulator. Mechanism attribution is explicit: Auth0 supplies authenticity, freshness detects replay/staleness, contextual policy addresses clone/context anomalies, the registry propagates revocation, and the YB comparator detects only the restricted isolated intermediate-state perturbation of Proposition 7. Proposition 6 precludes attributing arbitrary external-forgery detection to Yang–Baxter equality.

RQ4 (Blockchain overhead). The simulation supports the narrower claim that the ledger path can remain decoupled from packet admission. Table 9 reports a 31.4 ms amortized service-time equivalent and 0.81 B logical anchor payload per decision for B=64, while the packet path performs no synchronous ledger operation. The 2.15 s revocation value is an empirical modeled propagation time rather than a deterministic bound. Real Fabric transaction envelopes, endorsement overhead, physical replicated storage, partitions, and revocation storms are not measured here.

Finally, Figure 8 summarizes the configured simulator trade-off. The empirical contribution claimed here is limited to the measured behavior of the proposed post-authentication kernel and ledger model under the declared scenario; the figure is not used as a statistically equivalent benchmark against the cited external methods.

Together, Table 8, the six figures, and the blockchain-overhead table provide quantitative evidence that YB-IoT-CG is not intended to replace all forms of traffic-based intrusion detection. Instead, it offers a complementary credential-hygiene layer that is deterministic, bounded in complexity, low in latency, blockchain-anchored, and suitable for resource-constrained IoT gateways. Two honest caveats accompany these numbers: the baselines are reported methodological profiles rather than source-code reproductions (Section 10), and the YB decision-path timing is produced by the declared Python-based simulation environment rather than a physical IoT testbed, so absolute hardware latency and energy remain unmeasured.

A related direction is the integration of the OWL password-authenticated key exchange protocol into IoT application protocols such as CoAP [46]. This approach addresses authenticated session establishment, whereas YB-IoT-CG operates after the underlying authentication step and adds credential screening, revocation, and audit support. Evaluating their composition would require explicit interface and security assumptions and a common implementation; such integration was not evaluated in the present study.

10. Limitations

Although the proposed YB-IoT-CG framework provides a deterministic and explainable credential-screening mechanism with blockchain-anchored auditability, several limitations must be acknowledged. First, the current evaluation is based on a controlled Python simulation rather than on a large-scale physical IoT testbed. Therefore, the reported results should be interpreted as simulation-based evidence of the kernel behavior and not as final deployment measurements.

Second, the compared baselines are represented as reported methodological profiles rather than full source-code reproductions of the original works. This choice enables a controlled conceptual comparison under the same simulated packet-level conditions, but future work should implement the baselines under the same software and hardware conditions to provide a fully reproducible benchmark.

Third, the modular Yang–Baxter map used in the illustrative example is pedagogical. A production-grade deployment should evaluate alternative non-degenerate set-theoretic Yang–Baxter solutions and formally verify their suitability for credential screening, collision monitoring, and bounded edge execution.

Fourth, the risk score depends on threshold calibration and on the quality of the available contextual information. Incorrect thresholds or incomplete contextual metadata may increase false challenges or false rejections. For this reason, threshold recalibration and policy governance must be validated for each application domain.

Fifth, the blockchain layer is evaluated through a parameterized ledger model rather than a deployed Fabric or EVM network; real deployments exhibit consensus-dependent latency variability, endorsement-policy failures, ordering backpressure under bursty revocation storms, and governance costs of quorum-based reinstatement that the model only approximates. The staleness bound of Proposition 11 is conditional on explicit hard synchrony premises and also inherits the safety and liveness assumptions of the underlying ledger, and public-network realizations would add fee-market variability [42].

Finally, YB-IoT-CG does not replace conventional cryptographic authentication, network intrusion detection, firmware attestation, or physical tamper protection. It should be deployed as an additional credential-hygiene layer within a broader Zero-Trust IoT architecture.

Additional revision-scope limitations. The evaluation is not a physical ESP32/ARM Cortex-M testbed and does not reproduce real interrupt scheduling, radio contention, jitter, memory pressure, clock drift, secure-element latency, or battery consumption. Operation count and O(1) incremental complexity are complexity indicators, not energy measurements.

YB-IoT-CG assumes a preceding secret-based authentication layer. If that MAC/ signature/certificate/private-key layer is compromised, the Yang–Baxter stage does not restore authenticity. Proposition 6 proves that any honestly recomputed external input is YB-consistent; the positive detection guarantee is limited to Proposition 7.

The proactive risk score is deterministic and policy-based, not a trained predictor. Thresholds and risky-endpoint sets are deployment inputs, and long-horizon adaptive-threshold poisoning has not been experimentally stress-tested despite the bounded per-update rule.

The bounded-update invariant of Proposition 8 limits the displacement caused by each accepted update but does not establish resistance to cumulative adversarial drift over a long sequence of authenticated, accepted observations. No long-horizon adaptive-poisoning campaign was conducted in the present study; resistance to such poisoning is therefore not claimed and remains a limitation and topic for future work.

The Brauer construction is structural only, and HB is not used in any collision bound. Collision screening is expressed instead through the actual reduced-space distribution in Proposition 4; the q=997 state remains non-cryptographic, as formalized by Proposition 1.

The ledger contribution is an architectural data model and parameterized simulation, not an executed Fabric/EVM implementation. The 31.4 ms quantity is an amortized service-time equivalent and 0.81 B is logical application payload; physical transaction envelopes, endorsements, indexing, replication, partitions, missed events, and governance costs are not measured. A compromised gateway can suppress an event before submission.

The 1000-packet/30% attack setup is not a large-scale DoS, distributed-flooding, or revocation-storm benchmark. Authentication-first ordering limits unnecessary post-authentication work, but volumetric DoS resistance requires infrastructure-level controls and separate evaluation.

The external baselines are parameterized methodological profiles rather than source-code reproductions; cross-profile ratios are descriptive simulator outputs and are not presented as speedups over the cited methods.Finally, the formal propositions do not constitute a complete deployment-specific adversarial game for enrollment, key compromise, malicious context sources, Byzantine gateway coalitions, a concrete Fabric endorsement/ordering configuration, or recovery semantics.

11. Conclusions

This paper presented YB-IoT-CG, a deterministic and lightweight additional post-authentication security architecture for IoT environments based on Yang–Baxter algebraic consistency and a modeled permissioned-ledger design. The article was evaluated through a controlled Python-based packet-level simulation designed to analyze goodput, decision delay, kernel complexity, detection accuracy, false rejection, the goodput–complexity trade-off, and the overhead of Merkle-batched blockchain anchoring and on-chain revocation. The proposed scheme represents each device credential as a fixed algebraic transcript and verifies whether two Yang–Baxter traversal paths produce the same result. This formulation enables credential verification to be performed without traffic-history accumulation, recurrent inference, or model-dependent feature extraction, while every verdict remains verifiable against a tamper-evident ledger.

Over 60 seeded runs, the complete YB-IoT-CG post-authentication pipeline obtained a median incremental decision time of 7.8 μs, a configured 40-operation proxy for the fixed simulation profile, 99.4% aggregate decision accuracy for the declared modeled classes, and a 0.43% false rejection rate. The two external approaches are retained only as synthetic methodological profiles; their numerical outputs are not source-code reproductions and are not used to claim speedup, superiority, or statistically equivalent benchmarking. The supported complexity claim is that the proposed algebraic/policy stage has bounded cost with respect to traffic history when record size and K are fixed, as refined by Proposition 15. The Merkle-batched model provides 0.81 B logical anchor payload per decision and a 31.4 ms amortized ledger service-time equivalent for B=64, while the 2.15 s revocation value is an empirical modeled propagation time rather than an unconditional deterministic staleness bound.

These quantitative comparisons are outputs of the common simulator and are not measurements of ESP32/ARM hardware or source-code reproductions of the external baseline implementations. The public Yang–Baxter map does not replace the secret-bearing authentication layer; Proposition 6 gives the negative boundary explicitly, while Proposition 7 gives the scoped positive consistency result.

Overall, YB-IoT-CG should be understood as a complementary credential-hygiene layer rather than a replacement for all traffic-based intrusion-detection mechanisms. Its main contribution is a post-authentication credential-hygiene architecture that combines explicit policy enforcement, a narrowly scoped redundant execution-consistency check, and ledger-verifiable revocation/audit support. By combining algebraic consistency checking with risk-aware decision policies, contextual governance, DID-based identity binding, and Merkle-anchored auditability, the scheme provides a structured path toward more transparent and efficient IoT credential management.

Future work will validate the same architecture on ESP32- and ARM Cortex-M-class devices and industrial gateways; measure CPU, memory, battery energy, and real network jitter; integrate MQTT 5.0 over TLS 1.3 and CoAP over DTLS 1.3; deploy the registry and Merkle anchoring on a live Hyperledger Fabric consortium; evaluate batch sizes and revocation storms under real ordering backpressure; add signed-receipt/sequence or gateway-attestation mechanisms for evidence completeness; compare production-grade Yang–Baxter constructions; and develop formal composition proofs and smart-contract verification for the selected implementation.

Research Stay and Project Context

Part of the conceptual development, architectural refinement, and international scientific collaboration associated with this work is linked to a postdoctoral research stay at the BISITE Research Group (Bioinformatics, Intelligent Systems and Educational Technology), University of Salamanca, Spain.

The research stay is conducted within the framework of the project entitled “Arquitectura Zero-Trust y Validación Formal Inteligente para una Plataforma de NFTs con Regalías Seguras y Privacidad por Diseño en la Economía Cultural del Atlántico”, corresponding to BPIN 2022000100083. This research project is part of the strategic initiative aimed at strengthening blockchain-based digital infrastructures and secure smart-contract technologies for the creative economy in the Department of Atlántico, Colombia.

The proposed research contributes methodological and technological knowledge in artificial intelligence, cybersecurity, privacy-preserving architectures, blockchain interoperability, trustworthy AI, and formal validation methodologies, whose scientific advances are transferable to digital health and intelligent telemedicine systems.

Although the postdoctoral research framework provides an environment for international collaboration and scientific exchange, the conception, methodology, implementation, experimental evaluation, and conclusions presented in this manuscript were independently developed by the authors and are not conditioned by the objectives of the aforementioned blockchain project.

Acknowledgments

Los autores agradecen sinceramente al Grupo de Investigación BISITE (Bioinformática, Sistemas Inteligentes y Tecnología Educativa), Universidad de Salamanca, España, por proporcionar el entorno científico que respaldó la estancia de investigación posdoctoral de Yair E. Rivera-Julio. Los autores también agradecen a la Universidad Autónoma del Caribe por el apoyo a la movilidad posdoctoral bajo el proyecto BPIN 2022000100083, y agradecen a todos los profesionales de la salud, cuidadores, y participantes involucrados en esta investigación.

Abbreviations

The following abbreviations are used in this manuscript:

ABAC Attribute-Based Access Control
AI Artificial Intelligence
CoAP Constrained Application Protocol
DID Decentralized Identifier
DTLS Datagram Transport Layer Security
EVM Ethereum Virtual Machine
IoT Internet of Things
IPCTCM Instantaneous Packet Communication Trust Calculation Model
MAC Message Authentication Code
MitM Man-in-the-Middle
MQTT Message Queuing Telemetry Transport
PKI Public Key Infrastructure
PUF Physically Unclonable Function
TEE Trusted Execution Environment
TLS Transport Layer Security
TMTO Time–Memory Trade-Off
VC Verifiable Credential
YB Yang–Baxter
YBE Yang–Baxter Equation
YB-IoT-CG Yang–Baxter IoT Consistency Gateway
ZKP Zero-Knowledge Proof

Author Contributions

Y.E.R.-J.: Conceptualization, Software, Investigation, Data curation, Writing—original draft preparation. J.P.T.: Methodology, Formal analysis, Writing—review and editing, Supervision, Project administration, Funding acquisition. E.A.L.-N.: Validation, Resources, Visualization. All authors have read and agreed to the published version of the manuscript.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The complete simulation artifact—a single Python notebook that deterministically regenerates every figure, table, and statistical test in this article from the master seed 20260705, together with the seed manifest, per-run raw results, and recorded software environment—is available from the corresponding author upon reasonable request and is intended for public release upon acceptance.

Conflicts of Interest

The authors declare no conflicts of interest.

Funding Statement

This research received partial institutional support through the Postdoctoral Research Stay Program associated with the project “Implementation of a Web and Mobile Platform to Strengthen the Commercialization of Artistic Production through the Use of NFTs and Smart Contracts under Blockchain Technology in the Department of Atlántico” (BPIN 2022000100083), funded by Colombia’s General System of Royalties (SGR). The authors express their gratitude to the Ministerio de Ciencia, Tecnología e Innovación de Colombia (Minciencias) for supporting the development of this research project. The international research stay is hosted by the BISITE Research Group, University of Salamanca, Spain. This work has also been partially supported by the OSTARA project (grant number PCI2026-177466-1) under the Partnership for Research and Innovation in the Mediterranean Area (PRIMA), the MICIU/AEI/10.13039/501100011033, and the European Union. The funders had no role in the study design, data collection, analysis, interpretation of data, writing of the manuscript, or decision to publish the results.

Footnotes

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

References

  • 1.Ammar M., Russello G., Crispo B. Internet of Things: A survey on the security of IoT frameworks. J. Inf. Secur. Appl. 2018;38:8–27. doi: 10.1016/j.jisa.2017.11.002. [DOI] [Google Scholar]
  • 2.Rose S., Borchert O., Mitchell S., Connelly S. Zero Trust Architecture. National Institute of Standards and Technology; Gaithersburg, MD, USA: 2020. NIST Special Publication 800-207. [DOI] [Google Scholar]
  • 3.Rump W. Braces, radical rings, and the quantum Yang–Baxter equation. J. Algebra. 2007;307:153–170. doi: 10.1016/j.jalgebra.2006.03.040. [DOI] [Google Scholar]
  • 4.Hellman M.E. A cryptanalytic time-memory trade-off. IEEE Trans. Inf. Theory. 1980;26:401–406. doi: 10.1109/TIT.1980.1056220. [DOI] [Google Scholar]
  • 5.Merkle R.C. A digital signature based on a conventional encryption function. In: Pomerance C., editor. Advances in Cryptology—CRYPTO ’87. Volume 293. Springer; Berlin/Heidelberg, Germany: 1988. pp. 369–378. Lecture Notes in Computer Science. [DOI] [Google Scholar]
  • 6.Androulaki E., Barger A., Bortnikov V., Cachin C., Christidis K., Caro A.D., Enyeart D., Ferris C., Laventman G., Manevich Y., et al. Hyperledger Fabric: A distributed operating system for permissioned blockchains; Proceedings of the Thirteenth EuroSys Conference (EuroSys ’18); Porto, Portugal. 23–26 April 2018; pp. 30:1–30:15. [DOI] [Google Scholar]
  • 7.Sporny M., Longley D., Sabadello M., Reed D., Steele O., Allen C. Decentralized Identifiers (DIDs) v1.0: Core Architecture, Data Model, and Representations. W3C Recommendation. Jul, 2022. [(accessed on 28 July 2026)]. Available online: https://www.w3.org/TR/did/
  • 8.Son S., Kwon D., Lee S., Kwon H., Park Y. A Zero-Trust Authentication Scheme With Access Control for 6G-Enabled IoT Environments. IEEE Access. 2024;12:154066–154079. doi: 10.1109/ACCESS.2024.3484522. [DOI] [Google Scholar]
  • 9.Yang X., Yang X., Yi X., Khalil I., Zhou X., He D., Huang X., Nepal S. Blockchain-Based Secure and Lightweight Authentication for Internet of Things. IEEE Internet Things J. 2022;9:3321–3332. doi: 10.1109/JIOT.2021.3098007. [DOI] [Google Scholar]
  • 10.O’Connor J., Aumasson J.-P., Neves S., Wilcox-O’Hearn Z. BLAKE3: One Function, Fast Everywhere; Author-Published Specification, 2020. [(accessed on 28 July 2026)]. Available online: https://github.com/BLAKE3-team/BLAKE3-specs.
  • 11.Zhou X., Wang S., Wen K., Hu B., Tan X., Xie Q. Security-Enhanced Lightweight and Anonymity-Preserving User Authentication Scheme for IoT-Based Healthcare. IEEE Internet Things J. 2024;11:9599–9609. doi: 10.1109/JIOT.2023.3323614. [DOI] [Google Scholar]
  • 12.Guo Y., Zhang Z., Guo Y., Xiong P. BSRA: Blockchain-Based Secure Remote Authentication Scheme for Fog-Enabled Internet of Things. IEEE Internet Things J. 2024;11:3348–3361. doi: 10.1109/JIOT.2023.3297237. [DOI] [Google Scholar]
  • 13.Pathak A., Al-Anbagi I.S., Hamilton H.J. TABI: Trust-Based ABAC Mechanism for Edge-IoT Using Blockchain Technology. IEEE Access. 2023;11:36379–36398. doi: 10.1109/ACCESS.2023.3265349. [DOI] [Google Scholar]
  • 14.Pathak A., Al-Anbagi I.S., Hamilton H.J. Blockchain-Enhanced Zero Knowledge Proof-Based Privacy-Preserving Mutual Authentication for IoT Networks. IEEE Access. 2024;12:118618–118636. doi: 10.1109/ACCESS.2024.3450313. [DOI] [Google Scholar]
  • 15.Pathak A., Al-Anbagi I.S., Hamilton H.J. SATI: Sidechain-Based Access Control & Trust Mechanism for IoT Networks. IEEE Trans. Netw. Serv. Manag. 2024;21:5888–5903. doi: 10.1109/TNSM.2024.3438621. [DOI] [Google Scholar]
  • 16.Ramirez-Gordillo T., Macia-Lillo A., Pujol F.A., Garcia-D’Urso N., Azorin-Lopez J., Mora H. Decentralized Identity Management for Internet of Things (IoT) Devices Using IOTA Blockchain Technology. Future Internet. 2025;17:49. doi: 10.3390/fi17010049. [DOI] [Google Scholar]
  • 17.Ali M.A., Al-Sharafi S.A.H. Intrusion Detection in IoT Networks Using Machine Learning and Deep Learning Approaches for MitM Attack Mitigation. Discov. Internet Things. 2025;5:48. doi: 10.1007/s43926-025-00104-w. [DOI] [Google Scholar]
  • 18.Gateva-Ivanova T. Set-theoretic solutions of the Yang–Baxter equation, braces and symmetric groups. Adv. Math. 2018;338:649–701. doi: 10.1016/j.aim.2018.09.005. [DOI] [Google Scholar]
  • 19.Green E.L., Schroll S. Brauer configuration algebras: A generalization of Brauer graph algebras. Bull. Des Sci. Math. 2017;141:539–572. doi: 10.1016/j.bulsci.2017.06.001. [DOI] [Google Scholar]
  • 20.Basri R., Karmakar G., Newaz S.H.S., Kamruzzaman J., Nguyen L., Alam M.M., Usman M. Enhancing IoT security: Assessing instantaneous communication trust to detect man-in-the-middle attacks. Future Gener. Comput. Syst. 2025;166:107714. doi: 10.1016/j.future.2025.107714. [DOI] [Google Scholar]
  • 21.Li K. Privacy-Preserving Scheme With Bidirectional Option for Blockchain-Enhanced Logistics Internet of Things. IEEE Internet Things J. 2024;11:20562–20574. doi: 10.1109/JIOT.2024.3370375. [DOI] [Google Scholar]
  • 22.Nie S., Ren J., Wu R., Han P., Han Z., Wan W. Zero-Trust Access Control Mechanism Based on Blockchain and Inner-Product Encryption in the Internet of Things in a 6G Environment. Sensors. 2025;25:550. doi: 10.3390/s25020550. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Kim T., Kwon D., Park Y., Park Y. Blockchain-Based Secure Authentication Protocol for Fog-Enabled IoT Environments. Mathematics. 2025;13:2142. doi: 10.3390/math13132142. [DOI] [Google Scholar]
  • 24.Wang J., Huang N., Wang B., Ao R., Fu Q., Guo X. ZT-IoTrust: A Quantum-Resistant Zero Trust Framework for Secure IoT Access Control. Electronics. 2025;14:4469. doi: 10.3390/electronics14224469. [DOI] [Google Scholar]
  • 25.Saleh O.A., Cevik M. Blockchain-Integrated Secure Authentication Framework for Smart Grid IoT Using Energy-Aware Consensus Mechanisms. Sensors. 2025;25:6622. doi: 10.3390/s25216622. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Villegas-Ch W., Gutierrez R., Navarro A.M., Mera-Navarrete A. Lightweight Blockchain for Authentication and Authorization in Resource-Constrained IoT Networks. IEEE Access. 2025;13:48047–48067. doi: 10.1109/ACCESS.2025.3551261. [DOI] [Google Scholar]
  • 27.Tariq N., Asim M., Al-Obeidat F., Farooqi M.Z., Baker T., Hammoudeh M., Ghafir I. The Security of Big Data in Fog-Enabled IoT Applications Including Blockchain: A Survey. Sensors. 2019;19:1788. doi: 10.3390/s19081788. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Dang Q.H. Recommendation for Applications Using Approved Hash Algorithms. National Institute of Standards and Technology; Gaithersburg, MD, USA: 2012. NIST Special Publication 800-107 Revision 1. [DOI] [Google Scholar]
  • 29.Bellare M., Kohno T. Hash Function Balance and Its Impact on Birthday Attacks. In: Cachin C., Camenisch J., editors. Advances in Cryptology—EUROCRYPT 2004. Volume 3027. Springer; Berlin/Heidelberg, Germany: 2004. pp. 401–418. Lecture Notes in Computer Science. [DOI] [Google Scholar]
  • 30.Oechslin P. Making a faster cryptanalytic time-memory trade-off. In: Boneh D., editor. Advances in Cryptology—CRYPTO 2003. Volume 2729. Springer; Berlin/Heidelberg, Germany: 2003. pp. 617–630. Lecture Notes in Computer Science. [DOI] [Google Scholar]
  • 31.Bellare M., Rogaway P. Introduction to Modern Cryptography. University of California, San Diego; La Jolla, CA, USA: University of California, Davis; Davis, CA, USA: 2005. The birthday problem. Course notes. Appendix A. [Google Scholar]
  • 32.Satyanarayanan M. The emergence of edge computing. Computer. 2017;50:30–39. doi: 10.1109/MC.2017.9. [DOI] [Google Scholar]
  • 33.Haber S., Stornetta W.S. How to time-stamp a digital document. J. Cryptol. 1991;3:99–111. doi: 10.1007/BF00196791. [DOI] [Google Scholar]
  • 34.Menezes A.J., van Oorschot P.C., Vanstone S.A. Handbook of Applied Cryptography. CRC Press; Boca Raton, FL, USA: 1996. [Google Scholar]
  • 35.Rescorla E. The Transport Layer Security (TLS) Protocol Version 1.3. Internet Engineering Task Force, RFC 8446. Aug, 2018. [(accessed on 28 July 2026)]. Available online: https://www.rfc-editor.org/info/rfc8446/
  • 36.Tschofenig H., Fossati T. Transport Layer Security (TLS)/Datagram Transport Layer Security (DTLS) Profiles for the Internet of Things. Internet Engineering Task Force, RFC 7925. Jul, 2016. [(accessed on 28 July 2026)]. Available online: https://www.rfc-editor.org/info/rfc7925/
  • 37.Fagan M., Megas K.N., Scarfone K., Smith M. IoT Device Cybersecurity Capability Core Baseline. National Institute of Standards and Technology; Gaithersburg, MD, USA: 2020. NISTIR 8259A. [DOI] [Google Scholar]
  • 38.Banks A., Briggs E., Borgendale K., Gupta R., editors. MQTT Version 5.0. OASIS Standard; Woburn, MA, USA: 2019. [Google Scholar]
  • 39.Shelby Z., Hartke K., Bormann C. The Constrained Application Protocol (CoAP). Internet Engineering Task Force, RFC 7252. Jun, 2014. [(accessed on 28 July 2026)]. Available online: https://www.rfc-editor.org/info/rfc7252/
  • 40.Rescorla E., Tschofenig H., Modadugu N. The Datagram Transport Layer Security (DTLS) Protocol Version 1.3. Internet Engineering Task Force, RFC 9147. Apr, 2022. [(accessed on 28 July 2026)]. Available online: https://www.rfc-editor.org/info/rfc9147/
  • 41.Buyya R., Yeo C.S., Venugopal S., Broberg J., Brandic I. Cloud computing and emerging IT platforms: Vision, hype, and reality for delivering computing as the 5th utility. Future Gener. Comput. Syst. 2009;25:599–616. doi: 10.1016/j.future.2008.12.001. [DOI] [Google Scholar]
  • 42.Wood G. Ethereum: A Secure Decentralised Generalised Transaction Ledger. Ethereum Project Yellow Paper. 2014. [(accessed on 4 February 2025)]. Available online: https://ethereum.github.io/yellowpaper/paper.pdf.
  • 43.Law A.M. Simulation Modeling and Analysis. 5th ed. McGraw-Hill; New York, NY, USA: 2015. [Google Scholar]
  • 44.Jain R. The Art of Computer Systems Performance Analysis: Techniques for Experimental Design, Measurement, Simulation, and Modeling. Wiley; New York, NY, USA: 1991. [Google Scholar]
  • 45.Montgomery D.C. Design and Analysis of Experiments. 9th ed. Wiley; Hoboken, NJ, USA: 2017. [Google Scholar]
  • 46.Julio Y.R., Pinto Mangones A., Torres Tovio J., Gómez-Álvarez M.C., Salcedo D. Integration of OWL Password-Authenticated Key Exchange Protocol to Enhance IoT Application Protocols. Sensors. 2025;25:2468. doi: 10.3390/s25082468. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The complete simulation artifact—a single Python notebook that deterministically regenerates every figure, table, and statistical test in this article from the master seed 20260705, together with the seed manifest, per-run raw results, and recorded software environment—is available from the corresponding author upon reasonable request and is intended for public release upon acceptance.


Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES