<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>unix-socket on Ikoma's Blog</title><link>https://blog.yusukeikoma.com/tags/unix-socket/</link><description>Recent content in unix-socket on Ikoma's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 23 Oct 2026 17:10:00 +0900</lastBuildDate><atom:link href="https://blog.yusukeikoma.com/tags/unix-socket/index.xml" rel="self" type="application/rss+xml"/><item><title>Rejecting control requests from processes that can read the token, with SO_PEERCRED on a Unix socket</title><link>https://blog.yusukeikoma.com/posts/so-peercred-unix-socket/</link><pubDate>Fri, 23 Oct 2026 17:10:00 +0900</pubDate><guid>https://blog.yusukeikoma.com/posts/so-peercred-unix-socket/</guid><description>Inside a container, a tool the agent calls can read the engine token and tell its internal API that work was saved, and unsaved work is deleted. Tokens and file modes cannot stop a tool running as the same UID. The fix reads SO_PEERCRED per connection in Go ConnContext and returns 403 before the token is checked when the peer UID is wrong.</description></item></channel></rss>