Polyscan

An AI audit of your code's quality and security, every week.

Connect GitHub and the AI examines your whole repository. It finds API keys and passwords left in the code, libraries with known vulnerabilities, and code that will slow development down, then sends a report with a score out of 100 and what to fix first.

Every feature is free on public repositories. No credit card required.

acme/webshopWeekly report
71/ 100

Overall grade

B

Last 8 audits

Down 3 points since last time

Security
77
Complexity
58
Duplication
74
Unused code
88

Security

2 to fix
  • CriticalAn API key is written in the codeconfig/settings.py, line 36
  • HighA library with a known vulnerability is in usedjango 2.2.1

AI recommendations, in priority order

  1. 1The order-handling function does three jobs at once. Splitting it makes it easier to test.api/handlers.py
  2. 2The same input check is copied in two places. It can be one.services/user.py and 1 more

Set asideA function flagged as unused turned out, on reading the code, to be a deliberate plugin hook.

What a report looks like (simplified)

Know the state of your code without reading it.

A grade from A to F and a score out of 100

One number for the state of the repository, with separate scores for security, complexity, duplication and more.

What changed since last time

Each audit records how the score moved, what was resolved and what is new, so you can tell whether things are improving.

What to fix first

Prioritized recommendations from the AI, each with the file and line. They can go to your engineering team as they are.

Security problems, checked on every run.

The problems that lead to leaks and break-ins tend to sit in the code unnoticed. Polyscan scans the whole repository on every audit and lists what it finds in the report, with a severity for each.

  • Credentials left in the code

    All languages

    Looks for API keys and passwords written into the code. Each one is reported by file and line; the secret itself is never recorded.

  • Vulnerable third-party libraries

    All languages

    Checks the libraries you depend on against published critical and high-severity vulnerabilities. Issues in the same library are grouped, so it is clear what to update.

  • Code that is easy to exploit

    Python

    Detects patterns attackers look for, such as weak cryptography and unsafe command execution.

This is automated scanning. It does not guarantee the absence of vulnerabilities and does not replace a professional security assessment.

Put a number on why development feels slow.

New features take longer than they should. A fix breaks something elsewhere. The cause is often the structure of the code. Polyscan measures these five things across the whole repository.

  • Logic that is too complicated

    Heavily branching logic takes longer to read and to test, and bugs slip in more easily.

    What engineers call it: Complexity

  • Copied code

    When the same logic lives in several places, every fix has to be made in all of them, and a missed copy becomes a defect.

    What engineers call it: Duplicate code

  • Code nobody uses

    Code that never runs is still code people have to read, which slows down investigation and handover.

    What engineers call it: Dead code

  • Tangled parts

    When parts depend on each other in a loop, a change in one place spreads to places you did not expect.

    What engineers call it: Circular dependencies

  • Parts that do too much

    When one part takes on many jobs, the effect of a change is hard to predict and only the people who know it well dare touch it.

    What engineers call it: Coupling and cohesion

What can be measured depends on the language. See what is measured for each language

Not a pile of warnings. Ten recommendations at most.

Analysis tools produce hundreds of warnings, including false alarms and deliberate design choices. The AI reads the actual code behind the important ones and keeps only what is worth fixing, up to ten, each with the file and line.

142 findings from the analysis tools6 recommendations from the AIExample figures

All it takes to start is the install.

  1. 1

    Install on GitHub

    Choose the repositories. No configuration file and no CI changes are needed.

  2. 2

    The AI examines the whole repository

    The first audit starts right after the install and usually finishes in minutes.

  3. 3

    The report arrives on GitHub

    Results arrive as a GitHub Issue. Each week after that, if the code has changed, Polyscan runs again and adds what changed since last time.

Why you can trust it with your code.

Not sent to outside AI services

Your code is analyzed by AI running on servers we operate ourselves. It is not sent to external generative AI services.

Not stored

Once the report is posted to GitHub, the code we fetched is discarded.

Only the permissions it needs

Polyscan asks to read code, comment on pull requests, and create the Issue that holds the report. Nothing else.

The analysis engine is public

The engine behind the audit is open source under the MIT license, so anyone can see what is measured and how.

Read the privacy policy

Free for public repositories. Ready for organizations.

Every feature on every public repository, at no cost. Pay only for private repositories.

Free

$0/month

  • Unlimited public repositories, every feature (security check included)
  • PR review and daily audits on public repos
  • Up to 2 private repos with weekly audits
Get Started Free

Pro

14-Day Free Trial

$10/month

  • Everything in Free
  • Up to 5 private repositories
  • PR review on private repositories
  • Daily audits on private repositories
Start 14-Day Free Trial

No card required

Enterprise

Contact us

  • Everything in Pro
  • Up to 100 private repositories
  • Executive summary: top risks, what to act on first, and the 30-day trend
  • On-time rate against due dates, and what is overdue
  • PDF export of the summary
Contact us

For now, the executive summary and the dashboard cover repositories owned by the GitHub account you sign in with. Repositories owned by an organization are not supported yet.

For engineers

Polyscan supports Python, JavaScript, TypeScript, Go, Rust, C++ and Java. Frequency, target directories, report language and pull request review are set in .github/polyscan.yml. The analysis engine also runs locally as a CLI.

How it works in detailDocumentationSource code

Frequently asked questions

What is Polyscan?

A service that checks your GitHub repositories on a schedule. It finds security problems (credentials left in the code, vulnerable libraries) and structural problems that slow development down, and delivers a score and recommendations as a GitHub Issue.

Can I use it without technical expertise?

Installing means choosing repositories; there is nothing to configure. The report opens with a grade from A to F and a score, so you can see the state of the code without reading it. Each recommendation names the file and line, so it can go straight to your engineering team.

What does the security check cover?

API keys and passwords written into the code, and libraries with known critical or high-severity vulnerabilities, in every supported language. For Python it also detects code patterns that are easy to exploit. This is automated scanning and does not guarantee the absence of vulnerabilities. Use it as a routine check, not as a replacement for a professional security assessment.

How far can I trust what the AI says?

Code quality recommendations start from the analysis tools' measurements, and the AI reads the code in question before making them. They are still an AI's judgment, so treat them as a prioritized starting point rather than a verdict. Security findings are listed as the scanners reported them.

Where is my code processed?

Your code is analyzed by a local LLM running in our on-premises environment and is never sent to external generative AI APIs. We do not store it: once the report is posted to GitHub, the code is discarded.

Do we have to change how we work?

No. There are no CI changes and no new tool to adopt; results arrive in the GitHub Issues your team already uses. Review of each pull request can be turned on in the settings.

Which languages does it support?

Python, JavaScript, TypeScript, Go, Rust, C++ and Java. Complexity and duplicate code are measured for every language. Unused code is measured for Python, dependencies for Python, JavaScript/TypeScript, Go and Java, and the design of parts for every language except C++. An area that is not measured is left out of the score rather than counted as clean. Credentials and vulnerable libraries are checked in every language.

Is it open source?

The analysis engines (pyscn, polyscan, and the shared core) are MIT licensed and free to run as a CLI. The GitHub App, which adds the AI and runs the audits for you, is free with every feature on public repositories; private repositories use Pro.

Start with one repository and see the result.

Installing means choosing repositories. Public repositories are free, and the first report usually arrives within minutes.

Start a free audit