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
agentic-flow 2.1.0 still ships vulnerable protobufjs chain via abandoned @xenova/transformers — migrate to @huggingface/transformers #178
agentic-flow depends on @xenova/transformers ^2.17.2. That package is abandoned at 2.17.2 — it was renamed/superseded by @huggingface/transformers — and permanently pins onnxruntime-web 1.14.0, which drags in the vulnerable onnx-proto/protobufjs chain. No release of @xenova/transformers will ever fix this.
Proposed fix
Migrate the embedding stack to the official successor:
@huggingface/transformers 4.x uses onnxruntime-web 1.26.x — entirely off the vulnerable path. The API is a near-drop-in rename (import { pipeline } from '@huggingface/transformers'), with the main v3+ changes being device/dtype options.
Activity