researching-codebases

Warn

Audited by Socket on Oct 9, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/read-research.py

The code is a simple research-document reader with no clear malicious behavior. It contains a path validation flaw: raw string prefix checks do not enforce directory containment and allow traversal, symlink redirection, and similarly prefixed sibling directories. This can disclose unintended local files when an attacker can influence the path or filesystem. Use resolved paths and robust containment checks (for example, `Path.is_relative_to()` after appropriate resolution) before reading.

Confidence: 98%Severity: 58%
AnomalyLOW
scripts/promote-research.py

The code is a straightforward local file promotion utility with no evident malicious behavior. It contains a path traversal and absolute-path validation weakness because user-controlled filenames are used directly in filesystem operations. Restrict the argument to a basename or resolve both paths and verify they remain beneath their intended directories before copying or moving.

Confidence: 99%Severity: 62%
Audit Metadata
Analyzed At
Oct 9, 2026, 12:40 PM
Package URL
pkg:socket/skills-sh/cachemoney%2Fagent-toolkit%2Fresearching-codebases%2F@e9e813f4f9bf587cfb25a68d66870689f77a2530c17e6fba127640efc617e7dc