transformers

ISSUES FOUND max severity HIGHSkillSpector Caution 37 registry K-Dense-AI last scanned 1 scan

1 finding (1 high), mainly command injection. Most recent scan 2026-10-21.

Second scanner: NVIDIA SkillSpector

Independent static run, no language model, over the same files as the Cisco scan above. How the two scanners compare across the whole corpus: Two scanners, one corpus.

What this skill does

Hugging Face Transformers for loading Hub models, running pipeline inference, text generation, and Trainer fine-tuning on NLP, vision, audio, and multimodal tasks. Applies when working with AutoModel, pipelines, tokenizers, generation configs, or TrainingArguments within Transformers.

Package
7 files, 79 KB
SKILL.md
1264 words, 12+ sections
Code
None. Instructions only.
Allowed tools
Read Write Edit Bash
License
Apache-2.0 license
Compatibility
Requires Python 3.10+, PyTorch 2.5+, and transformers 5.18.0; optional librosa 1.0 requires Python 3.12+. Network access for Hub downloads. Gated or private Hub models need an HF token (`hf auth login` or `HF_TOKEN`).

SKILL.md covers: Transformers · Overview · Installation · Authentication · Transformers v5 · Quick Start · Text generation (prefer max_new_tokens for causal LMs) · Text classification · Generative question answering: verify responses against the supplied context. · Core Capabilities · 1. Pipelines for Quick Inference · 2. Model Loading and Management

Findings

HIGH Python code block uses eval/exec Command Injectionbehavioral

Code block in references/models.md at line 290 contains potentially dangerous Python code.

references/models.md:290

model.eval()
Remediation: Review the code block for security implications.

What is in the package

FileKindSize
SKILL.mddoc11 KB
references/generation.mddoc11 KB
references/models.mddoc11 KB
references/pipelines.mddoc12 KB
references/review.mddoc8.1 KB
references/tokenizers.mddoc11 KB
references/training.mddoc15 KB

External hosts referenced

github.com huggingface.co pypi.org arxiv.org doi.org export.arxiv.org

Hostnames that appear in the skill's files. Referencing a host is not a finding; compare against the findings above and the skill's stated purpose.

Environment variables referenced

HF_HOME HF_TOKEN HF_HUB_CACHE HF_TOKEN_PATH

Package contents recorded 2026-10-22 at commit 593377bb0487. The scan above ran against the version current at scan time; the two can differ if the skill has since been updated.

What we checked

What we did not check

Sources