# US 2021/0288823 A1 · Secure and accountable execution of robotic process automation

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

- Number: US 2021/0288823 A1
- Document ID: US20210288823A1
- Status: Published application
- Kind: A1
- Application number: 16/815,626
- Filed: 2020-03-11
- Published: 2021-09-16
- Earliest claimed: 2020-03-11
- Assignees: PricewaterhouseCoopers LLP
- Applicants: PricewaterhouseCoopers LLP
- Inventors: Thomas Joseph FOTH; Francis Njoroge KAHURA; Ernesto Valdes FORTE
- Web page: https://patentgrep.com/patent/US20210288823A1

## CPC

- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 9/3297: {involving time stamps, e.g. generation of time stamps}
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- G06F 21/52: during program execution, e.g. stack integrity {; Preventing unwanted data erasure; Buffer overflow}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/3236: {using cryptographic hash functions}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04W 12/06: Authentication
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Systems and methods for secure and accountable execution of computer scripts are disclosed. A system for validating an execution of a set of computer instructions may be configured to receive a first cryptographic hash, the first cryptographic hash corresponding to the set of computer instructions, to receive a second cryptographic hash, the second cryptographic hash corresponding to a runtime utility, wherein the runtime utility is configured to execute the set of computer instructions, to generate a ledger entry comprising the first cryptographic hash, the second cryptographic hash, and an indicator of success, and to add the ledger entry to a blockchain ledger, wherein the blockchain ledger is configured to receive the ledger entry from an authenticated node.

## Claims

### Claim 1

A system for validating an execution of a set of computer instructions, comprising:
one or more processors; and
memory storing one or more programs, wherein the one or more programs are configured to be executable by the one or more processors to cause the system to:
receive a first cryptographic hash, the first cryptographic hash corresponding to the set of computer instructions;
receive a second cryptographic hash, the second cryptographic hash corresponding to a runtime utility, wherein the runtime utility is configured to execute the set of computer instructions;
generate a ledger entry comprising the first cryptographic hash, the second cryptographic hash, and an indicator of success; and
add the ledger entry to a blockchain ledger, wherein the blockchain ledger is configured to receive the ledger entry from an authenticated node.

### Claim 2 (depends on 1)

The system of claim 1, wherein the one or more programs are configured to be executable by the one or more processors to cause the system to:
receive data indicating a location of the set of computer instructions; and
receive data indicating a location of the runtime utility.

### Claim 3 (depends on 2)

The system of claim 2, wherein the ledger entry comprises one or more of the data indicating the location of the set of computer instructions and the data indicating the location of the runtime utility.

### Claim 4 (depends on 2)

The system of claim 2, wherein one or more of the set of computer instructions and the runtime utility is received from a remote database.

### Claim 5 (depends on 2)

The system of claim 2, wherein one or more of the set of computer instructions and the runtime utility is received from a distributed database.

### Claim 6 (depends on 1)

The system of claim 1, wherein the one or more programs are configured to be executable by the one or more processors to cause the system to:
receive data comprising the set of computer instructions; and
receive data comprising the runtime utility.

### Claim 7 (depends on 6)

The system of claim 6, wherein the ledger entry comprises one or more of the data comprising the set of computer instructions and the data comprising the runtime utility.

### Claim 8 (depends on 1)

The system of claim 1, wherein the one or more programs are configured to be executable by the one or more processors to cause the system to:
receive a log file;
receive a third cryptographic hash corresponding to the log file;
extract, from the log file, data comprising a location of a dependent program, wherein the dependent program is configured to be executed during an execution of the set of computer instructions;
receive a fourth cryptographic hash corresponding to the dependent program; and
wherein generating the ledger entry comprises adding to the ledger entry the third cryptographic hash, data comprising the location of the dependent program, and the fourth cryptographic hash.

### Claim 9

A computer-enabled method for validating an execution of a set of computer instructions, comprising:
receiving a first cryptographic hash, the first cryptographic hash corresponding to the set of computer instructions;
receiving a second cryptographic hash, the second cryptographic hash corresponding to a runtime utility, wherein the runtime utility is configured to execute the set of computer instructions;
generating a ledger entry comprising the first cryptographic hash, the second cryptographic hash, and an indicator of success; and
adding the ledger entry to a blockchain ledger, wherein the blockchain ledger is configured to receive the ledger entry from an authenticated node.

### Claim 10 (depends on 9)

The computer-enabled method of claim 9, further comprising:
receiving a log file;
receiving a third cryptographic hash corresponding to the log file;
extracting, from the log file, data comprising a location of a dependent program, wherein the dependent program is configured to be executed during an execution of the set of computer instructions;
receiving a fourth cryptographic hash corresponding to the dependent program; and
wherein generating the ledger entry comprises adding to the ledger entry the third cryptographic hash, data comprising the location of the dependent program, and the fourth cryptographic hash.

### Claim 11

