Log inGet a Demo

inference-server

Medium · Risk 40

The skill lacks necessary security constraints for its network and file operations, while exposing critical command injection and unauthorized model weight injection vulnerabilities through its configuration and update endpoints.

Findings (5)

Behavioural Control

Medium

targets Action

4 findings
#1Potential for SLURM command injectionmediumcommand execution60% confidence

The use of Jinja2 templates for SLURM scripts (`inference.sbatch.j2`) combined with user-provided TOML configurations creates a risk of command injection if configuration fields are not sanitized before template rendering.

src/prime_rl/templates/inference.sbatch.j2 — SLURM template
#2Unverified weight loading capabilitymediumcommand execution70% confidenceline 86

The `/update_weights` endpoint allows hot-reloading model weights, which could be exploited to inject malicious model parameters if the source is not strictly validated.

- `/update_weights` — hot-reload model weights from the trainer
#3Missing allowed-tools declarationlow90% confidence

Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.

#4Undeclared network usagelow60% confidence

Skill contains network access patterns (HTTP requests, socket connections) without declaring network capability in allowed-tools.

Hygiene

Info

targets Packaging & Manifest

1 finding
#1Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.