skills/brycewang-stanford/awesome-agent-skills-for-empirical-research/statsmodels/Gen Agent Trust Hub
statsmodels
Pass
Audited by Gen Agent Trust Hub on May 16, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The linear models reference documentation includes a code snippet demonstrating how to save and load fitted model objects using Python's 'pickle' module.\n
- Evidence: File 'references/linear-models.md' contains: 'with open("ols_results.pkl", "rb") as f: results = pickle.load(f)'\n
- Risk: The 'pickle' module is vulnerable to arbitrary code execution during the deserialization process. If an agent or user is instructed to load a '.pkl' file from an untrusted or external source, it could lead to the execution of malicious code. While this is a standard method for model persistence in the Python ecosystem, its use without explicit safety warnings is a best practice violation.
Audit Metadata