New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

local-config-parser

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
This package has been flagged as malicious. It is considered unsafe regardless of version.

The fragment implements a rules engine that executes configuration-provided “expression” strings as JavaScript using Node’s vm. Because the expressions are sourced from JSON files in a user-derived, typically writable directory (APPDATA/home) and because it auto-executes cached rules during module import, an attacker who can modify the relevant config/cache file could trigger untrusted code execution (or at minimum unintended logic/DoS) within the application’s trust boundary. There is no direct evidence of overt malware behaviors like exfiltration or persistence in this snippet, but the dynamic execution pattern is security-sensitive and should be hardened (e.g., remove auto-exec, validate/sign configs, and restrict to a real expression DSL or a strictly locked-down sandbox). The remote content is malicious and gets downloaded by another package that is installed in the same dependency chain. The malicious content implements sandbox-escape logic and perform downloader logic that runs next stage malware samples.

local-config-parser

security holding package

latest
npmnpm
Version
0.0.1-security
Version published
Weekly downloads
2
-50%
Maintainers
0
Weekly downloads
 
Created
Source

Security holding package

This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.

Please refer to www.npmjs.com/advisories?search=local-config-parser for more information.

FAQs

Package last updated on 28 Jul 2026

Related posts