The package entry point initializes Datadog tracing, and the flagged Jest code is feature-gated CI instrumentation. The prepare script operates on coverage tooling and vendor dependencies; the inspected source did not show an attack chain.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Tracer initialization occurs on import; the examined Jest wrapper acts when CI test features are enabled.
Impact
No unauthorized credential collection, unrelated data transfer, account action, or destructive behavior was identified.
Mechanism
The package initializes a singleton tracer and registers a beforeExit handler. The Jest wrapper passes messages through when its related features are disabled.