fine-tuning

Fail

Audited by Socket on Feb 16, 2026

1 alert found:

Obfuscated File
Obfuscated FileHIGH
scripts/finetune_lora.py

The file is a LoRA fine-tuning orchestration script but is syntactically broken and incomplete. The highest-risk element is AutoModelForCausalLM.from_pretrained(..., trust_remote_code=True), which permits arbitrary remote code execution and presents a serious supply-chain threat if untrusted model repositories are used. The malformed prepare_dataset text suggests accidental corruption or possible tampering of the source, which further undermines trust in the artifact. I found no explicit in-file exfiltration code, hard-coded credentials, or active backdoors, but the ability to execute remote code via model loading makes this package potentially dangerous unless mitigations (trusted sources, code review, pinning) are applied.

Confidence: 98%
Audit Metadata
Analyzed At
Feb 16, 2026, 01:08 PM
Package URL
pkg:socket/skills-sh/pluginagentmarketplace%2Fcustom-plugin-ai-engineer%2Ffine-tuning%2F@eefdaf335b31d1cd56c0dc38faa2caf6909ecc84