Skip to content

feat(redteam): add DOCX input wrapper generation#8506

Draft
jameshiester-oai wants to merge 23 commits intomainfrom
codex/docx-document-input-creation-pr
Draft

feat(redteam): add DOCX input wrapper generation#8506
jameshiester-oai wants to merge 23 commits intomainfrom
codex/docx-document-input-creation-pr

Conversation

@jameshiester-oai
Copy link
Copy Markdown
Contributor

Summary

  • Add typed DOCX input materialization with two-pass wrapper generation, native injection placements, and persisted injection metadata.
  • Add multi-input support for benign variables so document upload tests can keep user questions natural while placing adversarial content in the document.
  • Add a DOCX document-upload redteam example and tighten generated prompt-extraction wrappers to avoid fake disclosure templates.

Test plan

  • pnpm exec biome check --write src/redteam/inputVariables.ts test/redteam/inputVariables.test.ts
  • pnpm exec vitest run test/redteam/inputVariables.test.ts
  • pnpm exec tsc --noEmit

…nput-creation-pr

# Conflicts:
#	src/redteam/index.ts
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