Repository navigation
Add structured findings and the secfoo-memory client - #29
Merged
Merged
Conversation
Structured findings: sca_findings and secret_findings get the same open/closed lifecycle as sast_findings, and all three now record the stack (language/framework, detected from files on disk by stack.py) and a code-free `**Construct:**` description that the SAST/SCA/secret contracts now ask for. Secret evidence is re-redacted before storage. `secfoo findings export` emits them as JSON Lines. secfoo-memory client: `secfoo memory signup/login/logout/status` store a key in ~/.secfoo/memory.toml (0600). With a key, `secfoo-memory` is registered as a default MCP server (a user entry of the same name wins), the prompt gets guidance on when and how to query it (prose only, no code), and runs record memory_enabled for on/off comparison. Opt out with --no-memory, SECFOO_MEMORY=off, or [memory] enabled = false. The generated claude MCP config is now 0600 since it carries bearer headers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Structured findings: sca_findings and secret_findings get the same open/closed lifecycle as sast_findings, and all three now record the stack (language/framework, detected from files on disk by stack.py) and a code-free
**Construct:**description that the SAST/SCA/secret contracts now ask for. Secret evidence is re-redacted before storage.secfoo findings exportemits them as JSON Lines.secfoo-memory client:
secfoo memory signup/login/logout/statusstore a key in ~/.secfoo/memory.toml (0600). With a key,secfoo-memoryis registered as a default MCP server (a user entry of the same name wins), the prompt gets guidance on when and how to query it (prose only, no code), and runs record memory_enabled for on/off comparison. Opt out with --no-memory, SECFOO_MEMORY=off, or [memory] enabled = false. The generated claude MCP config is now 0600 since it carries bearer headers.What does this change, and why?
Testing
pytest testspassesruff check .passes