Pentoma Code

Run a code security audit on GitHub pull requests and repositories. See the affected line, why it matters, and what to change.

Request a pentest

Invoice lookup builds SQL with string interpolation

F-01HIGHCWE-89src/repos/invoices.ts:88

Static finding

Code and matched rule

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
PENTOMASOURCE CODE

Remediation

HOW TO FIX
- WHERE ref = '${ref}'`);+ WHERE ref = $1`, [ref]);
  • CWE-89
  • OWASP A05:2025
  • Line-level fix
PNTM-CODE-2026-1109-NM01Page 6 of 19
This sample shows a finding at Northmere, a fictional company on a Pentoma testbed.See a sample report

What the code audit covers

Coverage and evidence states
Confirmed by the engine
  • Engine confirmation applies to runtime testing. Pentoma Code labels results as static findings.
Reported, not confirmed
  • Semgrep rules for the OWASP Top 10 and CWE Top 25, with language packs for TypeScript, JavaScript, Python, Go, Java, Ruby, and PHP.
  • Secrets in the working tree and AI review of pull request diffs.
  • Static findings identify a file and line, explain why the issue matters, and suggest a fix.
Not covered today
  • GitLab and Bitbucket, secrets in Git history, AI review of the full repository, runtime exploitation, inline annotations, fix pull requests, and merge blocking.

How a review runs

  1. You connect the GitHub repository

    Use the Pentoma GitHub App to grant access to the repository you want reviewed.

  2. Pentoma takes scope from the trigger

    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.

  3. Pentoma analyzes the code and triages findings

    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.

  4. Pentoma sends the results

    A pull request gets one summary comment with the top findings and a link. The PDF records what was reviewed, skipped, or limited.

How to read a static finding

File, line, and rule
A rule-based finding points to the affected file and line and shows the matched rule and a code excerpt.
Severity and fix
AI triage explains the root cause, impact, and suggested change so you can review it alongside the code.
Static finding
The evidence comes from the code. Treat it as a static finding when you decide how to verify and fix the issue.

The Northmere finding shows the flagged line, the Semgrep rule, and the suggested change together.

What you get

Inside the report

PNTM-CODE-2026-1109-NM01
Executive summary and findings index
Start with the scope and coverage, then use the index to find the issues to address.
Finding detail HIGH
Evidence, root cause, impact, and how to fix it. See finding F-01
Remediation roadmap and compliance appendix
Use the roadmap to prioritize fixes and the appendix to reference the control mappings.
Sample report identifier and finding from the fictional Northmere engagement
GitHub comment
On a pull request, Pentoma posts one summary comment with the top findings and a link to the results.
PDF and share link
Pentoma issues and emails one fixed PDF per engagement, with a content hash. You can create a revocable share link that expires after 7, 30, or 90 days.
Control mappings
The appendix maps findings to applicable controls. Where export is enabled, you can download the mappings as JSON or CSV.
API and Slack
Use a read-only API key to list tests and read their findings. With Slack configured, your team receives a notification when a test completes.
Evidence for an audit
The same findings map to relevant controls. When you need the report for an audit, SEWORKS reviews and signs it.

What you provide

Repository access
Grant the Pentoma GitHub App access to the repository you want checked.
Review scope
Use a pull request for changed code. Use the default branch trigger or start a manual run for the whole repository.

Scope today

Static and working-tree evidence
Whole-repository reviews use static rules and working-tree secret detection. AI review applies to pull request diffs.
GitHub workflow
Expect one summary comment with a link. GitLab, Bitbucket, inline annotations, fix pull requests, and merge blocking are outside scope.
Partial reviews
The report lists paths or checks that were skipped or limited and marks incomplete coverage as partial.

Questions

Does a pull request review check the whole repository?

The pull request review is scoped to the diff. A push to the default branch or a manual run starts a repository review.

How do I know which rule produced a finding?

A rule-based finding includes the rule, file location, and code evidence. The explanation and suggested fix appear with it.

Can Pentoma find a secret removed from the current code?

Secret detection checks the working tree. Git history is outside this review.

Will Pentoma block a merge or open a fix pull request?

The GitHub App posts a summary comment and links to the findings. Your team decides what to fix and when to merge.

How do I know what Pentoma skipped?

Check the coverage in the report. It lists what was reviewed, skipped, or limited and marks partial runs.

Find what to fix in your code

Request a pentest