Security audit β 2026-06-23#72
Open
versila22 wants to merge 1 commit into
Open
Conversation
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 β versila22/lima-app β 2026-06-23
Probed URL: https://limaimpro.duckdns.org/
Stack: React 18 (Vite/SWC) + FastAPI (Railway) / npm / PWA=yes (workbox, autoUpdate)
Counts: Critical=0 High=0 Medium=2 Low=3 Info=2
Findings
src/lib/api.ts:45package.json/ npm auditstyle-src 'unsafe-inline'nginx.conf:26package.jsonSecure;SameSiteflagssrc/components/ui/sidebar.tsx:68backend/app/config.py:35,85-87https://limaimpro.duckdns.org/Top 3 fixes
npm update vitest vite undiciand pin to patched versions in package.jsonACCESS_TOKEN_EXPIRE_MINUTES(currently 480 min) if sessionStorage fallback is retainedstyle-src 'unsafe-inline'with content hash or nonce in nginx.confEvidence (Critical/High only)
No Critical or High findings this run.
Verified safe
dangerouslySetInnerHTML,innerHTML,evalβ none found insrc/nginx.confallow_origins=settings.CORS_ORIGINS) withallow_credentials=Trueβ no wildcard reflection/; API caching uses NetworkFirst; auth tokens not in localStorageNeeds server-side verification
https://api-production-e15b.up.railway.app) β verifyAccess-Control-Allow-Originis never reflected from requestOriginFRONTEND_URLandJWT_SECRETenv vars overridden in Railway environment (defaults arelovable.appURL andinsecure_dev_secret_change_me).env,.git/config) β all returned 403 from audit env proxy, not from actual serverTools
ran=npm-audit, grep-secrets, openssl-tls; skipped=pnpm-audit (not installed), DAST-curl (egress policy blocks limaimpro.duckdns.org and railway API)
Generated by Claude Code