A non-transitory computer-readable storage medium storing one or more programs for validating an execution of a set of computer instructions, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device, cause the one or more processors to execute a method comprising:
receiving a first cryptographic hash, the first cryptographic hash corresponding to the set of computer instructions;
receiving a second cryptographic hash, the second cryptographic hash corresponding to a runtime utility, wherein the runtime utility is configured to execute the set of computer instructions;
generating a ledger entry comprising the first cryptographic hash, the second cryptographic hash, and an indicator of success; and
adding the ledger entry to a blockchain ledger, wherein the blockchain ledger is configured to receive the ledger entry from an authenticated node.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, the method further comprising:
receiving a log file;
receiving a third cryptographic hash corresponding to the log file;
extracting, from the log file, data comprising a location of a dependent program, wherein the dependent program is configured to be executed during an execution of the set of computer instructions;
receiving a fourth cryptographic hash corresponding to the dependent program; and
wherein generating the ledger entry comprises adding to the ledger entry the third cryptographic hash, data comprising the location of the dependent program, and the fourth cryptographic hash.

### Claim 13

A system for validating an execution of a set of computer instructions, comprising:
one or more processors; and
memory storing one or more programs, wherein the one or more programs are configured to be executable by the one or more processors to cause the system to:
identify a first ledger entry of a blockchain ledger, the first ledger entry comprising an indicator of success, a first cryptographic hash corresponding to a reference set of computer instructions, and a second cryptographic hash corresponding to a reference runtime utility;
receive an unverified set of computer instructions based on the first ledger entry;
compare a third cryptographic hash corresponding to the unverified set of computer instructions to the first cryptographic hash;
receive an unverified runtime utility based on the first ledger entry, wherein the unverified runtime utility is configured to execute the second set of computer instructions;
compare a fourth cryptographic hash corresponding to the unverified runtime utility to the second cryptographic hash;
in response to a determination that the third cryptographic hash corresponds to the first cryptographic hash and that the fourth cryptographic hash corresponds to the second cryptographic hash:
execute the unverified set of computer instructions using the unverified runtime utility;
generate a second ledger entry comprising the third cryptographic hash, the fourth cryptographic hash, and a fifth cryptographic hash corresponding to a result of executing the unverified set of computer instructions; and
add the second ledger entry to the blockchain ledger.

### Claim 14 (depends on 13)

The system of claim 13, wherein the first ledger entry is the most recent ledger entry comprising an indicator of success.

### Claim 15 (depends on 13)

The system of claim 13, wherein the second ledger entry comprises an indicator of success.

### Claim 16 (depends on 13)

The system of claim 13, wherein the set of computer instructions is received from the blockchain ledger.

### Claim 17 (depends on 13)

The system of claim 13, wherein the runtime utility is received from the blockchain ledger.

### Claim 18 (depends on 13)

The system of claim 13, wherein the blockchain ledger is configured to receive the ledger entry from an authenticated node.

### Claim 19

A computer-enabled method for validating an execution of a set of computer instructions, comprising:
identifying a first ledger entry of a blockchain ledger, the first ledger entry comprising an indicator of success, a first cryptographic hash corresponding to a reference set of computer instructions, and a second cryptographic hash corresponding to a reference runtime utility;
receiving an unverified set of computer instructions based on the first ledger entry;
comparing a third cryptographic hash corresponding to the unverified set of computer instructions to the first cryptographic hash;
receiving an unverified runtime utility based on the first ledger entry, wherein the unverified runtime utility is configured to execute the second set of computer instructions;
comparing a fourth cryptographic hash corresponding to the unverified runtime utility to the second cryptographic hash;
in response to a determination that the third cryptographic hash corresponds to the first cryptographic hash and that the fourth cryptographic hash corresponds to the second cryptographic hash:
executing the unverified set of computer instructions using the unverified runtime utility;
generating a second ledger entry comprising the third cryptographic hash, the fourth cryptographic hash, and a fifth cryptographic hash corresponding to a result of executing the unverified set of computer instructions; and
adding the second ledger entry to the blockchain ledger.

### Claim 20 (depends on 19)

The computer-enabled method of claim 19, wherein the first ledger entry is the most recent ledger entry comprising an indicator of success.

### Claim 21

A non-transitory computer-readable storage medium storing one or more programs for validating an execution of a set of computer instructions, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device, cause the one or more processors to execute a method comprising:
identifying a first ledger entry of a blockchain ledger, the first ledger entry comprising an indicator of success, a first cryptographic hash corresponding to a reference set of computer instructions, and a second cryptographic hash corresponding to a reference runtime utility;
receiving an unverified set of computer instructions based on the first ledger entry;
comparing a third cryptographic hash corresponding to the unverified set of computer instructions to the first cryptographic hash;
receiving an unverified runtime utility based on the first ledger entry, wherein the unverified runtime utility is configured to execute the second set of computer instructions;
comparing a fourth cryptographic hash corresponding to the unverified runtime utility to the second cryptographic hash;
in response to a determination that the third cryptographic hash corresponds to the first cryptographic hash and that the fourth cryptographic hash corresponds to the second cryptographic hash:
executing the unverified set of computer instructions using the unverified runtime utility;
generating a second ledger entry comprising the third cryptographic hash, the fourth cryptographic hash, and a fifth cryptographic hash corresponding to a result of executing the unverified set of computer instructions; and
adding the second ledger entry to the blockchain ledger.

### Claim 22 (depends on 21)

The computer-enabled method of claim 21, wherein the first ledger entry is the most recent ledger entry comprising an indicator of success.
