You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fi-core 1.2.0 exports process command-line arguments and OS user on every span #607
Since the zero-code release (@traceai/fi-core 1.2.0, typescript/packages/fi-core/src/otel.tsapplicationResource), every FITracerProvider merges detectResources({ detectors: [envDetector, processDetector] }) into its resource. OpenTelemetry's processDetector adds:
These attributes are exported with every span to Future AGI (and to any other OTLP destination). process.command_args can contain secrets passed on the command line (--api-key=..., connection strings), and process.owner is a personal identifier.
Where it surfaced
The coding-agent packages assert that hook traces never carry local host.* / process.* identity. After merging dev (fi-core 1.2.0) into the coding-agent integration branch, those privacy tests failed in 10 adapter suites. The integration branch now strips host.* / process.* in @traceai/agent-core before export, but other fi-core users still send them.
Suggested fix
Make process/host detection opt-in (or drop process.command_args, process.command and process.owner by default), and document the switch.
Apply the same content-privacy policy (FI_HIDE_*, redaction) to resource attributes, or exclude them from export unless explicitly enabled.
Add a test that a default provider exports no process.command_args / process.owner.
Fixed on dev by #614 (2c3a6e8). @traceai/fi-core 1.2.1 detects only process.runtime.* by default; OTEL_NODE_RESOURCE_DETECTORS opts in to host, os and process attributes. It ships with the next dev→main release.
Activity
fix(fi-core): stop exporting the process command line and OS user (#614)
nik13 commentedon Nov 8, 2026
Fixed on dev by #614 (2c3a6e8).
@traceai/fi-core1.2.1 detects onlyprocess.runtime.*by default;OTEL_NODE_RESOURCE_DETECTORSopts in to host, os and process attributes. It ships with the next dev→main release.