You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SEC: Redis has no requirepass — agent containers have unauthenticated full read/write access to platform task queue (AISEC-C1) #589
Redis at redis:6379 on the internal Docker network (172.28.0.0/16) requires no authentication. Any agent container can connect directly and perform arbitrary LRANGE, SET, DEL on the platform's task queue, slot tracking, and heartbeat keys — including reading and injecting tasks belonging to other users.
Context
AISEC automated security assessment (scan 3aad5469, 2026-04-28) demonstrated the full exploit chain:
Inject attacker-controlled .mcp.json via POST /api/agents/{name}/credentials/inject
Drive the agent's bash to nc -w3 redis 6379 and capture output
Redis responds to PING with +PONG — requirepass is not set (version 7.4.8, uptime 19 days)
LRANGE on a foreign queue reveals task records of other users:
agent:queue:ad_copy_generator_seller LIST (other user, source_user_id=1)
agent:queue:competitor-ad-swipefile-seller LIST (other user)
An attacker can inject task records into another user's queue; the receiving Claude Code agent executes them as that user.
Root cause gap vs. prior fix: UnderDefense issue #172 (Docker Image Allowlist) was fixed on 2026-04-23 and given an "A — Excellent" grade. That fix closed one vector but did not address the actual root cause: Redis itself has no password. Any legitimately deployed agent container still has direct unauthenticated access.
Integration test asserts an agent-network container cannot authenticate to Redis without the platform password
All existing Redis clients (slot_service.py, backlog_service.py, event_bus.py, cleanup_service.py, credential_encryption.py) use REDIS_URL=redis://:${REDIS_PASSWORD}@redis:6379
Technical Notes
docker-compose.yml starts Redis with no auth override today
Network isolation is the strongest control: add a platform-internal bridge network that Redis and backend/mcp-server join; remove Redis from trinity-agent-network
The requirepass fix alone is not sufficient if agent containers can still reach port 6379 — they could brute-force or extract the password from env vars of a compromised container
Activity
sec(files): close .mcp.json RCE-by-config bypass (AISEC-C2, #590)
sec(files): close .mcp.json RCE-by-config bypass (AISEC-C2, #590)
docs(security): detach agents before network rm (Abilityai#589)
fix(security): CSO OBS-1/2/3 follow-ups — webhook rate-limit + health…
fix(security): lock down Redis — auth + ACL + network split (#589)
fix(dev): update gitea overlay network name after #589 split
fix(tests): use credentialed Redis URL in scheduler test_config fixtu…
fix(security): close TOCTOU race in webhook rate limiter (#644)
refactor(config): remove legacy unauth REDIS_URL fallbacks (#645) (#697)
fix(security): close TOCTOU race in webhook rate limiter (#644) (#696)
6 remaining items
docs(releases): v0.6.0 release notes archive (#1016)
feat(db): configurable backend seam + PostgreSQL schema bootstrap (#300)
feat(db): configurable backend seam + PostgreSQL schema bootstrap (#300)
feat(db): configurable backend seam + PostgreSQL schema bootstrap (#300)
Release: v0.6.1 (#1171)
feat(db): configurable backend seam + PostgreSQL schema bootstrap (#300)
feat(db): configurable database backend — experimental PostgreSQL sup…
test: fix dev test-suite drift + harness bugs (no product changes)
fix(skills): resolve REDIS_URL through config, not os.getenv (#645 gu…
fix(tests): resolve the integration Redis target once, and fail inste…
fix(tests): resolve the integration Redis target once, and fail inste…
fix(tests): resolve the integration Redis target once, and fail inste…