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
Mediumtargets Action
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
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
Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Skill contains network access patterns (HTTP requests, socket connections) without declaring network capability in allowed-tools.
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.