Hao Song

Hao Song

Auto-generated profile, based on publicly available information

Hao Song

School of Cyber Science and Engineering, Sichuan University, Chengdu, China

Research Focus & Metrics

Academic Career Length

2Years (2025-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
20 May 2026 in IEEE Transactions on Software Engineering
Verified
Journal Article
Closed access
HSHao Song
Hao Song
YSYiming Shen
Yiming Shen
WLWenxuan Luo
Wenxuan Luo
LGLeixin Guo
Leixin Guo
TCTing Chen
Ting Chen
JCJiachi Chen
Jiachi Chen
The Model Context Protocol (MCP) is an emerging standard designed to enable seamless interaction between Large Language Model (LLM) applications and external tools or resources. Within a short period, thousands of MCP services have been developed and deployed. However, the client-server integration architecture inherent in MCP may expand the attack surface against LLM Agent systems, introducing new vulnerabilities allowing attackers to exploit by malicious MCP servers. In this paper, we present the first end-to-end empirical evaluation of attack vectors targeting the MCP ecosystem. We provide the formal definitions, affected path, and exploited path based on the workflow for four malicious server attacks, i.e., Tool Poisoning Attacks, Puppet Attacks, Rug Pull Attacks, and Exploitation via Malicious External Resources. To evaluate their feasibility, we conduct experiments following the typical steps of launching an attack through malicious MCP servers: upload → download → attack. Specifically, we first construct malicious MCP servers and successfully upload them to three widely used MCP aggregation platforms. The results indicate that current audit mechanisms are insufficient to identify and prevent these threats. Next, through a user study and interview with 20 participants, we demonstrate that users struggle to identify malicious MCP servers and often unknowingly install them from aggregator platforms. Finally, we empirically demonstrate that these attacks can trigger harmful actions within the user’s local environment, such as accessing private files or controlling devices to transfer digital assets. Additionally, based on interview results, we discuss four key challenges faced by the current MCP security ecosystem. These findings underscore the urgent need for robust security mechanisms to defend against malicious MCP servers and ensure the safe deployment of increasingly autonomous LLM agents.

16 June 2025 in IEEE Internet of Things Journal
Verified
Journal Article
Closed access
TLTao Liu
Tao Liu
HSHao Song
Hao Song
LGLeixin Guo
Leixin Guo
Beibei LiBeibei Li
Beibei Li
ZLZhangyan Lin
Zhangyan Lin
WGWenfei Ge
Wenfei Ge
Smartphones are widely used Internet of Things (IoT) devices in higher education, but relying on them alone does not sufficiently aid teachers in managing courses or improving student learning. For teachers, managing course progress through predefined rules and safeguarding student privacy at key stages is challenging. Likewise, students lack targeted learning assistance to enhance their capabilities. Therefore, a comprehensive scheme is essential to address these challenges effectively. In this article, we propose a novel framework based on smart contracts and integrated with generative artificial intelligence (GAI) assistance. This framework manages programming courses and enhances student learning, with smartphones serving as access points. It leverages smart contracts to dynamically manage the entire course lifecycle, with contracts built upon access control policies to ensure that only authorized roles can access course resources via smartphone. The proposed framework is based on a consortium network. GAI model-ChatGPT-4o provides code generation and code explanation assistance in programming courses. We select the optimal prompt templates and store them on the blockchain, allowing GAI to provide more precise services using them. We implement and evaluate the proposed framework using the Hyperledger Fabric blockchain, demonstrating its effectiveness and scalability in real-world scenarios. Additionally, we evaluate the code-related content generated by the prompt templates using three criteria: 1) pass rate; 2) time spent; and 3) number of votes. This evaluation confirms that the templates selected and recorded on the blockchain are optimal. The framework can be easily adapted to other scenarios, such as course management, record management, and research collaboration.