security: review API key handling and prompt injection surface #1

Open
opened 2026-02-16 17:01:36 +00:00 by clotho · 0 comments
Member

Security audit of core/go-ai. Check:

  1. API keys (Gemini, HuggingFace) are not logged or leaked in errors
  2. Prompt construction doesn't allow injection from untrusted input
  3. File paths are sanitised (no directory traversal)
  4. HTTP clients have timeouts set
  5. Temporary files are cleaned up

Post findings as a comment. Do not make code changes.

Security audit of core/go-ai. Check: 1. API keys (Gemini, HuggingFace) are not logged or leaked in errors 2. Prompt construction doesn't allow injection from untrusted input 3. File paths are sanitised (no directory traversal) 4. HTTP clients have timeouts set 5. Temporary files are cleaned up Post findings as a comment. Do not make code changes.
clotho added the
clotho
security
labels 2026-02-16 17:01:36 +00:00
Athena was assigned by Snider 2026-02-16 17:47:44 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: core/go-ai#1
No description provided.