# Security Paperclip

> Paperclip security — tenancy isolation, secrets, approval gates, hard budgets, signed adapter channel. Use when auditing or hardening Paperclip.

- Skill: `thebeardedbearsas/security-paperclip-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add thebeardedbearsas/security-paperclip-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/thebeardedbearsas/security-paperclip-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: TheBeardedBearSAS (https://skillmd.com/u/thebeardedbearsas)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/thebeardedbearsas/security-paperclip-2

---


# Paperclip Security

`companyId` from session/path only (never client body); secrets encrypted at rest + redacted in logs + resolved via `ctx.secrets.resolve(ref)` in plugins; approval gates server-only and append-only; budgets are hard limits enforced at dispatch; Better Auth for operator auth with a rotated `BETTER_AUTH_SECRET`; CSP/HSTS/COOP/CORP shipped on UI; plugin capabilities declared minimally; `pnpm audit --audit-level=high` in CI.

See ../../rules/11-security-paperclip.md for detailed documentation.

