Skip to content

v0.24.1: Tracee gRPC server tries to marshal invalid UTF-8 in strings #5292

Description

@francescom-zenity

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:

v0.24.1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions