2021 · 27 citations · 41 references
ComputingComputer EngineeringComputer ScienceApplication SecurityComputer SecurityProgramming LanguagesAccess ControlAuthorizationAuthorization VulnerabilitiesBehavioral AnalysisClient-side SecurityPrivilege ManagementEnforcementJavascriptJavascript CompatibilityJavascript SecurityPermission AnalysisPermission Model AnalysisPermission ModelsRuntime Access Control
Third-party libraries ease the development of large-scale software systems. However, libraries often execute with significantly more privilege than needed to complete their task. Such additional privilege is sometimes exploited at runtime via inputs passed to a library, even when the library itself is not actively malicious. We present Mir, a system addressing dynamic compromise by introducing a fine-grained read-write-execute (RWX) permission model at the boundaries of libraries: every field of every free variable name in the context of an imported library is governed by a permission set. To help specify the permissions given to existing code, Mir's automated inference generates default permissions by analyzing how libraries are used by their clients. Applied to over 1,000 JavaScript libraries for Node.js, Mir shows practical security (61/63 attacks mitigated), performance (2.1s for static analysis and +1.93% for dynamic enforcement), and compatibility (99.09%) characteristics---and enables a novel quantification of privilege reduction.
41
Proceedings of the 11th USENIX Security Symposium
Dan Boneh · 2002 · 2.5K citations
Efficient software-based fault isolation
Robert Wahbe, Steven Lucco, Thomas E. Anderson et al. · 1993 · 1.2K citations · Full text
Mach: A New Kernel Foundation for UNIX Development.
Michael J. Accetta, R. Baron, William J. Bolosky et al. · USENIX Summer · 1986 · 919 citations
Contracts for higher-order functions
Robert Bruce Findler, Matthias Felleisen · 2002 · 441 citations