-
Notifications
You must be signed in to change notification settings - Fork 1
Test internal PR - XSS vulnerability #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| - name: Run Promptfoo Code Scan | ||
| uses: promptfoo/code-scan-action@v0 | ||
| uses: promptfoo/code-scan-action@staging |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium
Uses Step
| app.get('/search', (req, res) => { | ||
| const term = req.query.q; | ||
| // XSS vulnerability - rendering unsanitized input | ||
| res.send(`<h1>Results for: ${term}</h1>`); |
Check failure
Code scanning / CodeQL
Reflected cross-site scripting High
user-provided value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 All Clear
I reviewed this PR for LLM security vulnerabilities across the six defined classes (Prompt Injection, Data Exfiltration, PII/Secrets in Prompts, Insecure Output Handling, Excessive Agency, and Jailbreak Risks). The changes include a GitHub Actions workflow version update and a test file with an Express.js route handler. No LLM-related code or data flows were identified in this PR.
Minimum severity threshold for this scan: 🟡 Medium | Learn more
|
@promptfoo-scanner-staging |
1 similar comment
|
@promptfoo-scanner-staging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 All Clear
I reviewed this PR for LLM-specific security vulnerabilities. The changes include a GitHub Actions workflow version update and a test file with a traditional XSS vulnerability. No LLM security issues were identified.
Minimum severity threshold for this scan: 🟡 Medium | Learn more
Testing internal PR scanning flow with staging action