haystack

Warn

Audited by Socket on Sep 4, 2026

1 alert found:

Anomaly
AnomalyLOW
references/00-overview.md

No clear indicators of intentional malware (e.g., credential theft, backdoors, persistence, or malicious network destinations) are present in the shown fragment. However, the code includes a security-critical anti-pattern: a calculator tool that uses `eval()` on an `expression` string that can be influenced by user/agent behavior. Combined with tool-calling orchestration and unvalidated prompt inputs (retrieved `doc.content`), this creates a meaningful security risk. Replace `eval()` with a safe arithmetic parser/allowlist (e.g., parse numbers/operators only) and sanitize/limit retrieved content used in prompts as appropriate.

Confidence: 66%Severity: 62%
Audit Metadata
Analyzed At
Sep 4, 2026, 10:34 AM
Package URL
pkg:socket/skills-sh/abhisheksharma-17%2Fskills-graph%2Fhaystack%2F@a9f07f88dac25eb4cee7ba8968639f9fb9a86f67a28970145be22b68d6b14ed3
Security Audit — socket — haystack