Skip to content

[codex] fix: harden secret ingestion and query memory#361

Open
aa-matsunari wants to merge 1 commit intosafishamsi:v4from
aa-matsunari:codex/harden-secret-ingestion
Open

[codex] fix: harden secret ingestion and query memory#361
aa-matsunari wants to merge 1 commit intosafishamsi:v4from
aa-matsunari:codex/harden-secret-ingestion

Conversation

@aa-matsunari
Copy link
Copy Markdown

Summary

  • redact credential-like values before persisting query memory
  • skip files with inline secret content during detect()

Changed files

  • graphify/detect.py
  • graphify/ingest.py
  • tests/test_detect.py
  • tests/test_ingest.py

Impact

  • prevents API keys and other secrets from being re-ingested into future graph runs

Tests

  • /tmp/graphify-review/.venv/bin/python -m pytest /tmp/graphify-review/tests/test_detect.py /tmp/graphify-review/tests/test_ingest.py

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.

1 participant