deepagents is vulnerable to Denial of Service (DoS)
53
Medium Risk
The FilesystemBackend and LocalShellBackend implement the glob, grep, and recursive-search tools with fast-glob, which follows symbolic links by default. When these tools scan a directory tree that contains a self-referential directory symlink (for example sub/sub -> .), fast-glob descends into the cycle indefinitely until the operating system raises ELOOP, crashing the tool and the surrounding agent operation. Because symlink following also let enumeration walk outside the intended search root, matched files could be reported and read from outside that root. The fix sets followSymbolicLinks: false on the glob calls and re-includes symlink-to-file entries through explicit stat checks so directory cycles are no longer traversed.
You are affected if you are using a version that falls within the vulnerable range and expose the filesystem glob, grep, or search tools over a directory tree that can contain attacker-influenced symlinks.
deepagents is vulnerable to Denial of Service (DoS) in versions 1.1.0 - 1.10.7.
Upgrade the deepagents library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant