Security audit β 2026-06-11#47
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-11
Probed URL: https://limaimpro.duckdns.org/
Stack: Vite + React 18 / npm+bun / PWA=yes (VitePWA/workbox); FastAPI Python backend (Railway)
Counts: Critical=0 High=1 Medium=2 Low=2 Info=1
Findings
style-src 'unsafe-inline'allows inline style injectionTop 3 fixes
_SEED_MEMBERS; inject via env var or one-time setup script.'unsafe-inline'instyle-srcwith a nonce or hash-based allowlist.npm audit fix/ update vitest build chain to patch GHSA-5c6j-r48x-rmvq.Evidence (Critical/High only)
[High] Hardcoded default admin credentials
backend/app/main.py:47{"email": "admin@lima-impro.fr", ..., "app_role": "admin", "password": "Admin1234!", ...}Verified safe
max-age=31536000; includeSubDomainsset in nginx.confallow_credentials=Truescoped correctlyNeeds server-side verification
CORS_ORIGINSenv var value in Railway production (fallback includes localhost)APP_ENVcheck disables seed data seeding in production runtime/docsendpoint disabled in production (FastAPI config, unverified remotely)Tools
ran=openssl-s_client, npm-audit, grep-secrets; skipped=curl-http-probes (sandbox network policy blocked target host)
Generated by Claude Code