TextTarget is described as using API-key authentication even though it needs no credentials
Maintainers usually reply within 2 days
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Start with frontend/src/components/Config/CreateTargetDialog.tsx, especially the selected-target description noted in the issue, and trace where target authentication metadata comes from. Check the target metadata and related tests to see how authentication requirements are represented. Done means TextTarget is described as requiring no credentials rather than API-key authentication.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
The target dropdown/details describe local TextTarget as supporting API-key authentication, which misleads users into thinking credentials are required.
Describe the solution you'd like
Represent no-auth targets explicitly in target metadata and say that TextTarget requires no credentials.
Describe alternatives you've considered, if relevant
At minimum, avoid presenting API accepted auth_mode values as the target's credential requirements.
Additional context
Reproduction: open Registry > Targets > New Target, select TextTarget, and read the selected-target description; creating it without credentials succeeds while the description says Supported authentication: API key. Source: CreateTargetDialog.
Tested commit d3446e045960b5ebee4641aa70fdeb03af186587, PyRIT 1.2.0.dev0, offline local-backend/browser scope. Evidence: files/evidence/round2/texttarget-auth.png and target-types.json; these local paths are not attachments.
- Dominant language
- Python
- Stars
- 4.7k
- Forks
- 1k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 450
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/PyRIT
-
BUG: LLMGenericTextConverter identifier changes between processes for set-valued template parametersOpenBug: triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 2 days
-
Bug: triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
Description-only preset edits split comma-containing exact goals into separate goalsPossibly taken @MRX-72 claimed this 1 day ago. Openhelp wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
GUI rejects valid empty-string SearchReplaceConverter settings, preventing deletion convertersPossibly taken @Darshika140 claimed this 1 day ago. Openhelp wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
microsoft/PyRIT#3749 · 3 comments · 1 assignee ·
Maintainers usually reply within 2 days
-
HTML scenario export replaces an intentionally empty converted message with the original textPossibly taken @VISHNU0906 claimed this 2 days ago. Openhelp wanted
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
microsoft/PyRIT#3741 · 1 comment · 1 assignee ·
Maintainers usually reply within 2 days
Similar issues
-
Import errors are swallowed: PerthImplicitWatermarker silently becomes NonePossibly taken @JonRC claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
resemble-ai/Perth#23 ·
-
correction metadata
Difficulty 2/5 Under an hour Newbie friendliness 65/100
acl-org/acl-anthology#10753 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
earthtojake/text-to-cad#758 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
DataTalksClub/faq#545 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day