research-literature-review

Warn

Audited by Socket on Aug 25, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/compile_latex_with_bibtex.py

This module is a build/compilation wrapper around xelatex+bibtex with template/BST path management and cleanup. It does not show explicit malware behavior (no network access, no secrets, no persistence, no obfuscated payloads). However, it meaningfully increases security risk because it (a) executes external TeX binaries on a provided .tex file (TeX processing can be dangerous without sandboxing/hardening) and (b) invokes those binaries using subprocess with shell=True when passing env, which is a higher-risk execution pattern than shell=False. Additionally, it modifies the input .tex in-place and logs TEXINPUTS/BSTINPUTS values, which can leak local path information. Treat this as operationally sensitive code: use only with trusted TeX inputs and run in an isolated/sandboxed environment.

Confidence: 63%Severity: 56%
Audit Metadata
Analyzed At
Aug 25, 2026, 12:48 PM
Package URL
pkg:socket/skills-sh/huangwb8%2Fchineseresearchlatex%2Fresearch-literature-review%2F@371015a597663cfe3d400076e12e1cba2ee7e7c79868a123d364434715e2b36a
Security Audit — socket — research-literature-review