Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Defect detection method of browser extension

A browser extension and defect detection technology, applied in software testing/debugging, etc., can solve problems such as increasing the difficulty of security threat detection, and achieve the effect of improving accuracy

Inactive Publication Date: 2012-11-28
TIANJIN UNIV
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

thus making it more difficult to detect extended security threats

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Defect detection method of browser extension
  • Defect detection method of browser extension
  • Defect detection method of browser extension

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The specific implementation, structure, features and effects provided by the present invention will be described in detail below in conjunction with the accompanying drawings and preferred embodiments.

[0024] Such as figure 1 As shown, it is a schematic diagram of the application scenario of the browser extension defect detection method of the present invention. The developer submits the developed extension online to determine whether the extension is vulnerable to attacks. If so, refuse to publish and output an alarm; If none, the extension will be released for users to choose to use.

[0025] This patent proposes a defect detection method for browser extensions. With the help of an extended defect library expressed in the form of Datalog rules, the method first preprocesses the extension, separates the JavaScript code from it, and then converts the JavaScript code into an abstract syntax. Tree, according to the abstract syntax tree, the source program is expressed ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a defect detection method of browser extension. The defect detection method comprises the following steps: (1) converting an extended defect feature into the defect information in a Datalog language format as a rule, constructing a safe defect feature library about the extension by the rule; (2) preprocessing an extension source code, separating a JavaScript code, which describes the extension behavior, from the source code, and converting the JavaScript code into the information in Datalog language format as a fact; (3) changing the JavaScript code into an abstract syntax tree, and converting the JavaScript code into the Datalog language format; and (4) storing the extension information to be detected as a deductive database, carrying out deductive database ratiocination, and finding the part matched with the item of the defect in the safe defect feature library from the extended deductive database so as to realize the detection of the extension. Compared with the prior art, according to the defect detection method of browser extension, the automation of the work of manual review of the browser extension is realized, and precision is improved.

Description

technical field [0001] The invention relates to the technical field of software safety, in particular to a method for detecting safety loopholes in browser extensions. Background technique [0002] As the Internet plays an increasingly important role in people's lives, browsers have become the most used computer application software today. It is gradually becoming a powerful platform for users. Instead of traditional desktop applications, in order to realize that browsers replace desktop applications and operating systems, more and more extensions to the browser kernel are required. [0003] Early browsers were just a tool for reading documents written in HTML language, and did not pose a threat to the Internet. However, with the continuous development of new technologies, especially the widespread application of JavaScript, VisualScript, Java applications and ActiveX controls on the Internet, on the one hand, these technological breakthroughs have greatly enhanced the fun...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
Inventor 李晓红王俊杰许光全孙达志
Owner TIANJIN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products