원클릭으로
canary-token-system
Manage the canary token honeypot system for detecting security scanning
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Manage the canary token honeypot system for detecting security scanning
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Migrate from Next.js 15 to Next.js 16 and handle breaking changes
Configure Content Security Policy and security headers for the portfolio
Deploy Next.js to Cloudflare Workers using OpenNext adapter
Write, debug, and optimize GROQ queries for Sanity CMS in this portfolio
Advanced TypeScript patterns and type safety as used in this portfolio
Advanced React patterns and best practices used in this portfolio
| name | canary-token-system |
| description | Manage the canary token honeypot system for detecting security scanning |
Manage the canary token honeypot system that detects automated security scanners and penetration testing tools.
The canary system plants fake secrets in predictable locations that scanners will find and try to use. When a scanner uses a token, it triggers a notification.
public/.well-known/security.txt → contains canary token
API route → validates token → sends notification
src/lib/canary/notify.ts → notification logic (Slack, Discord, Email)
| File | Purpose |
|---|---|
public/.well-known/security.txt | Canary token location |
src/lib/canary/notify.ts | Notification dispatch (escapeHtml for XSS prevention) |
src/app/api/canary/route.ts | API endpoint for token validation |
.github/codeql/codeql-config.yml | CodeQL exclusions for intentional honeypot code |
public/robots.txt, public/.env.example)Edit src/lib/canary/notify.ts. Current channels:
CANARY_SLACK_WEBHOOK env varCANARY_DISCORD_WEBHOOK env varCANARY_EMAIL env var (via Resend)escapeHtml() before rendering.github/codeql/codeql-config.yml