linktree-security-basics
FeaturedSecurity Basics for Linktree. Trigger: "linktree security basics".
AI & Automation 2,266 stars
315 forks Updated today MIT
Install
Quality Score: 99/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Linktree Security Basics
## Overview
Linktree integrations handle user-generated content (link titles, URLs, bios) and analytics data that is PII-adjacent — click counts, geographic breakdowns, and referrer URLs can fingerprint individual visitors. Bearer token authentication means a leaked key grants full account access including link creation, profile modification, and analytics export. Webhook payloads carry real-time event data signed with HMAC-SHA256, and failing to verify signatures opens your endpoint to spoofed events and data poisoning.
## Prerequisites
- Secrets manager (AWS SSM, GCP Secret Manager, or Vault) for all Linktree credentials
- HTTPS enforced on all webhook receiver endpoints
- `.env` files in `.gitignore` — never committed to version control
- Logging infrastructure that supports field-level redaction
## API Key Management
```typescript
// Load Linktree bearer token from environment — never hardcode
const LINKTREE_TOKEN = process.env.LINKTREE_API_KEY;
function validateLinktreeConfig(): void {
if (!LINKTREE_TOKEN || LINKTREE_TOKEN.startsWith('lt_test_')) {
throw new Error('Missing or test-only LINKTREE_API_KEY — set a production token');
}
}
function linktreeHeaders(): Record<string, string> {
return {
Authorization: `Bearer ${LINKTREE_TOKEN}`,
'Content-Type': 'application/json',
};
}
// Call validateLinktreeConfig() at startup, before accepting requests
```
## Webhook Signature Verification
```typescript
import crypto fro...
Details
- Author
- jeremylongshore
- Repository
- jeremylongshore/claude-code-plugins-plus-skills
- Created
- 7 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
linktree-webhooks-events
Webhooks Events for Linktree. Trigger: "linktree webhooks events".
2,266 Updated today
jeremylongshore AI & Automation Featured
linktree-prod-checklist
Prod Checklist for Linktree. Trigger: "linktree prod checklist".
2,266 Updated today
jeremylongshore AI & Automation Solid
linktree-install-auth
Install and configure Linktree SDK/API authentication. Use when setting up a new Linktree integration. Trigger: "install linktree", "setup linktree", "linktree auth".
2,266 Updated today
jeremylongshore AI & Automation Featured
linktree-common-errors
Diagnose and fix Linktree common errors. Trigger: "linktree error", "fix linktree", "debug linktree".
2,266 Updated today
jeremylongshore AI & Automation Featured
glean-security-basics
Token security: Indexing tokens have write access -- never expose in frontend. Trigger: "glean security basics", "security-basics".
2,266 Updated today
jeremylongshore