# US 2024/0202824 A1 · Smart contract security auditing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0202824 A1
- Document ID: US20240202824A1
- Status: Published application
- Kind: A1
- Application number: 18/535,740
- Filed: 2023-12-11
- Published: 2024-06-20
- Earliest claimed: 2022-12-14
- Assignees: Qatar Foundation for Education, Science and Community Development
- Applicants: Qatar Foundation for Education, Science and Community Development
- Inventors: Yazan Boshmaf; Sajitha Liyanage
- Web page: https://patentgrep.com/patent/US20240202824A1

## CPC

- G06Q 40/04: Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
- H04L 63/1433: {Vulnerability analysis}
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06Q 20/4016: {involving fraud or risk level assessment in transaction processing}
- G06Q 2220/00: Business processing using cryptography
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Smart contract auditing may be provided by: receiving a request to audit a prospective smart contract; executing a smart contracts auditing model; extracting raw data from at least one blockchain using the smart contracts auditing model; analyzing the raw data using at least two security analyzers; aggregating the output of the at least two security analyzers according to an aggregator; and generating a smart contracts security report from the aggregated output for the prospective smart contract, which includes a smart contracts security score.

## Claims

### Claim 1

A smart contracts auditing system, comprising:
a processor, and
a memory storing instructions, that when executed by the processor, perform operations, including:
receiving a request to audit a prospective smart contract;
executing a smart contracts auditing model;
extracting raw data from at least one blockchain using the smart contracts auditing model;
analyzing the raw data using at least two security analyzers;
aggregating outputs from the at least two security analyzers according to an aggregator; and
generating a smart contracts security report from the outputs as aggregated for the prospective smart contract, which includes a smart contracts security score.

### Claim 2 (depends on 1)

The system of claim 1, wherein the raw data extracted from the at least one blockchain include code and state data for at least one other smart contract stored in the at least one blockchain.

### Claim 3 (depends on 1)

The system of claim 1, wherein the at least two security analyzers analyze the raw data by parsing and classifying the raw data into one or more vulnerability categories.

### Claim 4 (depends on 3)

The system of claim 3, wherein the smart contracts security report includes a visual breakdown of vulnerabilities from the other smart contract identified according to the one or more vulnerability categories.

### Claim 5 (depends on 3)

The system of claim 3, wherein the one or more vulnerability categories include:
reentrancy;
timestamp dependencies;
integer overflow;
integer underflow;
uncheck call return values;
arithmetic issues; and
inclusion of parity wallets.

### Claim 6 (depends on 3)

The system of claim 3, wherein each identified vulnerability is weighted according to a severity for an associated vulnerability category to generate the smart contracts security score.

### Claim 7 (depends on 1)

The system of claim 1, wherein the prospective smart contract is not yet deployed in the at least one blockchain.

### Claim 8

A method, comprising:
receiving a request to audit a prospective smart contract;
executing a smart contracts auditing model;
extracting raw data from at least one blockchain using the smart contracts auditing model;
analyzing the raw data using at least two security analyzers;
aggregating outputs from the at least two security analyzers according to an aggregator; and
generating a smart contracts security report from the outputs as aggregated for the prospective smart contract, which includes a smart contracts security score.

### Claim 9 (depends on 8)

The method of claim 8, wherein the raw data extracted from the at least one blockchain include code and state data for at least one other smart contract stored in the at least one blockchain.

### Claim 10 (depends on 8)

The method of claim 8, wherein the at least two security analyzers analyze the raw data by parsing and classifying the raw data into one or more vulnerability categories.

### Claim 11 (depends on 10)

The method of claim 10, wherein the smart contracts security report includes a visual breakdown of vulnerabilities in the other smart contract identified according to the one or more vulnerability categories.

### Claim 12 (depends on 10)

The method of claim 10, wherein the one or more vulnerability categories include:
reentrancy;
timestamp dependencies;
integer overflow;
integer underflow;
uncheck call return values;
arithmetic issues; and
inclusion of parity wallets.

### Claim 13 (depends on 10)

The method of claim 10, wherein each identified vulnerability is weighted according to a severity for an associated vulnerability category to generate the smart contracts security score.

### Claim 14 (depends on 8)

The method of claim 8, wherein the prospective smart contract is not yet deployed in the at least one blockchain.

### Claim 15

A non-transitory computer readable storage device including instructions that, when executed by a processor, perform operations including:
receiving a request to audit a prospective smart contract;
executing a smart contracts auditing model;
extracting raw data from at least one blockchain using the smart contracts auditing model;
analyzing the raw data using at least two security analyzers;
aggregating outputs from the at least two security analyzers according to an aggregator; and
generating a smart contracts security report from the outputs as aggregated for the prospective smart contract, which includes a smart contracts security score.

### Claim 16 (depends on 15)

The device of claim 15, wherein the raw data extracted from the at least one blockchain include code and state data for at least one other smart contract stored in the at least one blockchain.

### Claim 17 (depends on 15)

The device of claim 15, wherein the at least two security analyzers analyze the raw data by parsing and classifying the raw data into one or more vulnerability categories.

### Claim 18 (depends on 17)

The device of claim 17, wherein the smart contracts security report includes a visual breakdown of vulnerabilities identified from the other smart contract according to the one or more vulnerability categories.

### Claim 19 (depends on 17)

The device of claim 17, wherein the one or more vulnerability categories include:
reentrancy;
timestamp dependencies;
integer overflow;
integer underflow;
uncheck call return values;
arithmetic issues; and
inclusion of parity wallets.

### Claim 20 (depends on 17)

The device of claim 17, wherein each identified vulnerability is weighted according to a severity for an associated vulnerability category to generate the smart contracts security score.
