Tony-Stark2025

Piton — AI skill for Claude Code

AI community

Piton — The package-lock.json & supply-chain firewall for AI coding agents (split-hash MCP pinning, Claude/Cursor hook RCE linting, shadow replay -> CEL/Cedar & Envoy ext_proc sidecar).

How to install Piton

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Tony-Stark2025/piton and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Piton does

Piton — The package-lock.json & supply-chain firewall for AI coding agents (split-hash MCP pinning, Claude/Cursor hook RCE linting, shadow replay -> CEL/Cedar & Envoy ext_proc sidecar).

Alternatives in AI

  • Claude Replay — Convert AI coding agent sessions (Claude Code, Cursor, Codex, Gemini, OpenCode) into self-contained, embeddabl 644 ★
  • Karpathy LLM Wiki — Agent Skills-compatible LLM wiki for Claude Code, Cursor, and Codex 618 ★
  • Prismor — Self-hosted runtime control plane for AI agents 334 ★

README

Piton

[![PyPI version](https://img.shields.io/pypi/v/piton-cli?color=f97316&label=PyPI)](https://pypi.org/project/piton-cli/) [![Piton CI Pipeline](https://github.com/Tony-Stark2025/piton/actions/workflows/ci.yml/badge.svg)](https://github.com/Tony-Stark2025/piton/actions/workflows/ci.yml) [![Release](https://img.shields.io/github/v/release/Tony-Stark2025/piton?color=0ea5e9)](https://github.com/Tony-Stark2025/piton/releases) [![GHCR Sidecar](https://img.shields.io/badge/GHCR-piton--sidecar-2563eb?logo=docker&logoColor=white)](https://github.com/Tony-Stark2025/piton/pkgs/container/piton-sidecar) [![License: MIT](https://img.shields.io/badge/License-MIT-22c55e.svg)](LICENSE)

**Lockfile and static supply-chain scanner for MCP servers, Claude Code hooks, and Cursor rules.**

Don't wrap your agents in a probabilistic prompt firewall. Hammer deterministic split-hash pins into every MCP tool, Claude/Cursor hook, and schema.

![Piton CLI Live Demo — piton scan, piton init, piton lock --diff, and piton replay exporting Cedar](https://raw.githubusercontent.com/Tony-Stark2025/piton/main/docs/piton_demo.gif)

Every AI coding agent (`Claude Code`, `Cursor`, `Claude Desktop`, `OpenCode`) now pulls unpinned third-party MCP tool descriptions, executes `.claude/settings.json` shell hooks, and ingests `.cursor/rules` / skill markdown files straight into privileged developer sessions. One silent upstream description edit (an MCP rug pull) or a malicious PR hook turns your repo into instant RCE.

**Piton** gives you a 30-second deterministic lockfile and PR gate—and scales all the way to shadow-to-enforce policy replay (`CEL`/`Cedar` export) and a production Go Envoy v3 `ext_proc` sidecar.


30-Second Quickstart

Slim Python CLI — **only 2 runtime dependencies (`pydantic` + `pyyaml`)**:

# Zero-install instant scan (works anywhere with uv):
uvx piton-cli scan --repo .

# Or test it right now against our intentionally poisoned demo repo (catches 8 CRITICAL/HIGH find