Research Article

JPSM: A Privilege Score Model for Libraries

Changzheng Guan1,*, Hanlin Song2
1. Hongwen School Qingdao Campus, Qingdao, 266100, China
2. Faculty of Science and Technology, Beijing Normal University - Hong Kong Baptist University United International College, Zhuhai, 519087, China

* Corresponding author: [email protected]

Abstract

More and more attention is paid to the security of software applications, particularly threatened by the use of third-party libraries. From the node package Manager (NPM), it can be imported the leader loophole. This paper introduces a model (JPSM). The security level of the database can be roughly estimated. pass Assigning weights to different permissions, we support Providing quantifiable risk assessment. Our approach includes A recursive algorithm that evaluates cumulative permissions by introducing a tool downloaded called Mir-sa to improve the accuracy of safety assessments. In this paper, the implementation of this method in JavaScript is discussed. Python and Node.js, showing it in im- Demonstrate security awareness and encourage secure coding Practice.

Keywords: JPSM; Score Model; NPM.
Published: December 18, 2025
DOI: 10.54254/2755-2721/2025.30641
Volume: ACE Vol.199
pp. 88-93
Download PDF

References

  1. Nikos Vasilakis, Cristian-Alexandru Staicu, Grigoris Ntousakis, Konstantinos Kallas, Ben Karel, André DeHon, and Michael Pradel. 2021. Preventing dynamic library compromise on node. js via rwx-based privilege reduction. In Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security. 1821–1838.
  2. Simon Parkinson, Saad Khan. 2022. A Survey on Empirical Security Analysis of Access-control Systems: A Real-world Perspective
  3. Paul A. Kline, Walter A. J. Schiller, 1995 Changing Permissions With Numbers
  4. Michal Ben Neria, Nancy-Sarah Yacovzada, and Irad Ben-Gal. 2017. A risk-scoring feedback model for webpages and web users based on browsing behavior. ACM Transactions on Intelligent Systems and Technology (TIST) 8, 4 (2017), 1–21.
  5. Ui Hyun Park, Jeong-hyeop Hon, Auk Kim, Kyung Ho Son. Department of Convergence Security, Kangwon National University, 2023. Endpoint Device Risk-Scoring Algorithm Proposal for Zero Trust.
  6. Simon Parkinson, Saad Khan, James Bray, Daiyaan Shreef. 2019. Creeper: a tool for detecting permission creep in file system access controls