Affected by GO-2025-3548
and 8 other vulnerabilities
GO-2025-3548 : Ollama Vulnerable to Denial of Service (DoS) via Crafted GZIP in github.com/ollama/ollama
GO-2025-3557 : Ollama Allocation of Resources Without Limits or Throttling vulnerability in github.com/ollama/ollama
GO-2025-3558 : Ollama Allows Out-of-Bounds Read in github.com/ollama/ollama
GO-2025-3559 : Ollama Divide By Zero vulnerability in github.com/ollama/ollama
GO-2025-3582 : Ollama Denial of Service (DoS) via Null Pointer Dereference in github.com/ollama/ollama
GO-2025-3689 : Ollama Divide by Zero Vulnerability in github.com/ollama/ollama
GO-2025-3695 : Ollama Server Vulnerable to Denial of Service (DoS) Attack in github.com/ollama/ollama
GO-2025-3824 : Ollama vulnerable to Cross-Domain Token Exposure in github.com/ollama/ollama
GO-2025-4251 : Ollama has missing authentication enabling attackers to perform model management operations in github.com/ollama/ollama
Discover Packages
github.com/ollama/ollama
tools
package
Version:
v0.11.4
Opens a new window with list of versions in this module.
Published: Aug 7, 2025
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewParser creates a new tool call parser from a model's chat
template and a list of provided tools.
Add processes a string input to parse tool calls and content that
should be sent back to the user.
Content returns any remaining content that
should be sent to the user. This should be the empty string
string unless the tag is { or [ and a tool call was not found
Source Files
¶
Click to show internal directories.
Click to hide internal directories.