gitsafehub
github.com/elie222/polar ↗

elie222/polar

scanned 2026-08-05 · git d4d3266
3 of 6 checks flagged a security issue
🔴 Needs attention
Only 5 of 6 checks finished — treat this as provisional. Re-check ↻

Informational scan, not a security audit. How this is computed.

Leaked secrets11Vulnerable dependencies298Known OSS vulnerabilities337Risky code patternsMalicious dependenciesProject health

Security checks

Leaked secrets — Gitleaks 11 found · 3 serious

API keys, passwords or tokens committed into the repo.

  • Serious curl-auth-header Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource.
    clients/apps/web/src/app/(main)/(landing)/(mdx)/blog/(header)/build-saas-with-polar/page.mdx:57
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Serious curl-auth-header Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource.
    clients/apps/web/src/app/(main)/docs/api/(mdx)/authentication/page.mdx:143
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Serious curl-auth-header Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource.
    clients/apps/web/src/components/Landing/molecules/APIFirst.tsx:14
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    .github/workflows/test_server.yaml:93
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    clients/apps/web/src/app/(main)/(landing)/(mdx)/blog/(header)/introducing-license-keys/page.mdx:34
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    clients/apps/web/src/app/(main)/docs/(mdx)/benefits/license-keys/page.mdx:115
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    clients/apps/web/src/app/(main)/docs/(mdx)/benefits/license-keys/page.mdx:146
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    clients/apps/web/src/app/(main)/docs/(mdx)/benefits/license-keys/page.mdx:168
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    clients/apps/web/src/app/(main)/docs/(mdx)/benefits/license-keys/page.mdx:192
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    server/.env.testing:22
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.
  • Worth fixing generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
    server/.env.template:50
    A credential (key, password or token) appears in your code. Fix: Remove it, rotate the key, and load it from an environment variable instead.

via Gitleaks v8.21.2 · MIT

Vulnerable dependencies — Trivy 298 found · 5 serious

Packages you depend on that have known security holes (CVEs).

  • Serious CVE-2026-25896 fast-xml-parser: fast-xml-parser: Cross-Site Scripting (XSS) due to improper DOCTYPE entity handling
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2026-25896). Fix: Update that package to its patched version.
  • Serious CVE-2025-7783 form-data: Unsafe random function in form-data
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-7783). Fix: Update that package to its patched version.
  • Serious CVE-2025-29927 nextjs: Authorization Bypass in Next.js Middleware
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-29927). Fix: Update that package to its patched version.
  • Serious CVE-2026-27962 authlib: Authlib: Authentication bypass due to JWK Header Injection vulnerability
    server/uv.lock
    A package you depend on has a known security hole (CVE-2026-27962). Fix: Update that package to its patched version.
  • Serious CVE-2025-43859 h11: h11 accepts some malformed Chunked-Encoding bodies
    server/uv.lock
    A package you depend on has a known security hole (CVE-2025-43859). Fix: Update that package to its patched version.
  • Worth fixing GHSA-r4q5-vmmm-2653 follow-redirects leaks Custom Authentication Headers to Cross-Domain Redirect Targets
    clients/examples/checkout-embed/package-lock.json
    A package you depend on has a known security hole (GHSA-r4q5-vmmm-2653). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-4800 lodash: lodash: Arbitrary code execution via untrusted input in template imports
    clients/examples/checkout-embed/package-lock.json
    A package you depend on has a known security hole (CVE-2026-4800). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-13465 lodash: prototype pollution in _.unset and _.omit functions
    clients/examples/checkout-embed/package-lock.json
    A package you depend on has a known security hole (CVE-2025-13465). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-2950 lodash: Lodash: Prototype pollution allows deletion of built-in prototype properties via array path bypass
    clients/examples/checkout-embed/package-lock.json
    A package you depend on has a known security hole (CVE-2026-2950). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-15284 qs: qs: Denial of Service via improper input validation in array parsing
    clients/examples/checkout-embed/package-lock.json
    A package you depend on has a known security hole (CVE-2025-15284). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-8723 ### Summary `qs.stringify` throws `TypeError` when called with `arr ...
    clients/examples/checkout-embed/package-lock.json
    A package you depend on has a known security hole (CVE-2026-8723). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-59728 @astrojs/rss: XML Injection via Unescaped RSS Feed Fields
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2026-59728). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-27789 Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groups
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-27789). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-27789 Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groups
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-27789). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-27789 Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groups
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-27789). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-54285 @opentelemetry/core: opentelemetry-js: @opentelemetry/core: Denial of Service via oversized baggage HTTP headers
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2026-54285). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-69873 ajv: ReDoS via $data reference
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-69873). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-69873 ajv: ReDoS via $data reference
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-69873). Fix: Update that package to its patched version.
  • Worth fixing CVE-2024-56159 Astro's server source code is exposed to the public if sourcemaps are enabled
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2024-56159). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-64764 Astro vulnerable to reflected XSS via the server islands feature
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-64764). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-50146 Astro: Reflected XSS via unescaped slot name
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2026-50146). Fix: Update that package to its patched version.
  • Worth fixing CVE-2026-54299 Astro: Host header SSRF in prerendered error page fetch
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2026-54299). Fix: Update that package to its patched version.
  • Worth fixing CVE-2024-47885 DOM Clobbering Gadget found in astro's client-side router that leads to XSS
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2024-47885). Fix: Update that package to its patched version.
  • Worth fixing CVE-2024-56140 Atro CSRF Middleware Bypass (security.checkOrigin)
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2024-56140). Fix: Update that package to its patched version.
  • Worth fixing CVE-2025-55303 Astro allows unauthorized third-party images in _image endpoint
    clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-55303). Fix: Update that package to its patched version.
