Search arXiv⌕ Search

arXiv subjects

Madjid G. Tehrani

Publications and source records attributed to Madjid G. Tehrani.

3 recordsLinked to original sources

Controlled Autonomy for Agentic AI: A Layer-by-Layer Evaluation of Policy Enforcement, Cryptographic Identity and Isolation

Agentic AI systems couple language-model reasoning with tools, credentials and data, so a security failure can become an executed action rather than a wrong answer. We present a layered architecture in which the agent only proposes actions and an external control plane decides, verifying identity, evaluating policy and contextual risk, and checking attestation before any tool executes. We evaluate a prototype by layer-by-layer ablation on 2,000 synthetic requests spanning eight attack families, and on the AgentDojo benchmark. Over ten synthetic corpora, external policy enforcement raises prevention by 6.2 percentage points over role-based access control, but tenant binding alone accounts for most of this gain; against a tenant-aware baseline, policy adds 2.3 points at a false-denial rate of about 4%. Cryptographic credential and attestation checks stop compromised-credential attacks that pass every attribute-level rule, and when the two failures are decoupled, each check catches cases the other misses. On AgentDojo, a gateway built on the same principles blocks 88.9% of side-effecting injection goals while leaving 91 of 97 user tasks unaffected. Memory poisoning, policy conflict and prompt injection remain partly successful in every configuration. Because tool calls are synthetic or replayed rather than generated by a live model, the results characterise the enforcement decision path rather than end-to-end agent robustness.

cs.CR↗

Energy Consumption of Post-Quantum Cryptography on Constrained and General-Purpose Architectures

With Q-day approaching, the transition to post-quantum cryptography (PQC) has begun, with governments across the US, UK and EU mandating migration to quantum-resistant standards. This paper benchmarks the three NIST-standardised PQC algorithms - FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) - across key generation, signing and verification operations, measuring both computational performance and energy consumption on a range of constrained IoT-class devices, from the 32-bit Raspberry Pi 1 and Zero to the 64-bit Raspberry Pi 4, as well as commodity laptop hardware. Using the FNIRSI FNB58 USB power meter and OpenSSL~3.5, results show that ML-KEM and ML-DSA achieve energy and speed efficiency comparable to classical elliptic-curve cryptography across all tested architectures. However, SLH-DSA signing is inadvisable on constrained hardware: energy costs for SLH-DSA signing on 32-bit devices were up to 243\% higher than on equivalent 64-bit hardware, making it impractical for resource-limited IoT deployments. These findings have direct implications for IoT security practitioners planning PQC migration.

cs.CR↗

LLM vs. SAST: A Technical Analysis on Detecting Coding Bugs of GPT4-Advanced Data Analysis

Large language models (LLMs) are increasingly used for code understanding, yet their practical effectiveness for vulnerability detection relative to Static Application Security Testing (SAST) remains insufficiently quantified. We present a controlled comparative study between GPT-4 (Advanced Data Analysis) and two SAST tools (SonarQube and Cloud Defence) on 32 curated security scenarios representing common coding pitfalls. Each scenario is scored with a binary detection rule, the two SAST outputs are aggregated using a logical OR baseline, and paired outcomes are evaluated using McNemar's test for statistical significance. In our dataset, GPT-4 correctly detected 30 of 32 scenarios (93.75\%), while the aggregated SAST baseline detected 11 of 32. The paired comparison shows a statistically significant difference in detection performance in favour of GPT-4. We also discuss security considerations and operational constraints for integrating LLM-enhanced vulnerability scanning into secure software development workflows.

cs.CR↗