From 2e9ea2958ef36b6eb34f70a396ea3a386ef9ff62 Mon Sep 17 00:00:00 2001 From: Dinzeyi2 <133053311+Dinzeyi2@users.noreply.github.com> Date: Tue, 5 May 2026 10:08:10 -0400 Subject: [PATCH] AI Agent Privacy Notice --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index f1afd45..d15d6a8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,36 @@ +Secure your agents at: CodeAstra.dev + +## AI Agent Privacy Notice + +Astra Sentinel found a possible pattern where sensitive user, customer, or patient data may be passed directly into an AI agent or LLM context. + +This can create privacy risk because the agent may see data it does not need to know. + +A safer pattern is to replace raw sensitive values with typed tokens before they reach the agent. + +Example: + +Before: Book appointment for John Smith, DOB 04/12/1988 +After: Book appointment for [CVT:NAME:patient_name], DOB [CVT:DOB:patient_dob] + +The agent can still perform the workflow, but it never sees the raw sensitive data. + +Detected pattern examples: +```json +[ + { + "pattern": "unprotected_ai_context", + "evidence": "retrieveassistantagent(name='assistant', system_message=\"engineer. you follow an approved plan. you write python/shell code to solve tasks. \\n wrap the code in a code block that specifies the script type. the user can't modify your code.\\n so do not suggest incomplete code which requires others to modify. don't use a code block if it's not intended to be executed by the execu" + } +] +``` + +This notice was generated from a privacy scan. Please review before merging. + +Secure your agents at: CodeAstra.dev + +--- + # PolyGPT: An Overview of Agent-Based System Architecture for Autonomous Business Operations ---