knowledge-catalog-discovery

Warn

Audited by Socket on Apr 29, 2026

3 alerts found:

Anomalyx3
AnomalyLOW
scripts/lookup_context.js

No direct evidence of intentional malware is present in this wrapper code (no explicit obfuscation or self-contained malicious actions). However, the script is security-sensitive: in GEMINI_CLI mode it reads a local ../../../.env file and forwards its contents into the environment of a spawned npx execution of @toolbox-sdk/server@1.1.0, and it also forwards arbitrary caller CLI arguments to that tool. This creates a meaningful risk of secret exposure to a third-party dependency and supply-chain/execution risk via runtime npx invocation. Review the invoked tool’s behavior and consider tightening env loading (allowlisting/redaction) and avoiding runtime npx execution where possible.

Confidence: 62%Severity: 62%
AnomalyLOW
scripts/lookup_entry.js

No clear evidence of overt malware or backdoor behavior exists within this wrapper alone; it functions as a launcher. However, it meaningfully increases security risk by (1) executing third-party npm code at runtime via npx and (2) optionally reading a local ../../../.env file and injecting its contents into the environment of the spawned tool without filtering. Combined with forwarding user-controlled CLI arguments and inheriting stdio, this warrants review—especially to ensure secrets are not unintentionally exposed to downstream tooling and that the invoked package safely handles arguments.

Confidence: 66%Severity: 57%
AnomalyLOW
scripts/search_entries.js

This module itself does not show overt malware logic, but it is a delegation wrapper that executes an external npm package at runtime via `npx` and passes both merged environment variables (including possible secrets from a local '../../../.env') and user-provided CLI arguments to that executed tool. Overall risk is driven by supply-chain execution and secret exposure to the invoked dependency rather than by any direct malicious code in the wrapper.

Confidence: 62%Severity: 56%
Audit Metadata
Analyzed At
Apr 29, 2026, 05:20 AM
Package URL
pkg:socket/skills-sh/gemini-cli-extensions%2Fknowledge-catalog%2Fknowledge-catalog-discovery%2F@a343a01ffd0b6660fe97bf210014e232e7e1cafc
Security Audit — socket — knowledge-catalog-discovery