… 273 more not shown

via Trivy v0.70.0 · Apache-2.0

Known OSS vulnerabilities — OSV-Scanner 337 found · 15 serious

Your dependencies cross-checked against the OSV vulnerability database.

  • Serious GHSA-cpq7-6gpm-g9rc cipher-base is missing type checks, leading to hash rewind and passing on crafted data
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-9287). Fix: Update that package to its patched version.
  • Serious GHSA-gx9m-whjm-85jf DOMpurify has a nesting-based mXSS
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2024-47875). Fix: Update that package to its patched version.
  • Serious GHSA-vjh7-7g9h-fjfh Elliptic's private key extraction in ECDSA upon signing a malformed input (e.g. a string)
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole. Fix: Update that package to its patched version.
  • Serious GHSA-m7jm-9gc2-mpf2 fast-xml-parser has an entity encoding bypass via regex injection in DOCTYPE entity names
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2026-25896). Fix: Update that package to its patched version.
  • Serious GHSA-fjxv-7rqg-78g4 form-data uses unsafe random function in form-data for choosing boundary
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-7783). Fix: Update that package to its patched version.
  • Serious GHSA-wf6x-7x77-mvgw Immutable is vulnerable to Prototype Pollution
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2026-29063). Fix: Update that package to its patched version.
  • Serious GHSA-f82v-jwr5-mffw Authorization Bypass in Next.js Middleware
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-29927). Fix: Update that package to its patched version.
  • Serious GHSA-h7cp-r72f-jxh6 pbkdf2 returns predictable uninitialized/zero-filled memory for non-normalized or unimplemented algos
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-6545). Fix: Update that package to its patched version.
  • Serious GHSA-v62p-rq8g-8h59 pbkdf2 silently disregards Uint8Array input, returning static keys
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-6547). Fix: Update that package to its patched version.
  • Serious GHSA-95m3-7q98-8xr5 sha.js is missing type checks leading to hash rewind and passing on crafted data
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-9288). Fix: Update that package to its patched version.
  • Serious GHSA-23hp-3jrh-7fpw node-tar: Decompression/parse DoS via unlimited input
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2026-59873). Fix: Update that package to its patched version.
  • Serious GHSA-3qcw-2rhx-2726 Turbo: Unexpected local code execution during Yarn Berry detection
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2026-45772). Fix: Update that package to its patched version.
  • Serious PYSEC-2026-287 Authlib JWS JWK Header Injection: Signature Verification Bypass
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/server/uv.lock
    A package you depend on has a known security hole (CVE-2026-27962). Fix: Update that package to its patched version.
  • Serious PYSEC-2026-348 h11 accepts some malformed Chunked-Encoding bodies
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/server/uv.lock
    A package you depend on has a known security hole (CVE-2025-43859). Fix: Update that package to its patched version.
  • Serious PYSEC-2026-2613 Lupa has a Sandbox escape and RCE due to incomplete attribute_filter enforcement in getattr / setattr
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/server/uv.lock
    A package you depend on has a known security hole (CVE-2026-34444). Fix: Update that package to its patched version.
  • Worth fixing GHSA-r4q5-vmmm-2653 follow-redirects leaks Custom Authentication Headers to Cross-Domain Redirect Targets
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/examples/checkout-embed/package-lock.json
    A package you depend on has a known security hole (CVE-2026-40895). Fix: Update that package to its patched version.
  • Worth fixing GHSA-f23m-r3pf-42rh lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/examples/checkout-embed/package-lock.json
    A package you depend on has a known security hole (CVE-2025-13465). Fix: Update that package to its patched version.
  • Worth fixing GHSA-r5fr-rjxr-66jc lodash vulnerable to Code Injection via `_.template` imports key names
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/examples/checkout-embed/package-lock.json
    A package you depend on has a known security hole (CVE-2021-23337). Fix: Update that package to its patched version.
  • Worth fixing GHSA-6rw7-vpxm-498p qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/examples/checkout-embed/package-lock.json
    A package you depend on has a known security hole (CVE-2025-15284). Fix: Update that package to its patched version.
  • Worth fixing GHSA-q8mj-m7cp-5q26 qs has a remotely triggerable DoS: qs.stringify crashes with TypeError on null/undefined entries in comma-format arrays when encodeValuesOnly is set
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/examples/checkout-embed/package-lock.json
    A package you depend on has a known security hole (CVE-2026-8723). Fix: Update that package to its patched version.
  • Worth fixing GHSA-8j5q-mfj2-5q9q @astrojs/rss: XML Injection via Unescaped RSS Feed Fields
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2026-59728). Fix: Update that package to its patched version.
  • Worth fixing GHSA-968p-4wvh-cqc8 Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groups
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-27789). Fix: Update that package to its patched version.
  • Worth fixing GHSA-968p-4wvh-cqc8 Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groups
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-27789). Fix: Update that package to its patched version.
  • Worth fixing GHSA-fv7c-fp4j-7gwp @babel/plugin-transform-modules-systemjs generates arbitrary code when compiling malicious input
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2026-44728). Fix: Update that package to its patched version.
  • Worth fixing GHSA-968p-4wvh-cqc8 Babel has inefficient RegExp complexity in generated code with .replace when transpiling named capturing groups
    /workdirs/scan-e6a31b3e-cfe5-4736-88ba-a77af3e0bc31/clients/pnpm-lock.yaml
    A package you depend on has a known security hole (CVE-2025-27789). Fix: Update that package to its patched version.
… 312 more not shown

via OSV-Scanner v1.9.2 · Apache-2.0

Risky code patterns — Semgrep none found ✓

Code that can be exploited: injection, hardcoded credentials and similar.

Nothing found by this check. ✓

via Semgrep v1.147.0 · LGPL-2.1

Malicious dependencies — Guarddog none found ✓

Packages that look intentionally malicious: typosquats, sneaky install scripts.

Nothing found by this check. ✓

via Guarddog v2.10.0 · Apache-2.0

Project health

A signal about how the project is maintained — not a vulnerability in your code. It doesn’t affect the verdict above.

Project health — OpenSSF Scorecard didn’t run

Maintenance & supply-chain hygiene. A signal about the project, not a vulnerability in your code.

This check didn’t finish — that’s not the same as “clean.” Try Check again above.

via OpenSSF Scorecard · Apache-2.0

About these results. Six open-source checks ran in parallel; every finding is tagged with the tool that produced it. The verdict follows a published rule. False positives and false negatives are normal — a clean scan does not mean the code is secure, and a red verdict does not mean the project is compromised.