Dr Seyedmostafa Safavi

Research software and teaching labs

Assistant Professor, School of Technology, Asia Pacific University of Technology and Innovation (APU), Kuala Lumpur, Malaysia.

Research on the security of AI systems and AI for security: indirect prompt injection in LLM agents, explainable AI for cybersecurity, privacy engineering, federated learning and blockchain for healthcare.

Research software

AgentSec-Bench

An open benchmark for indirect prompt injection in tool-augmented LLM agents. The injected instruction is always placed in a tool output, never in the user prompt, so the benchmark isolates the indirect channel.

240 tasks6 tool environments6 attack classes3 obfuscation levels4 measuresMIT licence

Environments: email, calendar, file system, web browsing, code execution and a synthetic electronic health record. Deterministic harness, scorer and three reference agents; model agents run through a provider-agnostic adapter.

Code and data on GitHub · Archived on Zenodo: doi:10.5281/zenodo.23734796

Teaching labs: AI for cybersecurity

Fourteen Colab-ready projects used in my machine learning and cybersecurity modules. Lab repository · Documentation hub

Selected publications

  1. From black box to trustworthy AI: a secure framework for explainable cybersecurity decision-making. S. Safavi, M. S. H. Abdulnabi, M. E. Rana, S. Alizadeh. IEEE ASSIC 2025. DOI
  2. CenterYou++: lightweight privacy enforcement for Android using hybrid AI and cloud decision support. S. Safavi, Z. Shukur, M. E. Rana. IEEE ASSIC 2025. DOI
  3. Automated dark web intelligence for monitoring stealer logs. S. Safavi et al. Studies in Computational Intelligence, vol. 1276, Springer, 2026. DOI
  4. Conceptual privacy framework for health information on wearable device. S. Safavi, Z. Shukur. PLOS ONE, 2014. DOI

Full publication list with filters and free accepted manuscripts