Skip to content

Commit 0ec25bd

Browse files
committed
ci: fix warning linelen
1 parent 4b65cbc commit 0ec25bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

samples/python/agents/ag2/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ Here we have a simple demo that shows how to use the A2A protocol to communicate
100100
> **The sample code provided is for demonstration purposes only.** When building production applications, it is critical
101101
> to treat any agent operating outside of your direct control as a potentially untrusted entity.
102102
>
103-
> All data received from an external agent—including but not limited to its AgentCard, messages, artifacts, and task statuses—should be handled as untrusted input. For example, a malicious agent could provide an AgentCard containing crafted data in its fields (e.g., `description`, `name`, `skills.description`). If this data is used without sanitization to construct prompts for a Large Language Model (LLM), it could expose your application to prompt injection attacks. Failure to properly validate and sanitize this data before use can introduce security vulnerabilities into your application.
103+
> All data received from an external agent—including but not limited to its AgentCard, messages, artifacts, and task statuses—should be handled as untrusted input. For example, a malicious agent could provide an AgentCard containing crafted data in its fields (e.g., `description`, `name`, `skills.description`).
104+
> If this data is used without sanitization to construct prompts for a Large Language Model (LLM), it could expose your application to prompt injection attacks. Failure to properly validate and sanitize this data before use can introduce security vulnerabilities into your application.
104105
>
105106
> Developers are responsible for implementing appropriate security measures, such as input validation and secure handling of credentials, to protect their systems and users.

0 commit comments

Comments
 (0)