Skip to content

Commit b51b0ee

Browse files
Fix: Unsafe Template Package May Allow Malicious Code Injection in internal/llminternal/agent_transfer.go (google#249)
* fix: semgrep_go.lang.security.audit.xss.import-text-template.import-text-template_internal/llminternal/agent_transfer.go_21 * Reorder import statement for 'slices' --------- Co-authored-by: Dmitry Pasiukevich <dpasiukevich@google.com>
1 parent 9157fd1 commit b51b0ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎internal/llminternal/agent_transfer.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ package llminternal
1717
import (
1818
"bytes"
1919
"fmt"
20+
"html/template"
2021
"slices"
21-
"text/template"
2222

2323
"google.golang.org/adk/agent"
2424
"google.golang.org/adk/internal/agent/parentmap"

0 commit comments

Comments
 (0)