一种基于好奇心驱动和深度强化学习的XSS自动化测试方法

By employing curiosity-driven and deep reinforcement learning methods, an intelligent agent is constructed to explore injection points on web pages and generate attack vectors. This solves the problem of incomplete information collection in existing automated XSS testing tools for dynamic web applications, and achieves efficient and automated XSS vulnerability detection.

CN119652572BActive Publication Date: 2026-07-17SICHUAN UNIV

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SICHUAN UNIV
Filing Date
2024-11-27
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing automated XSS testing tools struggle to handle dynamic navigation hidden pages in dynamic web applications, resulting in incomplete collection of injection point information, low vulnerability detection rates, and the need for manual intervention to train the agent, thus failing to achieve true automated detection.

Method used

By employing a curiosity-driven and deep reinforcement learning approach, an intelligent agent is constructed to explore injection points on web pages, and attack vectors are generated through deep reinforcement learning to achieve automated testing without human intervention.

Benefits of technology

It improves the coverage and accuracy of XSS injection points, generates high-quality attack vectors, enhances the effectiveness of vulnerability discovery and testing efficiency, and achieves rapid convergence without human intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119652572B_ABST
    Figure CN119652572B_ABST
Patent Text Reader

Abstract

本发明涉及网络安全漏洞自动化测试技术领域,公开了一种基于好奇心驱动和深度强化学习的XSS自动化测试方法,包括构建注入点探索的输入环境,构建具有内在奖励机制的智能体,并构建状态流图记录并管理智能体在探索过程中访问的状态流转路径,获取注入点信息;将注入点信息传递至攻击向量生成模型中的智能代理,并构建攻击向量生成模型中的状态空间、动作空间和奖励函数;对攻击向量生成模型向目标页面发送攻击请求后的响应页面进行攻击验证,并根据验证结果计算奖励并反馈至攻击向量生成模型。本发明在识别Web应用中的XSS注入点方面实现了高覆盖率和高准确性,同时在智能体的训练和测试过程中无需人工干预,极大地提高了测试效率和可靠性。
Need to check novelty before this filing date? Find Prior Art