Skip to main content

transformers-js

Transforms JavaScript applications with Hugging Face models for tasks like text analysis, image classification, and speech recognition.

Install this skill

or
57/100

Security score

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

Categories Tested

Security Issues

medium line 481

Template literal with variable interpolation in command context

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

Template literal with variable interpolation in command context

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

Template literal with variable interpolation in command context

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

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

External URL reference

SourceSKILL.md
590- Official docs: https://huggingface.co/docs/transformers.js
low line 591

External URL reference

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

External URL reference

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