torchforge-rl-training

Fail

Audited by Gen Agent Trust Hub on Apr 7, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [PROMPT_INJECTION]: The skill makes deceptive claims in its metadata and body, asserting it is 'Meta's PyTorch-native RL library'. It directs users to 'meta-pytorch.org' and GitHub repositories under the 'meta-pytorch' organization, which are not authenticated Meta or PyTorch entities. This deception is likely intended to establish false trust and bypass user scrutiny of the code source.
  • [REMOTE_CODE_EXECUTION]: The skill's installation process requires running ./scripts/install.sh and ./scripts/install_rocm.sh. These files are missing from the provided skill files, preventing security verification. Executing unreviewed local scripts represents a high risk for arbitrary code execution.
  • [EXTERNAL_DOWNLOADS]: The skill fetches and installs core dependencies from unverified external sources (github.com/meta-pytorch/torchforge, github.com/meta-pytorch/monarch). Without official vendor verification, these repositories pose a significant supply chain risk.
  • [COMMAND_EXECUTION]: The workflow relies heavily on the execution of shell commands, including SLURM (sbatch) and Python module execution (python -m apps.*). This creates a high-impact attack surface if any part of the configuration is influenced by malicious actors.
  • [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection vulnerability surface:
  • Ingestion points: Processes untrusted data from the openai/gsm8k dataset via dataset.path in config/grpo_math.yaml.
  • Boundary markers: Absent; there are no delimiters or instructions to ignore embedded commands within the dataset samples.
  • Capability inventory: The skill possesses extensive capabilities, including subprocess execution and network access to HuggingFace/GitHub.
  • Sanitization: Absent; the skill does not mention any validation or filtering of the processed training data.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Apr 7, 2026, 11:12 AM