US 11,888,966 B2
Adaptive security for smart contracts using high granularity metrics
Venkata Siva Vijayendra Bhamidipati, Milpitas, CA (US); Michael Chan, Cupertino, CA (US); Derek Chamorro, Austin, TX (US); Arpit Jain, Milpitas, CA (US); and Ashok Srinivasa Murthy, Fremont, CA (US)
Assigned to eBay Inc., San Jose, CA (US)
Filed by eBay Inc., San Jose, CA (US)
Filed on Jun. 27, 2022, as Appl. No. 17/850,269.
Application 17/850,269 is a continuation of application No. 16/656,892, filed on Oct. 18, 2019, granted, now 11,405,182.
Application 16/656,892 is a continuation in part of application No. 16/429,656, filed on Jun. 3, 2019, granted, now 11,263,315.
Claims priority of provisional application 62/875,782, filed on Jul. 18, 2019.
Claims priority of provisional application 62/774,799, filed on Dec. 3, 2018.
Prior Publication US 2022/0337397 A1, Oct. 20, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. H04L 9/06 (2006.01); H04L 9/32 (2006.01); H04L 9/40 (2022.01); G06Q 20/36 (2012.01); H04L 41/22 (2022.01)
CPC H04L 9/0637 (2013.01) [G06Q 20/367 (2013.01); H04L 9/3247 (2013.01); H04L 41/22 (2013.01); H04L 63/0227 (2013.01); H04L 63/1425 (2013.01); H04L 63/1433 (2013.01)] 20 Claims
OG exemplary drawing
 
1. One or more computer storage medium storing computer-useable instructions that, when used by one or more computing devices, cause the one or more computing to perform operations comprising:
detecting a function call associated with one or more methods of a smart contract on a blockchain by identifying an entrance or exit of the function call in a kernel for smart contract execution on the blockchain;
adding the function call to a function call stack;
identifying one or more detected high granularity metrics (HGMs) in the function call stack;
performing a comparison of the detected HGMs in the function call stack against one or more control rules, wherein performing the comparison of the detected HGMs in the function call stack against the one or more control rules comprises checking the detected HGMs in the function call stack against a set of permitted HGMs; and
blocking execution or completion of the function call based on the comparison, wherein execution or completion of the function call is blocked based on determining the function call stack includes one or more detected HGMs that are not permitted under the set of permitted HGMs.