Skip to content

chore(security): untrack .env (control-plane sweep finding) - #11

Merged
AUo959 merged 1 commit into
mainfrom
chore/untrack-env
Jun 11, 2026
Merged

chore(security): untrack .env (control-plane sweep finding)#11
AUo959 merged 1 commit into
mainfrom
chore/untrack-env

Conversation

@AUo959

@AUo959 AUo959 commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Found when this repo was registered into the Aurora control-plane perimeter (2026-06-11 sweep): .env is committed at the repo root. Assessment: low risk — single DATABASE_URL pointing at localhost, and the full 92-commit history scans gitleaks-clean. This removes it from tracking and adds env files to .gitignore; no history rewrite needed given the clean scan. .env.example remains the template.

🤖 Generated with Claude Code

The committed .env held only a localhost Postgres DATABASE_URL (full
92-commit history gitleaks-clean; flagged by the 2026-06-11 Aurora
control-plane sweep when this repo was registered). Low risk, but env
files don't belong in tracking. .env.example remains the template.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 11, 2026 09:44
@AUo959
AUo959 merged commit 0d2a0e1 into main Jun 11, 2026
4 of 7 checks passed
@AUo959
AUo959 deleted the chore/untrack-env branch June 11, 2026 09:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes a committed root .env file from the repository and updates ignore rules so local environment configuration files are not tracked going forward, while keeping .env.example as the documented template.

Changes:

  • Delete the tracked .env file from the repo.
  • Add .env and .env.local to .gitignore to prevent future commits of local env files.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
.gitignore Adds ignore rules for local environment files (.env, .env.local).
.env Removes the committed environment file from version control.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants