My security hook silently stopped guarding. The bug was one line of encoding.
A developer discovered that a security hook guarding an AI coding agent silently stopped protecting files with non-ASCII paths due to a one-line encoding bug. The hook, which reads JSON from stdin, us…