Skip to content
This repository was archived by the owner on Feb 3, 2026. It is now read-only.

promptguard#244

Merged
pigri merged 1 commit intomainfrom
promptguard
Nov 12, 2024
Merged

promptguard#244
pigri merged 1 commit intomainfrom
promptguard

Conversation

@krichard1212
Copy link
Copy Markdown
Collaborator

No description provided.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
9.5% Duplication on New Code (required ≤ 3%)
B Security Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

classification = "injection"


logger.info(f"\nAnalyzing text: {text[:100]}...")

Check notice

Code scanning / SonarCloud

Logging should not be vulnerable to injection attacks

<!--SONAR_ISSUE_KEY:AZMarw04f2J1B69G1cg4-->Change this code to not log user-controlled data. <p>See more on <a href="https://sonarcloud.io/project/issues?id=openshieldai_openshield&issues=AZMarw04f2J1B69G1cg4&open=AZMarw04f2J1B69G1cg4&pullRequest=244">SonarCloud</a></p>
@pigri pigri merged commit e6617f1 into main Nov 12, 2024
@pigri pigri deleted the promptguard branch November 12, 2024 18:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants