gray-matter

Warn

Audited by Socket on Aug 8, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/parse.js

No clear malware/backdoor behavior is evident in the shown code (no eval, no network activity, no OS command execution derived from user input beyond a hard-coded install). The primary security concern is supply-chain/install-time risk: if gray-matter is missing, the script runs `npm install gray-matter` at runtime (without version pinning or integrity verification) and then executes that dependency code via require. Additionally, the tool can output parsed front-matter/content to stdout, which may expose sensitive data if invoked on confidential inputs in an unsafe pipeline.

Confidence: 72%Severity: 60%
Audit Metadata
Analyzed At
Aug 8, 2026, 04:17 AM
Package URL
pkg:socket/skills-sh/openlark%2Fskills%2Fgray-matter%2F@91bda1907edd58120231b0e13ca93b3651aecd72c80b3f242dcbeb3624884af3
Security Audit — socket — gray-matter