The rapid growth of Internet of Things (IoT) devices in smart grids and industrial control systems means that the global state has attained a level of technological evolution. Yet this growth has also created an enormous attack surface with millions of vulnerable endpoints, thus revealing inherent weaknesses of traditional security models. These conventional systems are fraught with data integrity challenges, single points of failure, and no proactive defense against new, adaptive cyber-physical threats. To overcome these limitations, this paper presents "Causio-TwinChain," a new security model that synergistically integrates three leading-edge technologies to establish a proactive, self-diagnostic, and tamper-resistant security framework for critical IoT infrastructure. A digital twin is a virtual replica that can monitor physical devices in real time via sandboxing. A permissioned blockchain provides an immutable, tamper-proof ledger for all device data and transactions, ensuring data integrity and auditability. Two kinds of machine-learning engines form the core intelligence: contrastive Learning, which detects subtle anomalies by modeling normal operations; and structural causal Learning, which diagnoses root causes of security incidents and predicts their potential impact. The model's superior efficacy is demonstrated on an industrial IoT dataset. Causio-TwinChain yielded a 15.3% higher F1-score in novel attack detection, and reduced the mean time for incident diagnosis by 68% compared to benchmark intrusion detection systems. This model reduced the false-positive rate by 22%, demonstrating its robustness in noisy environments. Moving beyond mere attack detection to explainable diagnosis and predictive mitigation, this work establishes a new benchmark for building proactive, resilient, and self-healing security frameworks that safeguard the most critical IoT applications and enhance trust and continuity in operational services.
digital twinblockchainInternet of Things securitycontrastive learning
Background The increased use of Machine Learning (ML) systems has posed critical Quality Assurance (QA) issues in areas of security, privacy and performance. Despite advances, QA frameworks for ML remain disjointed. The work examines QA through the Technological, Organizational, and Environmental (TOE) model and proposes human-agentic AI actions to enhance assurance mechanisms. This paper aims to identify, compare and model QA problems in ML software systems and recommend a SWOT-TOE (Strengths, Weaknesses, Opportunities, and Threats) matrix to enhance human-agentic AI-based QA problems. Methodology The study uses a mixed-method design, which includes systematic literature review (SLR), a quantitative survey, and comparative data modelling. QA issues are coded using the TOE structure and the association tests are linear-by-linear tests to investigate the relationship between the literature and survey results. A SWOT-TOE matrix and mathematical modelling are used to assess key QA issues and to solve them. Results The analysis shows that most of the QA problems revolve around interpretability of models, integrity of data, organizational readiness and regulatory limits. The linear-by-linear association results suggest that there is a strong correlation of the patterns of QA that are identified by the literature and those documented in the survey. Comparative data modeling shows the differences in priorities of QA between the regions. The suggested SWOT-TOE framework combines human-agentic solutions (e.g., adaptive auditing and explainable AI) to enhance QA and security. Conclusion The combination of the TOE framework and human-agentic AI practices and quantitative models allows a systematic approach to solving complex QA problems in ML systems. The research leads to the creation of human-centered, adaptive QA strategies, which foster trust, transparency, and sustainability in AI-powered settings. The framework assists developers, QA engineers, and policymakers to increase security, reliability, and accountability in ML ecosystems.