一种面向Rust语言的漏洞自动化定位及分析方法

By automating the collection and analysis of vulnerability data in the Rust ecosystem and locating vulnerable code, this technology solves the problems of low efficiency and high cost in existing technologies, and achieves efficient and automated vulnerability location and security risk analysis in the Rust ecosystem.

CN116305163BActive Publication Date: 2026-07-17ZHEJIANG UNIV

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG UNIV
Filing Date
2023-04-03
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing technologies cannot automate the collection and location of vulnerabilities and vulnerable code in the Rust ecosystem, resulting in low location efficiency and high manual costs, and making it impossible to effectively analyze security risks in the Rust ecosystem.

Method used

By automating the collection of vulnerability data in the Rust open-source ecosystem, we analyze whether vulnerable code is located in insecure code blocks. This includes crawling vulnerability databases, cleaning and integrating data, locating remediation commits, obtaining insecure code blocks and vulnerable code locations, and using Rust compiler plugins and Gitdiff tools for automated analysis.

Benefits of technology

It automates the collection and location of vulnerabilities in the Rust ecosystem, improves the efficiency of location, reduces manual costs, provides analysis and development trends of security risks in the Rust ecosystem, and reveals the growth trend and impact scope of vulnerabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116305163B_ABST
    Figure CN116305163B_ABST
Patent Text Reader

Abstract

本发明公开了一种面向Rust语言的漏洞自动化定位及分析方法,包括收集并清洗Rust开源生态中的漏洞数据,整合并获取漏洞相关信息;从开源代码平台收集Rust漏洞相关代码仓库;根据漏洞相关信息,获取漏洞相关代码仓库链接,根据所述代码仓库链接从开源代码平台克隆相关代码仓库等步骤,本方法的设计具有通用性,可以应用在不同的语言生态中,而无需借助语言本身特性分析,使用自动化的方式收集、定位、分析漏洞,从大规模的角度深入探究了Rust开源生态的安全风险。本方法通过定位脆弱代码以及分析脆弱代码与Rust特有的unsafe关键字的关系,可以追踪Rust开源生态中的安全风险,为进一步优化Rust语言提供有效信息。
Need to check novelty before this filing date? Find Prior Art