Skip to content

Instantly share code, notes, and snippets.

@thunfischtoast
thunfischtoast / check_litellm_vuln.sh
Last active April 1, 2026 05:08
Bash Script for check for LiteLLM vulnerabilities
#!/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'
@thunfischtoast
thunfischtoast / Check-LitellmVuln.ps1
Last active March 24, 2026 18:02
Powershell for searching for LiteLLM vulnerabilities
# =============================================================================
# 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:\"
@thunfischtoast
thunfischtoast / amazon_delivery.py
Created January 26, 2025 19:32
A small script making a basic regression model for the Amazon Delivery dataset
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

Keybase proof

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: