Last 12 weeks · 0 commits
4 of 6 standards met
Our Windows app that uses os-locale has been flagged as a security risk because it will launch any file named "wmic", regardless of extension, and the file can be anywhere on the PATH, including the app's own directory. It could be a vbs file, for example. The suggested secure way (if you have to use wmic): 1. Always use the exe extension. 2. Always use the full standard path to wmic.exe.
Repository: sindresorhus/os-locale. Description: Get the system locale Stars: 231, Forks: 42. Primary language: JavaScript. Languages: JavaScript (95.8%), TypeScript (4.2%). License: MIT. Latest release: v8.0.0 (6mo ago). Open PRs: 0, open issues: 0. Last activity: 6mo ago. Community health: 85%. Top contributors: sindresorhus, fregante, kevva, artursvonda, coreyfarrell, danielhusar, BendingBender, jvdm, jeffal, Helium-Z and others.