Using code similarities for improving auditing and fixing of SAST-discovered code vulnerabilities
Abstract
Implementations of the present disclosure include methods, systems, and computer-readable storage mediums for receiving results from security testing of source code, each result indicating a potential security vulnerability of the source code, displaying graphical representations of the results to a user, and, by a fix recommendation generator: receiving user input indicating a result of the results, receiving a set of code clones, each code clone being provided based on at least a snippet of the source code underlying the result, receiving a set of repairs, each repair being associated with a code clone, and mitigating a previously determined security vulnerability, and providing a set of fix recommendations based on the set of code clones, the set of repairs, and similarity metrics, each similarity metric indicating a similarity between the at least a snippet of the source code and a respective code clone.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for modifying source code, the method being executed using one or more processors and comprising: receiving, by the one or more processors, results from a static application security testing of the source code, each result indicating a potential security vulnerability of the source code caused by unchecked data-flows of the source code, the results being grouped based on respective similarity scores and at least one additional criterion; displaying, by the one or more processors, graphical representations of the results to a user; receiving, by a fix recommendatio
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Cesare, Silvio. "Clonewise-Automatically Detecting Package Clones and Inferring Security Vulnerabilities." Black Hat, 2012.
- Cesare, Silvio. “Clonewise—Automatically Detecting Package Clones and Inferring Security Vulnerabilities.” Black Hat, 2012.
- CodePro Analytix User Guide; Google; extracted from https://developers.google.com/java-dev-tools/codepro/doc/ ; Aug. 18, 2015 (3 pages).
- Dang, Yingnong, et al. "XIAO: Tuning code clones at hands of engineers in practice." Proceedings of the 28th Annual Computer Security Applications Conference. ACM, 2012.
- Dobolyi et al.; Harnessing Web-Based Application Similarities to Aid in Regression Testing; 20th International Symposium on Software Reliability Engineering, 20098, ISSRE '09; Institute of Electrical and Electronics Engineers Inc.; extracted from http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arn