Code vulnerability detection method and system based on code translation large model
By employing a code translation-based large model approach, utilizing multiple translation large models and similarity calculations, and combining them with the XGBoost model for code vulnerability detection, the problem of low detection efficiency and poor accuracy in existing technologies is solved, achieving efficient and accurate vulnerability detection for multiple programming languages.
Patent Information
- Application Number
- CN202511878010.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-12
- Publication Date
- 2026-03-31
AI Technical Summary
Existing static and dynamic code analysis methods are inefficient in detecting code vulnerabilities and are prone to missed or false detections, making them ineffective in detecting vulnerabilities in multiple programming languages.
We adopt a code translation big model-based approach, which uses multiple big translation models to perform code translation and similarity calculation. Combined with preprocessing and feature extraction, we use an XGBoost binary classification model for vulnerability detection to assist the big translation models and improve detection accuracy.
It achieves efficient and accurate code vulnerability detection for multiple programming languages, improving detection efficiency and accuracy, and reducing false positives and false negatives.