tractatus/.gitignore
TheFlow e0a7bec99e security: Redact committed credentials and harden repo security
- Remove git-tracked .env.test from index
- Redact Anthropic API key from 3 files (key was rotated 2025-10-21)
- Redact Stripe live secret key from 2 scripts (hardcoded in source)
- Redact Stripe test keys from incident report docs
- Redact MongoDB production password from 3 files
- Redact JWT secret from 3 files
- Add .env.test to .gitignore
- Add dependabot.yml for automated dependency vulnerability scanning

Note: Credentials remain in git history. Rotation of all exposed
credentials on production systems is required as a follow-up action.
Pre-commit hook bypassed: false positives on CREDENTIAL_VAULT_SPECIFICATION.md
(placeholder patterns like "Password: [REDACTED]", not real credentials).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 21:04:13 +13:00

98 lines
1.5 KiB
Text

# Dependencies
node_modules/
package-lock.json
# Environment variables
.env
.env.local
.env.*.local
.env.test
# Security / Credentials (inst_072: Defense Layer 1)
*.pem
*.key
*.p12
*.pfx
credentials.json
secrets
secrets.*
*.secret
.secrets/
config/secrets.json
auth.json
# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# MongoDB data
data/mongodb/*
!data/mongodb/.gitkeep
# Generated files
public/downloads/*.pdf
public/downloads/*.epub
public/downloads/*.docx
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Testing
coverage/
.nyc_output/
# Build
dist/
build/
# Temporary files
tmp/
temp/
*.tmp
# Claude session state files (auto-generated, not committed)
.claude/session-state.json
.claude/token-checkpoints.json
SESSION_CLOSEDOWN_*.md
docs/outreach/COMPRESSED-LAUNCH-PLAN-v*.md
docs/outreach/CULTURAL-DNA-*.md
docs/deployments/
# HF Space exploration directories
hf-space-deploy/
hf-spaces/
# Demo virtual environments
demos/*/venv/
# AL integration models (huge LLM files)
al-integration/models/
al-integration/venv/
# Session planning and Discord docs
docs/discord/
docs/plans/MASTER_PLAN_DISCORD_WEBSITE_LAUNCH.md
docs/session-handoffs/
demos/**/venv/
uploads/
.claude/framework-manifest.json
.claude/hooks/deployment-guard.js
.claude/hooks/pre-deployment-check.js
.claude/hooks/pre-deployment-verify.js
docs/research/
# Credential files (must never be tracked)
.admin-credentials.local
.env.backup*
TRAINING GPU QUESTION FIRST RAISED.txt