Commit 35db5c2
chore: fix security vulnerabilities found by yarn audit (#1121)
* chore: fix security vulnerabilities found by yarn audit
Resolves all security vulnerabilities reported by yarn audit:
Direct dependency upgrades:
- nodemailer: ^7.0.11 → ^8.0.5 (SMTP command injection)
- posthog-js: ^1.345.5 → ^1.369.0 (dompurify XSS/prototype pollution)
- @posthog/ai: ^7.8.10 → ^7.15.0 (langsmith prototype pollution)
Resolutions for transitive dependencies:
- next via @react-email/preview-server (DoS with Server Components)
- hono + @hono/node-server via @modelcontextprotocol/sdk (cookie, path traversal, middleware bypass)
- langsmith via @langchain/core (prototype pollution)
- markdown-it via codemirror-json-schema (ReDoS)
- yaml via codemirror-json-schema + openapi3-ts (stack overflow)
- ajv via @eslint/eslintrc (ReDoS)
- smol-toml via @react-grab/cli (DoS)
- teeny-request via retry-request (incorrect control flow in @tootallnate/once)
Also adds `audit` script to root package.json with --no-deprecations flag.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: update CHANGELOG with audit fix PR
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 12d89cd commit 35db5c2
4 files changed
Lines changed: 181 additions & 306 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
49 | 60 | | |
50 | 61 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
0 commit comments