mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-11-25 19:43:29 +01:00
- Fence the target model's output in a <target_output> block the output can't close, so a jailbroken reply can't steer the judge's verdict. - Mask credentials (secret query params, Bearer tokens, x-api-key, sk-/ sk-ant-/hf_/AKIA keys) in every log record; hold httpcore at WARNING. - Add a localhost OpenAI/Anthropic stand-in (tests/fakes) and a fake_llm_api fixture; it records header names only. - Replace any set *_API_KEY with a placeholder in tests unless marked live. - Add CONTRIBUTING.md, CLAUDE.md, a PR template and a real SECURITY.md.
15 lines
535 B
Markdown
15 lines
535 B
Markdown
## What this changes
|
|
|
|
<!-- What and why, in a few lines. Link the issue if there is one. -->
|
|
|
|
## How it was tested
|
|
|
|
<!-- Tests added or run, and what you checked by hand. Report live scans as counts only. -->
|
|
|
|
## Checklist
|
|
|
|
- [ ] No real API key, token or customer endpoint anywhere in the code, tests, docs or this description ([CONTRIBUTING.md](../CONTRIBUTING.md)).
|
|
- [ ] `pytest` passes and new behaviour has a test. Tests don't call paid APIs.
|
|
- [ ] `pre-commit run --all-files` is clean.
|
|
- [ ] Docs updated if behaviour changed.
|