From 2469e4e48b0cc0724d861912fe4538aeda4d7943 Mon Sep 17 00:00:00 2001 From: "pensarappdev[bot]" <182706286+pensarappdev[bot]@users.noreply.github.com> Date: Wed, 7 May 2025 17:04:56 +0000 Subject: [PATCH] Fix security issue: Exposed Environment File with Hard-coded Credentials in Version Control (CWE-798) --- .gitignore | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6c159d3..c01bb43 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,7 @@ -#environment file -.env - +# Ignore environment configuration files containing secrets +.env +.env.* +!.env.example + +# Ignore IDE/editor files .idea \ No newline at end of file