I hereby claim:
- I am thunfischtoast on github.
- I am thunfischtoast (https://keybase.io/thunfischtoast) on keybase.
- I have a public key ASCyi2ojLxJAwK1aXEEfGxAaNCGLtf7teJ_4OtZvk_6qAQo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # ============================================================================= | |
| # check_litellm_vuln.sh | |
| # Detects the malicious litellm_init.pth file from litellm 1.82.7 / 1.82.8 | |
| # Reference: https://github.com/BerriAI/litellm/issues/24512 | |
| # ============================================================================= | |
| set -euo pipefail | |
| RED='\033[0;31m' |
| # ============================================================================= | |
| # Check-LitellmVuln.ps1 | |
| # Detects the malicious litellm_init.pth file from litellm 1.82.7 / 1.82.8 | |
| # Reference: https://github.com/BerriAI/litellm/issues/24512 | |
| # Run as: powershell -ExecutionPolicy Bypass -File .\Check-LitellmVuln.ps1 | |
| # Optional: .\Check-LitellmVuln.ps1 -StartDir "C:\Users\YourName" | |
| # ============================================================================= | |
| param( | |
| [string]$StartDir = "C:\" |
| import numpy as np | |
| import pandas as pd | |
| from sklearn.ensemble import RandomForestRegressor | |
| from sklearn.linear_model import Lasso, LinearRegression, Ridge | |
| from sklearn.metrics import make_scorer | |
| # Machine Learning Setup | |
| from sklearn.model_selection import KFold, cross_validate | |
| from sklearn.preprocessing import StandardScaler |
I hereby claim:
To claim this, I am signing this object: