posthog-sdk-patterns
Applies production-ready PostHog SDK patterns for TypeScript and Python, enhancing integration and coding standards.
Install this skill
or
84/100
Security score
The posthog-sdk-patterns skill was audited on May 12, 2026 and we found 16 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
low line 47
Access to .env file
SourceSKILL.md
| 47 | client = new PostHog(process.env.NEXT_PUBLIC_POSTHOG_KEY!, { |
low line 48
Access to .env file
SourceSKILL.md
| 48 | host: process.env.POSTHOG_HOST || 'https://us.i.posthog.com', |
low line 49
Access to .env file
SourceSKILL.md
| 49 | personalApiKey: process.env.POSTHOG_PERSONAL_API_KEY, |
low line 172
Access to .env file
SourceSKILL.md
| 172 | posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, { |
low line 173
Access to .env file
SourceSKILL.md
| 173 | api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST || 'https://us.i.posthog.com', |
low line 177
Access to .env file
SourceSKILL.md
| 177 | if (process.env.NODE_ENV === 'development') ph.debug(); |
low line 48
External URL reference
SourceSKILL.md
| 48 | host: process.env.POSTHOG_HOST || 'https://us.i.posthog.com', |
low line 173
External URL reference
SourceSKILL.md
| 173 | api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST || 'https://us.i.posthog.com', |
low line 206
External URL reference
SourceSKILL.md
| 206 | { source: '/ingest/static/:path*', destination: 'https://us-assets.i.posthog.com/static/:path*' }, |
low line 207
External URL reference
SourceSKILL.md
| 207 | { source: '/ingest/:path*', destination: 'https://us.i.posthog.com/:path*' }, |
low line 208
External URL reference
SourceSKILL.md
| 208 | { source: '/ingest/decide', destination: 'https://us.i.posthog.com/decide' }, |
low line 230
External URL reference
SourceSKILL.md
| 230 | posthog.host = os.getenv('POSTHOG_HOST', 'https://us.i.posthog.com') |
low line 270
External URL reference
SourceSKILL.md
| 270 | - [posthog-js Reference](https://posthog.com/docs/libraries/js) |
low line 271
External URL reference
SourceSKILL.md
| 271 | - [posthog-node Reference](https://posthog.com/docs/libraries/node) |
low line 272
External URL reference
SourceSKILL.md
| 272 | - [Next.js Integration](https://posthog.com/docs/libraries/next-js) |
low line 273
External URL reference
SourceSKILL.md
| 273 | - [React SDK](https://posthog.com/docs/libraries/react) |
Scanned on May 12, 2026
View Security DashboardGitHub Stars 2.2K
Rate this skill
Categorydevelopment
UpdatedMay 21, 2026
claudeclaude-codecodexfrontenddesignreactgitapibackendbackend-developerdata-analystproduct-managerdevelopmentdata analyticsproduct
jeremylongshore/claude-code-plugins-plus-skills