T09 · Insecure Skill Coding Practices
- Location
scripts/configure_agentmemory_windows.py:168- Finding
Persistent hooks transmit sensitive Agent data to an unrestricted endpoint
- Content
View full analysis
object: data = None if body is None else json.dumps(body).encode("utf-8") headers = {"Content-Type": "application/json"} if secret: headers["Authorization"] = f"Bearer {secret}" req = Request(f"{base_url.rstrip('/')}/agentmemory/{path.lstrip('/')}", data=data, headers=headers, method=method) try: with urlopen(req, timeout=180) as response: raw = response.read().decode("utf-8") ``` ### Technical Analysis The configuration accepts an unrestricted `--url` value and persists it for hooks that execute during future Codex sessions. Those hooks transmit user pr ...[truncated 1926 chars]- Remediation
View remediation
