reasoningbank-with-agentdb

Warn

Audited by Socket on Sep 30, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
examples/trajectory-optimization-example.js

The fragment appears to implement trajectory analysis and tracking. Its primary security concern is command injection risk from interpolating values into execSync() shell commands; use execFile/execFileSync with argument arrays or otherwise avoid shell interpretation. No clear malware behavior is evident.

Confidence: 98%Severity: 72%
AnomalyLOW
resources/trajectory-tracker.sh

The code appears to implement trajectory logging rather than malware. It has input-handling and filesystem safety weaknesses, especially jq-filter interpolation and unvalidated trajectory IDs used in file operations. The optional npx agentdb@latest invocation also executes a mutable external package version. Validate identifiers, use jq arguments for data values, encode JSON safely, and pin the imported package version.

Confidence: 97%Severity: 58%
Audit Metadata
Analyzed At
Sep 30, 2026, 11:05 AM
Package URL
pkg:socket/skills-sh/dnyoussef%2Fcontext-cascade%2Freasoningbank-with-agentdb%2F@9ebba6a0ab9fca47f000eba13b06fd0f6f521c89393d2951f8b8002d59e2ee3c