aipotheosis-labs / aipotheosis-labs/aci

Security Audit Report — 2 low-severity findings (AgentAudit)

未关闭
#605 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
4.9k
派生
484
PR 合并指标
30 天内没有已合并 PR

描述

## 🔒 AgentAudit Security Report

**Package:** `aci` | **Result:** ✅ Safe (risk score: 6/100) | **Commit:** `6e1e651`

Full report: https://agentaudit.dev/skills/aci

---

### Finding 1 — MEDIUM: Sentry send_default_pii sends API keys and session data to third party

- **File:** `backend/aci/server/sentry.py:12`
- **Pattern:** INFO_LEAK_001
- **Confidence:** high

`send_default_pii=True` in non-local environments causes Sentry to collect and transmit request headers (including `X-API-KEY`), cookies (session tokens), and client IP addresses to Sentry servers.

**Remediation:** Set `send_default_pii=False` and use a `before_send` callback to scrub sensitive headers (`X-API-KEY`, `Cookie`) before sending events to Sentry.

---

### Finding 2 — LOW: Function execution input logged at INFO level may contain sensitive user data

- **File:** `backend/aci/server/function_executors/base_executor.py:43`
- **Pattern:** INFO_LEAK_002
- **Confidence:** medium

`function_input` dict is logged at INFO level and may contain sensitive data (passwords, API keys, personal info) passed by users through tool calls.

**Remediation:** Redact or mask sensitive fields in `function_input` before logging using a scrubbing utility.

---

*This report was generated by [AgentAudit](https://agentaudit.dev) — automated security auditing for AI packages.*

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。