Description
I'm attaching a grpcurl instance to the Tracee gRPC server (tracee.v1beta1.TraceeService.StreamEvents RPC) and I noticed grpcurl often dies with
ERROR:
Code: Internal
Message: grpc: error while marshaling: string field contains invalid UTF-8
I think Tracee gRPC server should implement more validation/sanitization of raw syscall arguments (like read/write buffers, paths, argv) that land into grpc string fields. Anything binary (ELF bytes, compressed data, UTF-16 paths, random memory) blows up marshaling...
Output of tracee version:
Output of uname -a:
Linux agentbox 6.8.0-106-generic #106-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 6 07:58:08 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Additional details
Description
I'm attaching a
grpcurlinstance to the Tracee gRPC server (tracee.v1beta1.TraceeService.StreamEventsRPC) and I noticedgrpcurloften dies withI think Tracee gRPC server should implement more validation/sanitization of raw syscall arguments (like read/write buffers, paths, argv) that land into grpc string fields. Anything binary (ELF bytes, compressed data, UTF-16 paths, random memory) blows up marshaling...
Output of
tracee version:Output of
uname -a:Additional details