grpo-finetune

Warn

Audited by Socket on Sep 4, 2026

3 alerts found:

Anomalyx2Security
AnomalyLOW
run_pipeline.py

This module is a fine-tuning/evaluation orchestration script with no clear intrinsic malware indicators (no obvious obfuscation, no explicit exec/eval of dynamic strings, no direct exfiltration code beyond standard API usage). However, it materially increases supply-chain risk by loading and executing a user-specified reward module (args.reward) in the current process, manipulating sys.path to import local training code, and running a local demo script via subprocess. If an attacker can tamper with reward.py or the local repository paths, they could execute arbitrary code during training/evaluation.

Confidence: 74%Severity: 55%
SecurityMEDIUM
generate_reward.py

This file is a validator/test harness, not malware by itself. However, it is a high-impact arbitrary-code-execution mechanism: it dynamically imports and executes Python from a runtime-supplied filesystem path (exec_module) and then repeatedly calls functions from that untrusted module. If an attacker can influence the provided PATH/module contents, this enables supply-chain-style code execution. Numeric output constraints do not mitigate side effects.

Confidence: 78%Severity: 75%
AnomalyLOW
SKILL.md

SUSPICIOUS: the skill is mostly aligned with ML fine-tuning, but it loads multiple credentials from .env and routes sensitive data through unshown local pipeline code. The main concern is disproportionate/opaque credential use—especially OPENROUTER_API_KEY for a Fireworks-focused training skill—rather than overt malware or a hostile installer.

Confidence: 84%Severity: 53%
Audit Metadata
Analyzed At
Sep 4, 2026, 09:35 AM
Package URL
pkg:socket/skills-sh/patchy631%2Fai-engineering-hub%2Fgrpo-finetune%2F@84622db611c38471e6ebe4a8e8006b4c25ced3f757b01103195349b7901b1680
Security Audit — socket — grpo-finetune