microsoft / microsoft/PyRIT

FEAT Faster Greedy Coordinate Gradient algorithm (GCG)

Open
#962 12 comments 0 reactions 2 assignees View on GitHub

@riyosha is already working on this.

Since Dec 7, 2025.

enhancement help wanted
Dominant language
Python
Stars
4.5k
Forks
893
Avg merge
3d 50m
Merged PRs (30d)
165

Description

#### Is your feature request related to a problem? Please describe.

There are several papers or blogs claiming to speed up GCG.

- https://arxiv.org/html/2403.01251v2 with repo https://github.com/zhaoyiran924/Probe-Sampling/tree/main
- https://www.haizelabs.com/technology/making-a-sota-adversarial-attack-on-llms-38x-faster

#### Describe the solution you'd like

Having a faster version of GCG would help a lot because it currently takes at least an hour to generate single suffix.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.