Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential data breaches or security lapses on Prisma Studio #1234

Open
fzn0x opened this issue Apr 12, 2024 · 0 comments
Open

Potential data breaches or security lapses on Prisma Studio #1234

fzn0x opened this issue Apr 12, 2024 · 0 comments
Labels
kind/bug A reported bug.

Comments

@fzn0x
Copy link

fzn0x commented Apr 12, 2024

Bug description

try to run npx prisma studio without database file from npx prisma db push .

Screenshot 2024-04-12 121252
Screenshot 2024-04-12 121149

It does include details about the internal workings and configuration of a software application, such as file paths and module names. This could potentially expose details about the application's structure or dependencies that might be useful for debugging but could also provide insights to someone with malicious intent if the application is publicly accessible.

In summary, while this message does not contain sensitive personal or confidential information, it does provide some level of detail about a software application that should be protected if the application is security-sensitive. Sharing such information on public forums or with unauthorized persons could potentially aid in targeting specific vulnerabilities within the application's infrastructure.

How to reproduce

  1. skip npx prisma db push
  2. Try to run npx prisma studio

Expected behavior

The error must occur at build time where the error cannot be accessed via runtime.

Prisma information

N/A

Environment & setup

N/A

Prisma Version

5.12.1

@fzn0x fzn0x added the kind/bug A reported bug. label Apr 12, 2024
@janpio janpio transferred this issue from prisma/prisma Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A reported bug.
Projects
None yet
Development

No branches or pull requests

1 participant