Skip to content

M-002: .env Secret Exposure Risk #3

@shrwnsan

Description

@shrwnsan

Severity: Medium

Location

agentbox:378-381, README documentation

Issue

Project recommends storing GH_TOKEN in .env file at project root, but .env is not in .gitignore. If committed, secrets are exposed to repository history.

Impact

Credential leakage if .env is accidentally committed.

Remediation

  1. Add .env to project .gitignore template
  2. Add warning in README about .env files and git
  3. Consider adding pre-commit hook to reject .env commits

Reference

See docs/eval-001-security-review.md for full review.


🤖 Generated by Claude Code - GLM 4.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions