grpo-rl-training

Warn

Audited by Socket on Sep 9, 2026

1 alert found:

Security
SecurityMEDIUM
examples/reward_functions_library.py

Overall risk is dominated by unsandboxed `exec()` of Python extracted from untrusted LLM content. While the module is intended for evaluation/scoring, it effectively acts as a code execution engine during reward computation, enabling arbitrary code execution (and thus potential data theft, sabotage, or environment compromise) if attacker-influenced model outputs are possible. No explicit hardcoded credentials or direct network/exfiltration endpoints are visible in this fragment; however, the execution primitive makes malicious behavior feasible. Additional sinks may exist in omitted referenced helpers, but the `exec()` path alone is a critical red flag.

Confidence: 86%Severity: 90%
Audit Metadata
Analyzed At
Sep 9, 2026, 07:08 PM
Package URL
pkg:socket/skills-sh/qcmuu%2Fai-research-skills%2Fgrpo-rl-training%2F@5d7161b5500606eb06e189cd2ced1552dd126f3e4fd5aa2062d3d79405eec964
Security Audit — socket — grpo-rl-training