Skip to content

[FEAT]: Add Base64Converter and Rot13Converter payload text transforms - #189

Open
syouiti (sy0u1ti) wants to merge 1 commit into
microsoft:mainfrom
sy0u1ti:feat/base64-rot13-converters
Open

syouiti (sy0u1ti) wants to merge 1 commit into
microsoft:mainfrom
sy0u1ti:feat/base64-rot13-converters

Conversation

@sy0u1ti

Copy link
Copy Markdown

Description

Implements the text-transform category of the PayloadConverter protocol specified in rampart/core/converter.py.

  • Adds Base64Converter in rampart/converters/base64.py (adapting PyRIT's Base64Converter).
  • Adds Rot13Converter in rampart/converters/rot13.py (adapting PyRIT's ROT13Converter).
  • Defers PyRIT imports until execution time to avoid startup overhead.
  • Preserves payload.id for traceability and appends converter metadata.
  • Re-exports both converters in rampart.converters.
  • Comprehensive unit tests in tests/unit/converters/test_base64.py and test_rot13.py.

Breaking changes

None.

Checklist

  • pre-commit run --all-files passes
  • Tests added or updated for changes
  • Documentation updated

@sy0u1ti
syouiti (sy0u1ti) requested a review from a team September 14, 2026 10:49
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@sy0u1ti

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

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