HIGH: Secrets and internal network details committed in .env files in version control #39
Labels
No labels
agentic-osint
audit
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:preflight
blocked:verify-failed
bug
chore
deferred
enhancement
feature-request
in-progress
lint-baseline
lint-cleanup
needs-decompose
needs-triage
performance
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/osint-hub#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: High
Description
Multiple
.envfiles with sensitive configuration are committed to version control, exposing secrets and internal network topology.backend/.envexposed values:OSINT_LLM_BASE_URL— points to internal Ollama LLM server (port 11434, private IP)OSINT_DB_URL— SQLite database pathOSINT_CELERY_BROKER_URL— Redis broker URL (no auth)OSINT_ADMIN_PASSWORD— adminadminOSINT_SECRET_KEY— dev-secret-key-change-in-production.envexposed values:JWT_SECRET— change-me-in-prod-min-32-chars-longADMIN_PASSWORD— adminadminOSINT_LLM_API_BASE_URL— internal LLM serverOSINT_BRAVE_API_KEY— empty (placeholder)OSINT_SERPAPI_KEY— emptyOSINT_GOOGLE_CSE_KEY— emptyOSINT_GOOGLE_CSE_CX— emptyImpact
Recommendation
git rm --cached).gitignore.env.examplewith dummy/placeholder values onlyGSD VERIFY phase failed after 3 attempts.
═══ Gate: verify-passed (osint-hub#39) ═══
Mode: Tier 1 (functional only)
GATE OK: All gates up to 'implement' pass
── Tier 1: Functional ────────────────────────────────
Running tests...
❌ Tests failed (exit 4)
configfile: pyproject.toml
plugins: anyio-4.13.0, httpx-0.36.2, timeout-2.4.0, xdist-3.8.0, cov-7.1.0, split-0.11.0, asyncio-1.4.0
timeout: 60.0s
timeout method: signal
timeout func_only: False
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 0 items
============================ no tests ran in 0.00s =============================
ERROR: file or directory not found: tests/
============================= test session starts ==============================
platform linux -- Python 3.11.14, pytest-9.0.3, pluggy-1.6.0
rootdir: /home/b/Projects/osint-hub
configfile: pyproject.toml
plugins: anyio-4.13.0, httpx-0.36.2, timeout-2.4.0, xdist-3.8.0, cov-7.1.0, split-0.11.0, asyncio-1.4.0
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 0 items
============================ no tests ran in 0.00s =============================
Running linter...
✅ Lint clean
Running type checker...
✅ Types check clean
Previous test count: unknown
❌ GATE FAIL: verify-passed
- Tests failed with exit code 4
GATE FAIL: verify — blocked at 2026-05-27T12:20:49Z
Class: test-failure
Evidence: Verification failed: 1 failures
Git tag: osint-hub#39-gate-verify-fail-3b602df09c02 (use gate-retry after fixing)
🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring🤖 [
quickfix-osint-hub-39] still working — monitoring