ワンクリックで
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