C++ LogLens baselineのみsecurity fix対象です。Carbon examplesとinterop experimentsは学習用であり、production support対象ではありません。
Log inputはuntrustedとみなします。主なriskはmalformed input、integer overflow、extreme line length、unique-service cardinalityによるmemory exhaustion、terminal/JSON injectionです。
Current mitigations:
from_charsによるbounded integer parse- service character/length allowlist
- fixed-size latency histogram
- saturating latency sum
- bounded line reader(oversized inputを保持せずdrain)
- configurable unique-service limit
- ASan/UBSanとparser fuzz target
- stdout/stderr separation
既定値は1行1 MiB、10,000 servicesです。用途に合わせてCLIでより小さく設定できます。 limit超過はsilent aggregationを行わずexit 5でfail closedします。disk fullとclosed pipeはexit 3です。 exact resource budgetと100M-line soak/profileはIssue 016で継続追跡します。
Public issueへexploit detailを投稿せず、repository ownerへprivate security advisoryで報告してください。