Skip to main content

transformers-js

Transforms JavaScript applications with state-of-the-art machine learning models for NLP, computer vision, and audio tasks.

Install this skill

or
57/100

Security score

The transformers-js skill was audited on Mar 14, 2026 and we found 31 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 479

Template literal with variable interpolation in command context

SourceSKILL.md
479console.log(`${info.status}: ${info.file}`);
medium line 483

Template literal with variable interpolation in command context

SourceSKILL.md
483console.log(`${info.file}: ${info.progress.toFixed(1)}%`);
medium line 487

Template literal with variable interpolation in command context

SourceSKILL.md
487console.log(`✓ ${info.file} complete`);
low line 36

External URL reference

SourceSKILL.md
36import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers';
low line 74

External URL reference

SourceSKILL.md
74- **All models**: https://huggingface.co/models?library=transformers.js&sort=trending
low line 76

External URL reference

SourceSKILL.md
76- Text generation: https://huggingface.co/models?pipeline_tag=text-generation&library=transformers.js&sort=trending
low line 77

External URL reference

SourceSKILL.md
77- Image classification: https://huggingface.co/models?pipeline_tag=image-classification&library=transformers.js&sort=trending
low line 78

External URL reference

SourceSKILL.md
78- Speech recognition: https://huggingface.co/models?pipeline_tag=automatic-speech-recognition&library=transformers.js&sort=trending
low line 177

External URL reference

SourceSKILL.md
177const result = await classifier('https://example.com/image.jpg');
low line 185

External URL reference

SourceSKILL.md
185const objects = await detector('https://example.com/image.jpg');
low line 192

External URL reference

SourceSKILL.md
192const segments = await segmenter('https://example.com/image.jpg');
low line 198

External URL reference

SourceSKILL.md
198const depth = await depthEstimator('https://example.com/image.jpg');
low line 270

External URL reference

SourceSKILL.md
270https://huggingface.co/models?library=transformers.js&sort=trending
low line 277

External URL reference

SourceSKILL.md
277| **Text Generation** | https://huggingface.co/models?pipeline_tag=text-generation&library=transformers.js&sort=trending |
low line 278

External URL reference

SourceSKILL.md
278| **Text Classification** | https://huggingface.co/models?pipeline_tag=text-classification&library=transformers.js&sort=trending |
low line 279

External URL reference

SourceSKILL.md
279| **Translation** | https://huggingface.co/models?pipeline_tag=translation&library=transformers.js&sort=trending |
low line 280

External URL reference

SourceSKILL.md
280| **Summarization** | https://huggingface.co/models?pipeline_tag=summarization&library=transformers.js&sort=trending |
low line 281

External URL reference

SourceSKILL.md
281| **Question Answering** | https://huggingface.co/models?pipeline_tag=question-answering&library=transformers.js&sort=trending |
low line 282

External URL reference

SourceSKILL.md
282| **Image Classification** | https://huggingface.co/models?pipeline_tag=image-classification&library=transformers.js&sort=trending |
low line 283

External URL reference

SourceSKILL.md
283| **Object Detection** | https://huggingface.co/models?pipeline_tag=object-detection&library=transformers.js&sort=trending |
low line 284

External URL reference

SourceSKILL.md
284| **Image Segmentation** | https://huggingface.co/models?pipeline_tag=image-segmentation&library=transformers.js&sort=trending |
low line 285

External URL reference

SourceSKILL.md
285| **Speech Recognition** | https://huggingface.co/models?pipeline_tag=automatic-speech-recognition&library=transformers.js&sort=trending |
low line 286

External URL reference

SourceSKILL.md
286| **Audio Classification** | https://huggingface.co/models?pipeline_tag=audio-classification&library=transformers.js&sort=trending |
low line 287

External URL reference

SourceSKILL.md
287| **Image-to-Text** | https://huggingface.co/models?pipeline_tag=image-to-text&library=transformers.js&sort=trending |
low line 288

External URL reference

SourceSKILL.md
288| **Feature Extraction** | https://huggingface.co/models?pipeline_tag=feature-extraction&library=transformers.js&sort=trending |
low line 289

External URL reference

SourceSKILL.md
289| **Zero-Shot Classification** | https://huggingface.co/models?pipeline_tag=zero-shot-classification&library=transformers.js&sort=trending |
low line 330

External URL reference

SourceSKILL.md
330// 1. Visit: https://huggingface.co/models?pipeline_tag=text-generation&library=transformers.js&sort=trending
low line 404

External URL reference

SourceSKILL.md
404env.remoteHost = 'https://cdn.example.com/models';
low line 588

External URL reference

SourceSKILL.md
588- Official docs: https://huggingface.co/docs/transformers.js
low line 589

External URL reference

SourceSKILL.md
589- API reference: https://huggingface.co/docs/transformers.js/api/pipelines
low line 590

External URL reference

SourceSKILL.md
590- Model hub: https://huggingface.co/models?library=transformers.js
Scanned on Mar 14, 2026
View Security Dashboard