If you discover a security vulnerability in claude-code-hooks, please do not open a public issue.
Instead, report it privately:
- Email: Open a GitHub Security Advisory
- Or email the maintainer directly (see GitHub profile)
We will acknowledge receipt within 48 hours and aim to provide a fix or mitigation within 7 days for critical issues.
| Package | Version | Supported |
|---|---|---|
| @claude-code-hooks/sound | 0.2.x | Yes |
| @claude-code-hooks/security | 0.1.x | Yes |
| @claude-code-hooks/secrets | 0.1.x | Yes |
| @claude-code-hooks/core | 0.1.x | Yes |
Only the latest minor version of each package receives security patches.
This policy covers:
- All packages in the
packages/directory - The monorepo build/publish tooling
Out of scope:
- Third-party dependencies (report upstream)
- User-generated TTS/sound content
These packages run as Claude Code hooks โ they execute in your local environment. The security and secrets packages specifically exist to add safety layers. Their design principles:
- No network calls (except TTS generation in @claude-code-hooks/sound, which is opt-in)
- No data exfiltration โ all scanning is local, nothing leaves your machine
- Minimal dependencies โ smaller attack surface
- Fail-open by default โ in
warnmode, hooks never block your workflow
- We follow coordinated disclosure.
claude-code-hooks์์ ๋ณด์ ์ทจ์ฝ์ ์ ๋ฐ๊ฒฌํ๋ฉด ๊ณต๊ฐ ์ด์๋ฅผ ์ด์ง ๋ง์ธ์.
๋์ , ๋น๊ณต๊ฐ๋ก ๋ณด๊ณ ํด ์ฃผ์ธ์:
- GitHub ๋ณด์ ๊ถ๊ณ ๋ฅผ ํตํด ๋ณด๊ณ
- ๋๋ ๋ฉ์ธํ ์ด๋์๊ฒ ์ง์ ์ด๋ฉ์ผ (GitHub ํ๋กํ ์ฐธ์กฐ)
48์๊ฐ ์ด๋ด์ ์์ ํ์ธ์ ๋๋ฆฌ๊ณ , ์ฌ๊ฐํ ๋ฌธ์ ์ ๊ฒฝ์ฐ 7์ผ ์ด๋ด์ ์์ ๋๋ ์ํ ๋ฐฉ์์ ์ ๊ณตํฉ๋๋ค.
๊ฐ ํจํค์ง์ ์ต์ ๋ง์ด๋ ๋ฒ์ ๋ง ๋ณด์ ํจ์น๋ฅผ ๋ฐ์ต๋๋ค.
์ด ์ ์ฑ ์ด ์ ์ฉ๋๋ ๋ฒ์:
packages/๋๋ ํ ๋ฆฌ์ ๋ชจ๋ ํจํค์ง- ๋ชจ๋ ธ๋ ํฌ ๋น๋/๋ฐฐํฌ ๋๊ตฌ
๋ฒ์ ์ธ:
- ์๋ํํฐ ์์กด์ฑ (์ ์คํธ๋ฆผ์ ๋ณด๊ณ )
- ์ฌ์ฉ์ ์์ฑ TTS/์ฌ์ด๋ ์ฝํ ์ธ
์ด ํจํค์ง๋ค์ Claude Code ํ ์ผ๋ก ์คํ๋ฉ๋๋ค โ ๋ก์ปฌ ํ๊ฒฝ์์ ์คํ๋ฉ๋๋ค. security์ secrets ํจํค์ง๋ ์์ ๊ณ์ธต์ ์ถ๊ฐํ๊ธฐ ์ํด ์กด์ฌํฉ๋๋ค. ์ค๊ณ ์์น:
- ๋คํธ์ํฌ ํธ์ถ ์์ (@claude-code-hooks/sound์ TTS ์์ฑ ์ ์ธ, ์ด๋ ์ ํ์ )
- ๋ฐ์ดํฐ ์ ์ถ ์์ โ ๋ชจ๋ ์ค์บ์ ๋ก์ปฌ์์ ์ํ, ์๋ฌด๊ฒ๋ ์ธ๋ถ๋ก ๋๊ฐ์ง ์์
- ์ต์ํ์ ์์กด์ฑ โ ๊ณต๊ฒฉ ํ๋ฉด ์ต์ํ
- ๊ธฐ๋ณธ fail-open โ
warn๋ชจ๋์์ ํ ์ ์ํฌํ๋ก์ฐ๋ฅผ ์ฐจ๋จํ์ง ์์
- ํ์กฐ์ ๊ณต๊ฐ๋ฅผ ๋ฐ๋ฆ ๋๋ค.