← Home

@posthog/nextjs-config

NextJS configuration helper for Posthog 🦔

18
Versions
MIT
License
No
Install Scripts
Verified
Provenance

Supply chain provenance

Status for the latest visible version.

SLSA provenance attestation npm registry signatures No source commit

Maintainers

watilotwixesfuziontechmariusandraben-posthogtimglrafael_posthogfraserhoppermanoelposthogrobbie-cdustinbyrnefeliperalmeidalucasheriquesfrankposthogtom-posthogadamleithpcat-phsarahxsanderspeterkirkhamposthogioannisjjoshuasnyderhuguespouillot

Keywords

posthognextjs

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
maintainer-change maintainer-added AI (maintainer-change): New maintainers are within PostHog org (frankposthog, tom-posthog); normal team changes. ai
maintainer-change maintainer-removed AI (maintainer-change): david-posthog removed; normal PostHog team turnover. ai
semgrep semgrep:child-process-spawn AI (semgrep): Spawns declared dep posthog-cli; stable pattern for this package. ai
semgrep semgrep:child-process-import AI (semgrep): CLI wrapper package; spawning posthog-cli is its core purpose. ai
semgrep semgrep:env-spread AI (semgrep): Passes process.env to spawned posthog-cli child process; standard subprocess pattern. ai
provenance publisher-changed AI (provenance): Legitimate migration from personal npm account to GitHub Actions CI/CD publishing with SLSA provenance. ai
phantom-deps phantom-dep:@posthog/cli AI (phantom-deps): @posthog/cli is a same-org tooling dep; phantom-dep false positive stable for this package. ai

Versions (showing 18 of 133)

Version Deps Published
1.3.9 3 / 8
1.3.8 3 / 8
1.3.7 3 / 8
1.3.6 3 / 8
1.3.5 3 / 8
1.3.4 3 / 8
1.3.3 3 / 8
1.3.2 3 / 8
1.3.1 2 / 8
1.3.0 2 / 8
1.2.1 2 / 8
1.2.0 2 / 8
1.1.2 1 / 7
1.1.1 1 / 7
1.1.0 1 / 5
1.0.2 1 / 2
1.0.1 1 / 2
1.0.0 1 / 2

v1.3.9

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.

v1.3.8

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.3.7

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.3.6

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.3.5

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.3.4

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.3.3

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.3.2

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.3.1

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.3.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.2.1

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.2.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.1.2

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.1.1

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.1.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.

v1.0.2

3 findings
HIGH env-spread: lib/index.cjs:104 semgrep

Spreading entire process.env into an object — may capture all secrets Source: https://github.com/PostHog/posthog-js-lite/blob/09266715d8ca1d4089761d7045cd8963b77f1cc4/lib/index.cjs#L104 102 | } 103 | // Add env variables > 104 | const envVars = { 105 | ...process.env, 106 | POSTHOG_CLI_TOKEN: this.posthogOptions.personalApiKey,

HIGH env-spread: lib/index.mjs:95 semgrep

Spreading entire process.env into an object — may capture all secrets Source: https://github.com/PostHog/posthog-js-lite/blob/09266715d8ca1d4089761d7045cd8963b77f1cc4/lib/index.mjs#L95 93 | } 94 | // Add env variables > 95 | const envVars = { 96 | ...process.env, 97 | POSTHOG_CLI_TOKEN: this.posthogOptions.personalApiKey,

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.

v1.0.1

3 findings
HIGH env-spread: lib/index.cjs:64 semgrep

Spreading entire process.env into an object — may capture all secrets Source: https://github.com/PostHog/posthog-js-lite/blob/a164b8b0d2d1bd109db3ea3cf57d0801517bcc2f/lib/index.cjs#L64 62 | } 63 | // Add env variables > 64 | const envVars = { 65 | ...process.env, 66 | POSTHOG_CLI_TOKEN: this.posthogOptions.personalApiKey,

HIGH env-spread: lib/index.mjs:56 semgrep

Spreading entire process.env into an object — may capture all secrets Source: https://github.com/PostHog/posthog-js-lite/blob/a164b8b0d2d1bd109db3ea3cf57d0801517bcc2f/lib/index.mjs#L56 54 | } 55 | // Add env variables > 56 | const envVars = { 57 | ...process.env, 58 | POSTHOG_CLI_TOKEN: this.posthogOptions.personalApiKey,

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.

v1.0.0

3 findings
HIGH env-spread: lib/index.cjs:64 semgrep

Spreading entire process.env into an object — may capture all secrets Source: https://github.com/PostHog/posthog-js-lite/blob/ad2d114856417bce8052933091f9735d1e1a94a8/lib/index.cjs#L64 62 | } 63 | // Add env variables > 64 | const envVars = { 65 | ...process.env, 66 | POSTHOG_CLI_TOKEN: this.posthogOptions.personalApiKey,

HIGH env-spread: lib/index.mjs:56 semgrep

Spreading entire process.env into an object — may capture all secrets Source: https://github.com/PostHog/posthog-js-lite/blob/ad2d114856417bce8052933091f9735d1e1a94a8/lib/index.mjs#L56 54 | } 55 | // Add env variables > 56 | const envVars = { 57 | ...process.env, 58 | POSTHOG_CLI_TOKEN: this.posthogOptions.personalApiKey,

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.