
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@mediapipe/tasks-genai
Advanced tools
This package contains the GenAI tasks for MediaPipe.
The MediaPipe LLM Inference task generates text responses from input text. For Gemma 3n models, it can process input images and audio as well.
In order to begin, you must have a model available. You can download Gemma 3n E4B or Gemma 3n E2B, or browse for more pre-converted models on our LiteRT HuggingFace community, where files named "-web.task" are specially converted to run optimally in the browser. All text-only variants of Gemma 3 are available there, as well as MedGemma-27B-Text. See our web inference guide for more information. Note that only models encoded for the GPU backend are currently supported.
const genai = await FilesetResolver.forGenAiTasks(
"https://cdn.jsdelivr.net/npm/@mediapipe/tasks-genai/wasm"
);
const llmInference = await LlmInference.createFromModelPath(genai, MODEL_URL);
const response = await llmInference.generateResponse(inputText);
FAQs
MediaPipe GenAI Tasks
The npm package @mediapipe/tasks-genai receives a total of 559 weekly downloads. As such, @mediapipe/tasks-genai popularity was classified as not popular.
We found that @mediapipe/tasks-genai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.