From 0d0cd27e7162d61c156e94418763d3c03ff97f03 Mon Sep 17 00:00:00 2001 From: Dinzeyi2 <133053311+Dinzeyi2@users.noreply.github.com> Date: Mon, 4 May 2026 10:12:49 -0400 Subject: [PATCH 1/3] AI Agent Privacy Notice --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/README.md b/README.md index 1f10ad0..6f888a3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,44 @@ +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 +[ + { + "type": "sensitive_context_exposure", + "evidence": "prompt = f'\\n you are a debugger agent.\\n generate sample data appropriate to the code and then run, test and debug the given code. \\n \\n given code: {generated_code}\\n '" + }, + { + "type": "unblinded_ai_call", + "evidence": "user_proxy_agent.initiate_chat(assistant_agent, message=prompt)" + }, + { + "type": "unblinded_ai_call", + "evidence": "assistant_agent.a_generate_reply(assistant_agent.chat_messages[user_proxy_agent], user_proxy_agent)" + } +] +``` + +This notice was generated from a privacy scan. Please review before merging. + +Secure your agents at: CodeAstra.dev + +--- + # TensionCode - A Function Code Generator ## Overview From 782cbd4ce2ffd21e52c7f6c4f50258bac1f94e9c Mon Sep 17 00:00:00 2001 From: Dinzeyi2 <133053311+Dinzeyi2@users.noreply.github.com> Date: Mon, 4 May 2026 14:01:29 -0400 Subject: [PATCH 2/3] AI Agent Privacy Notice --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index 6f888a3..2a6c9e3 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,39 @@ A safer pattern is to replace raw sensitive values with typed tokens before they 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": "chatopenai(openai_api_key=openai_api_key)" + } +] +``` + +This notice was generated from a privacy scan. Please review before merging. + +Secure your agents at: CodeAstra.dev + +--- + +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] From f423735a6a25f06bcb9f4a2db674f178c9175a0b Mon Sep 17 00:00:00 2001 From: Dinzeyi2 <133053311+Dinzeyi2@users.noreply.github.com> Date: Mon, 4 May 2026 15:58:59 -0400 Subject: [PATCH 3/3] AI Agent Privacy Notice --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index 2a6c9e3..09f9567 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,39 @@ A safer pattern is to replace raw sensitive values with typed tokens before they 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": "chatopenai(openai_api_key=openai_api_key)" + } +] +``` + +This notice was generated from a privacy scan. Please review before merging. + +Secure your agents at: CodeAstra.dev + +--- + +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]