knowledge-base

Warn

Audited by Socket on Apr 7, 2026

2 alerts found:

Securityx2
SecurityMEDIUM
scripts/bulk-ingest.js

No overt malware (e.g., backdoor, credential theft, network exfiltration) is evident in this fragment. However, the module has a high-risk security flaw: it constructs a shell command string for execSync using untrusted data from both a user-controlled file (entries) and user-controlled CLI flags (--tags/--type). The conditional and partial quoting/escaping is not sufficient to make shell execution safe, creating a plausible command-injection pathway that could allow arbitrary command execution in the environment where this tool runs. This should be remediated by avoiding string-based execSync and using argument-array execution APIs (e.g., spawn/spawnSync or execFile) with strict input validation/escaping.

Confidence: 78%Severity: 85%
SecurityMEDIUM
scripts/ingest.js

This module is an ingestion-and-embedding CLI with no clear malicious payload indicators in the shown code, but it contains a significant security weakness: it uses execSync to run curl with a user-controlled URL embedded in a shell command string, creating a command-injection risk. It also allows arbitrary local file reads based on user-provided paths. If inputs are not fully trusted, this package should be treated as potentially unsafe.

Confidence: 78%Severity: 70%
Audit Metadata
Analyzed At
Apr 7, 2026, 01:01 PM
Package URL
pkg:socket/skills-sh/itsAR-VR%2Fgoatedskills%2Fknowledge-base%2F@667be1bcf95f9bb6821f7c21cf3b2b24cee9b768