Remediation
- WHERE ref = '${ref}'`);+ WHERE ref = $1`, [ref]);- CWE-89
- OWASP A05:2025
- Line-level fix
Run a code security audit on GitHub pull requests and repositories. See the affected line, why it matters, and what to change.
Request a pentestStatic finding
See the affected line and the Semgrep rule that flagged the query. The fix binds the invoice reference as a query parameter.
src/repos/invoices.ts
87 function findInvoice(ref: string) {
88 return db.query(`SELECT * FROM
89 invoices WHERE ref = '${ref}'`);
rule node-postgres-sqli- WHERE ref = '${ref}'`);+ WHERE ref = $1`, [ref]);| Evidence state | Checks and findings |
|---|---|
| Confirmed by the engine |
|
| Reported, not confirmed |
|
| Not covered today |
|
Use the Pentoma GitHub App to grant access to the repository you want reviewed.
A pull request review is scoped to the diff. A push to the default branch or a manual run starts a review of the whole repository.
Static rules and secret detection run against the checked-out code. Pentoma also reviews pull request diffs with AI. Each finding includes its severity, root cause, impact, and fix.
A pull request gets one summary comment with the top findings and a link. The PDF records what was reviewed, skipped, or limited.
The Northmere finding shows the flagged line, the Semgrep rule, and the suggested change together.
The pull request review is scoped to the diff. A push to the default branch or a manual run starts a repository review.
A rule-based finding includes the rule, file location, and code evidence. The explanation and suggested fix appear with it.
Secret detection checks the working tree. Git history is outside this review.
The GitHub App posts a summary comment and links to the findings. Your team decides what to fix and when to merge.
Check the coverage in the report. It lists what was reviewed, skipped, or limited and marks partial runs.
How to use static findings in your GitHub workflow
How engineering teams use findings and fixes
Compare testing for web apps, code, and AI