Quantstamp reviewed Open Dollar (Open Dollar - dApp) on 11 Apr 2024: 8 findings, 0 critical; 3 marked fixed, 4 acknowledged, 1 open.
Report hosted on certificate.quantstamp.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 1 | 4 | 3 |
The OpenDollar front-end retrieves certain public-facing data through the OpenDollar Bot API. This API provides various endpoints, some of which necessitate authorization via a secret token. Currently, this token is transmitted as a URL query parameter, posing a risk as it could potentially be cached by server logs and proxy servers, thereby exposing the token to anyone with access to these logs. At present, the endpoints requiring authorization are solely utilized for staging purposes. Nonetheless, this approach should be reconsidered should the OpenDollar team opt to introduce similar functionality in a production environment. ``` export function middleware(request) { const authHeader = request.headers.get("authorization"); if (authHeader && authHeader !== `Bearer ${process.env.CRON_SECRET}`) { return new Response("Unauthorized", { status: 401, }); } else if (request.query.secret !== process.env.RATE_SECRET) { return new Response("Unauthorized", { status: 401, }); } } export const config = { matcher: "/(/api/(?!graphql|screen).*)", }; ```
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (345)
236 projects reviewed · 332 reports · latest Oct 2026
See Quantstamp’s auditsSomething wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.
Tell us