CORE // ACTIVE 2,400 credits

Code findings

Open issues in your code, grouped by the fix that closes them. One pull request can close several findings at once.

Show details Start a scan
17 findings Export CSV
Critical The order search lets anyone read your database A pen test of a sandbox copy of your app used the search box to list every customer’s email. Fix ready
High A file path is built from what a user typed Someone could read files outside the folder the app means to share. Fix ready
High A GitHub access token is stored in the code Anyone who sees the code can use the token to reach private repositories. Needs your fix
Medium A cookie is sent without the Secure flag On public Wi-Fi someone could read the cookie and sign in as that person. Fix ready
Critical The order search lets anyone read your database A pen test of a sandbox copy of your app used the search box to list every customer’s email. Fix in progress
Critical Password reset links never expire An old reset email still works, so anyone who finds one can take over the account. Fix in progress
High Report names are passed to a shell command Someone could run any command on the server by sending a crafted report name. Fix in progress
High Uploaded files keep the name the user gave them A crafted file name could overwrite files the app depends on. Fix in progress
High Admin pages skip the sign-in check Anyone who guesses the address can open the admin pages. Fix in progress
Medium Error pages show the server’s internals A failed request shows file paths and versions that help an attacker. Fix in progress

Pull requests

Pull requests we checked, what we flagged and the fixes we opened.

Edit policies

1 pull request can’t merge yet. 1 pull request has problems. 1 of our fixes is ready for you to merge.

Needs you · 3All · 12
Search pull requests
  • Can’t merge
    Add invoice export #42 Someone could read another customer’s invoice by changing a number in the link. And 1 more problem. web · sam-okafor · 2 hours ago
    See problems
  • Has problems
    Accept refunds from the payment provider #40 The refund webhook never checks that a request came from the payment provider. api · sam-okafor · 5 hours ago
    See problems
  • Ready to merge
    Use a bound parameter in the order search #1 Merging this fixes 1 problem. checkout · opened by us · just now
    Review and merge
acme/checkout
Use a bound parameter in the order search #1
Open Threat Unknown wants to merge 1 commit into main
What changed and why. The order search pasted what a user typed into a SQL query. It now passes it as a bound parameter, so typed text is never run as SQL.
app/search.js
-return db.query("SELECT * FROM orders WHERE name LIKE '%" + req.query.q + "%'");
+return db.query("SELECT * FROM orders WHERE name LIKE ?", ["%" + req.query.q + "%"]);
Threat Unknown: no new problems Merge pull request