IP Library Granted Patent US 12,393,671
Granted Patent B2
US 12,393,671 · App. 18/051,084 · Granted Aug 19, 2025

Privilege metric for evaluating the security of a library

Inventor: Nikolaos Vasilakis (Somerville, MA)
Assignee: Massachusetts Institute of Technology
G06F21/45H04L63/0869G06F2221/2141
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,393,671
App. No.
18/051,084
Granted
Aug 19, 2025
Kind
B2
Abstract

A privilege metric application quantifies a privilege reduction for a subject software module M S . Target critical resources M t accessible by the subject module are identified. Permissions P(M S , M t ) for the subject module to access each of the target critical resources as a result of the privilege reduction are determined. Default library permissions P base (M S , M t ) without the privilege reduction are determined. A metric regarding the vulnerability reduction of P(M S , M t ) with respect to P base (M S , M t ) is quantified.

Claims (23)

1. A system for providing a privilege reduction metric quantifying a privilege reduction definition provided by a privilege reduction system for a subject module M S , comprising:

program source code comprising a plurality of modules;

a plurality of third party libraries; and

a processor and a memory configured to store non-transitory instructions that, when executed by the processor, run a privilege metric application configured to:

identify a plurality of target critical resources M t accessible by the subject module;

determine permissions P(M S , M t ) for the subject module to access each of the plurality of target critical resources as a result of the privilege reduction;

determine default library permissions P base (M S , M t ) without the privilege reduction; and

quantify a metric regarding the vulnerability reduction of P(M S , M t ) with respect to P base (M S , M t ).

2. The system of claim 1 , wherein for the default library permissions any module has complete permissions on all exports of any other module.

3. The system of claim 1 , wherein the run privilege application is further configured to disallow all but whitelisted permissions at boundaries of the subject module.

4. The system of claim 3 , wherein the run privilege application is further configured to compile a privilege definition to a set of subject and target modules.

5. The system of claim 1 , wherein the run privilege application is further configured to receive a definition of the privilege reduction.

6. The system of claim 5 , wherein the privilege reduction comprises a metric of the permissions restricted by a privilege-reducing system.

7. A method by a computer based privilege metric application for quantifying a privilege reduction for a subject module M S , comprising the steps of:

identifying a plurality of target critical resources M t accessible by the subject module;

determining permissions P(M S , M t ) for the subject module to access each of the plurality of target critical resources as a result of the privilege reduction;

determining default library permissions P base (M S , M t ) without the privilege reduction; and

quantifying a metric regarding the vulnerability reduction of P(M S , M t ) with respect to P base (M S , M t ).

8. The method of claim 7 , wherein for the default library permissions any module has complete permissions on all exports of any other module.

9. The method of claim 7 , further comprising the step of disallowing all but whitelisted permissions at boundaries of the subject module.

10. The method of claim 9 , further comprising the step of compiling a privilege definition for a set of subject and target modules.

11. The method of claim 7 , further comprising the step of receiving a definition of the privilege reduction.

12. The method of claim 11 , wherein the privilege reduction comprises a metric of the permissions restricted by a privilege-reducing system.

Assignments (2)
CONFIRMATORY LICENSE Recorded Jul 13, 2023
From: MASSACHUSETTS INSTITUTE OF TECHNOLOGY
To: DEFENSE ADVANCED RESEARCH PROJECTS AGENCY
Reel/Frame 064272/0012 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 8, 2022
From: VASILAKIS, NIKOLAOS
To: MASSACHUSETTS INSTITUTE OF TECHNOLOGY
Reel/Frame 061689/0334 →
Continuity (2)
Provisional Application 63273912 · Oct 30, 2021
Related Publication 20230139429A1 · May 4, 2023
References Cited (2)
US 20210365849A1 · Kamen · 2021 [cited by examiner]
US 20220342965A1 · Watanabe · 2022 [cited by examiner]