Skip to content

Instantly share code, notes, and snippets.

View alexthec0d3r's full-sized avatar

Alexey Pavlenko alexthec0d3r

  • soter.com
  • Tallinn
View GitHub Profile
@alexthec0d3r
alexthec0d3r / litellm-compromise-check.md
Last active March 25, 2026 11:04
LiteLLM/TeamPCP Supply Chain Compromise Check — AI agent skill for scanning systems (March 24, 2026)
name litellm-compromise-check
description Check local or remote systems for indicators of the LiteLLM/TeamPCP supply chain compromise (March 24, 2026)
version 2.0.0
author Alexey Pavlenko (@alexthec0d3r)

LiteLLM / TeamPCP Supply Chain Compromise Check

Scan the current system (or a remote system via SSH) for indicators of compromise from the TeamPCP supply chain attack that hit LiteLLM versions 1.82.7 and 1.82.8 on March 24, 2026.

@alexthec0d3r
alexthec0d3r / read-access.sql
Created February 19, 2020 18:01 — forked from oinopion/read-access.sql
How to create read only user in PostgreSQL
-- Create a group
CREATE ROLE readaccess;
-- Grant access to existing tables
GRANT USAGE ON SCHEMA public TO readaccess;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess;
-- Grant access to future tables
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess;