← Back to scan
File as GitHub Issue repo: jaktestowac/rolnopol

Push this scan report to jaktestowac/rolnopol

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Async function without await — fire-and-forget Promise (AI mistake)

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… services/docs.service.js:155
HIGH SEC135 [SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint g… routes/debug.route.js:52
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … public/js/components/navigation.js:78
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … public/data/script-to-update-areas.py:58
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … middleware/rate-limit.middleware.js:44
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… public/js/components/notification.js:161
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… public/js/components/navigation.js:209
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… helpers/prometheus-metrics.js:40
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… public/js/api.js:10
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… modules/notification-center/channels/we…:191
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… helpers/avatar-image.js:125
HIGH MINED113 [MINED113] Express POST /terminal/porky/end has no auth: Express route POST /terminal/por… routes/v1/terminal.route.js:2228
HIGH MINED113 [MINED113] Express POST /terminal/porky/status has no auth: Express route POST /terminal/… routes/v1/terminal.route.js:2207
HIGH MINED113 [MINED113] Express POST /terminal/porky/message has no auth: Express route POST /terminal… routes/v1/terminal.route.js:2185
HIGH MINED113 [MINED113] Express POST /terminal/porky/start has no auth: Express route POST /terminal/p… routes/v1/terminal.route.js:2164
HIGH MINED113 [MINED113] Express POST /terminal/execute has no auth: Express route POST /terminal/execu… routes/v1/terminal.route.js:2104
HIGH MINED113 [MINED113] Express POST /terminal/sync has no auth: Express route POST /terminal/sync dec… routes/v1/terminal.route.js:2085
HIGH MINED113 [MINED113] Express POST / has no auth: Express route POST / declared without an auth midd… routes/contact.route.js:11
HIGH MINED113 [MINED113] Express POST /debug/database/restore-base has no auth: Express route POST /deb… routes/debug.route.js:52
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… routes/v1/terminal.route.js:2249
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … routes/debug.route.js:15
MED SEC046 [SEC046] Client-side open redirect — window.location = server-supplied URL: Assigning win… public/js/services/auth-service.js:240
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… public/js/pages/status.js:65
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… public/js/pages/staff-fields-export.js:57
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. services/debug-database-restore.service…:98
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. public/js/pages/fieldmap.js:114
MED SEC105 [SEC105] Cookie missing HttpOnly/Secure flag: Session cookie missing HttpOnly (allows JS … controllers/auth.controller.js:20
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED AGT007 localStorage write failures are swallowed silently public/js/services/feature-flags-servic…:94
MED AGT007 localStorage write failures are swallowed silently public/js/pages/tasks.js:797
MED AGT007 localStorage write failures are swallowed silently public/js/pages/status.js:75
MED AGT007 localStorage write failures are swallowed silently public/js/pages/farmlog.js:653
MED AGT007 localStorage write failures are swallowed silently public/js/app.js:822
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED JRN003 Frontend API reference is not matched by discovered backend routes plugins/firefly-notification-plugin/ind…:10
MED JRN003 Frontend API reference is not matched by discovered backend routes plugins/feature-flag-watcher/index.js:52
MED JRN003 Frontend API reference is not matched by discovered backend routes plugins/feature-flag-watcher/index.js:43
MED JRN003 Frontend API reference is not matched by discovered backend routes plugins/barn-whisper-ping-plugin/index.…:14
MED JRN003 Frontend API reference is not matched by discovered backend routes controllers/testing.controller.js:51
MED JRN003 Frontend API reference is not matched by discovered backend routes controllers/testing.controller.js:34
MED JRN003 Frontend API reference is not matched by discovered backend routes controllers/notification-center.control…:17
MED JRN003 Frontend API reference is not matched by discovered backend routes controllers/notification-center.control…:16
MED JRN003 Frontend API reference is not matched by discovered backend routes controllers/notification-center.control…:13
MED JRN003 Frontend API reference is not matched by discovered backend routes controllers/notification-center.control…:12
MED JRN003 Frontend API reference is not matched by discovered backend routes controllers/notification-center.control…:10
MED JRN003 Frontend API reference is not matched by discovered backend routes controllers/notification-center.control…:9
MED JRN003 Frontend API reference is not matched by discovered backend routes controllers/notification-center.control…:8
MED JRN003 Frontend API reference is not matched by discovered backend routes api/index.js:525
MED JRN003 Frontend API reference is not matched by discovered backend routes api/index.js:520
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 44.7% of discovered …
MED WEB015 Public web app has no Content Security Policy index.html
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … routes/v1/notification-count.route.js:5
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … routes/v1/terminal.route.js:2072
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … routes/v1/terminal.route.js:2056
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … routes/v1/terminal.route.js:2041
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … routes/debug.route.js:52
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … routes/debug.route.js:8
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … routes/logs.route.js:6
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… routes/v1/index.js:48
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… routes/v1/healthcheck.route.js:99
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… routes/v1/healthcheck.route.js:72
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… routes/contact.route.js:11
MED CORE_NO_CI No CI/CD configuration found
LOW COMP001 [COMP001] High cognitive complexity: Function `load_areas_txt` has cognitive complexity 9… public/data/script-to-update-areas.py:5
LOW COMP001 [COMP001] High cognitive complexity: Function `update_json` has cognitive complexity 11 (… public/data/script-to-update-areas.py:39
LOW AIC003 Duplicated implementation block across source files services/user.service.js:199
LOW AIC003 Duplicated implementation block across source files services/post.service.js:9
LOW AIC003 Duplicated implementation block across source files services/notification-ws.service.js:20
LOW AIC003 Duplicated implementation block across source files public/js/services/api-service.js:50
LOW AIC003 Duplicated implementation block across source files public/js/pages/labyrinth.js:212
LOW AIC003 Duplicated implementation block across source files public/js/pages/docs-ai-widget.js:44
LOW AIC003 Duplicated implementation block across source files public/js/init.js:1
LOW AIC003 Duplicated implementation block across source files plugins/secret-garden-route-plugin/inde…:11
LOW AIC003 Duplicated implementation block across source files controllers/webhook.controller.js:97
LOW AIC003 Duplicated implementation block across source files controllers/post.controller.js:8
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW WEB011 Public web app has no humans.txt humans.txt
LOW CORE_NO_LICENSE No LICENSE file
INFO MINED069 [MINED069] Debug True Prod: Django/Flask DEBUG=True or app.debug=True in non-test files. routes/debug.route.js:15
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… public/js/components/navigation.js:379
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… public/js/components/form.js:319
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… public/js/components/cookie-consent.js:167
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. public/swagger/swagger-initializer.js:13
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. public/js/api.js:230
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … public/js/api.js:199
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … helpers/logger-api.js:34
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … bump-version.js:44
Reset to top 5 89 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `jaktestowac/rolnopol`

**Score: 71/100 (B)**  ·  89 findings  ·  scanned 2026-06-06 01:09 UTC  ·  165,489 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 20 |
| MEDIUM | 43 |
| LOW | 17 |

📊 [Full filterable report](https://repobility.com/scan/d26aa316-1e43-4a9b-9182-551eba4d6839/)  ·  ![scorecard](https://repobility.com/scan/d26aa316-1e43-4a9b-9182-551eba4d6839/report.png?v=1780708183-s2)

### Top findings

1. **HIGH** `SEC083` — JS: new RegExp() with non-literal
   `services/docs.service.js:155`
2. **HIGH** `SEC135` — Auth/permission check missing on AI-generated endpoint
   `routes/debug.route.js:52` · CWE-862
3. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `public/js/components/navigation.js:78`
4. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `public/data/script-to-update-areas.py:58`
5. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `middleware/rate-limit.middleware.js:44`

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/d26aa316-1e43-4a9b-9182-551eba4d6839/_
Megaproject â high spam risk
Could not determine 'jaktestowac/rolnopol' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.