Security audit β 2026-06-17#65
Open
versila22 wants to merge 1 commit into
Open
Conversation
β¦-05-27) C=1 H=3 M=2 L=1 I=3 Critical: vitest <3.2.6 arbitrary file read/exec (GHSA-5xrq-8626-4rwp) High: babel/plugin-transform-modules-systemjs RCE, serialize-javascript RCE, JWT in sessionStorage Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BNAS9mhajMnFCfLL5mtztv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pentest mini-report β lima-app β 2026-06-17
Probed URL: https://limaimpro.duckdns.org/
Stack: React 18 + Vite 7 / npm / PWA=yes (vite-plugin-pwa, workbox, autoUpdate)
Backend: FastAPI (Python) on Railway
Counts: Critical=1 High=3 Medium=2 Low=1 Info=3
Findings
package.jsonβ vitest <3.2.6package.jsonβ <=7.29.3package.jsonβ <=7.0.2src/lib/api.ts:46-52,src/contexts/AuthContext.tsx:65nginx.conf:28-31style-src 'unsafe-inline'weakens XSS mitigationnginx.conf:15preloadflagnginx.conf:16vite.config.ts:71-82package.jsonTop 3 fixes
npm install vitest@latest --save-dev(upgrade to >=3.2.6)add_headersecurity directives inside the/assets/location blockEvidence (Critical/High only)
Critical β Vitest <3.2.6 (GHSA-5xrq-8626-4rwp)
package.json:"vitest": "^3.2.4"β in vulnerable range <3.2.6High β @babel/plugin-transform-modules-systemjs (GHSA-fv7c-fp4j-7gwp)
package.jsonoverride:"@babel/plugin-transform-modules-systemjs": ">=7.27.0"β still in vulnerable range >=7.12.0 <=7.29.3.">=7.29.4".High β serialize-javascript RCE (GHSA-5c6j-r48x-rmvq)
package.jsonoverride:"serialize-javascript": ">=6.0.2"β too permissive, <=7.0.2 is vulnerable.">=7.0.3".High β JWT in sessionStorage
src/lib/api.ts:46:sessionStorage.setItem("lima_access_token", token)written on every login.sessionStorage.getItem("lima_access_token")β 8-hour JWT exfil β session hijack.Verified safe
Needs server-side verification
https://improv-cabaret-planner.lovable.app) CORS injection is intentionalTools
ran=npm-audit, curl-headers, curl-cors, curl-sensitive-files, openssl-cert-dates, openssl-tls-protos, grep-secrets, grep-xss-sinks, grep-storage, grep-postmessage, grep-prototype-pollution, manual-SAST; skipped=pnpm-audit (no pnpm-lock.yaml), authenticated-DAST (site 403 host_not_allowed β Traefik host filtering active)
Generated by Claude Code