← Back to scan
File as GitHub Issue repo: portainer/portainer

Push this scan report to portainer/portainer

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

Hardcoded Password

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
CRIT MINED024 [MINED024] Js Eval Usage: eval() executes arbitrary code. Code injection risk. app/portainer/components/onEnterKey.js:10
CRIT MINED024 [MINED024] Js Eval Usage: eval() executes arbitrary code. Code injection risk. app/portainer/components/focusIf.js:19
CRIT MINED019 [MINED019] Ssti Jinja From String: jinja2.Environment().from_string(user_input) — full RC… api/http/handler/customtemplates/handle…:50
CRIT DKC008 Compose service mounts the Docker socket build/docker-extension/docker-compose.y…:3
CRIT SEC001 [SEC001] Hardcoded Password: Hardcoded password found in source code. app/portainer/services/authentication.js:6
HIGH SEC069 [SEC069] Dockerfile: no USER directive (runs as root): Container runs as root because no … app/react/docker/images/ItemView/Docker…:1
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… app/react/components/CodeEditor/useCode…:30
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… app/docker/views/images/import/importIm…:62
HIGH MINED027 [MINED027] React State Array Mutation: state.X.push/splice/sort followed by setState — Re… app/docker/views/networks/create/create…:95
HIGH MINED027 [MINED027] React State Array Mutation: state.X.push/splice/sort followed by setState — Re… app/docker/components/log-viewer/logVie…:70
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… app/react/components/ImageConfigFieldse…:115
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… app/docker/helpers/logHelper/formatZero…:43
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… app/docker/components/imageRegistry/por…:49
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… app/docker/models/config.ts:48
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… app/docker/helpers/containers.ts:8
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… app/assets/css/colors.ts:5
HIGH MINED031 [MINED031] React Direct State Mutation: this.state.X = Y mutates without setState. React … app/docker/components/log-viewer/logVie…:33
HIGH MINED031 [MINED031] React Direct State Mutation: this.state.X = Y mutates without setState. React … app/agent/components/volume-browser/vol…:103
HIGH MINED031 [MINED031] React Direct State Mutation: this.state.X = Y mutates without setState. React … app/agent/components/host-browser/hostB…:57
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… api/pendingactions/pendingactions.go:141
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… api/http/middlewares/panic_logger.go:13
HIGH MINED014 [MINED014] Disabled Tls Verify: verify=False in requests, rejectUnauthorized:false in nod… app/portainer/models/endpoint/formValue…:9
HIGH MINED014 [MINED014] Disabled Tls Verify: verify=False in requests, rejectUnauthorized:false in nod… api/http/handler/endpoints/endpoint_upd…:244
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. api/backup/backup.go:92
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. api/archive/targz.go:83
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. api/archive/tar.go:58
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… api/exec/kubernetes_deploy.go:96
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… api/cli/cli.go:183
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… api/agent/version.go:28
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … api/docker/images/status.go:275
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … api/apikey/service.go:135
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … .storybook/public/mockServiceWorker.js:75
HIGH MINED122 [MINED122] package.json dep `axios-progress-bar` pulled from URL/Git: `dependencies.axios… package.json:1
HIGH JRN009 Secret-like setting is echoed into a password input value app/react/portainer/registries/CreateVi…:107
HIGH JRN009 Secret-like setting is echoed into a password input value app/react/portainer/gitops/AuthFieldset…:91
HIGH SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. api/http/proxy/factory/kubernetes/trans…:99
HIGH SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. api/http/proxy/factory/kubernetes/pods.…:18
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … app/portainer/components/onEnterKey.js:10
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … app/portainer/components/focusIf.js:19
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … app/docker/views/images/import/importIm…:62
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… api/http/proxy/factory/agent.go:60
MED SEC089 [SEC089] Go: bind to all interfaces (0.0.0.0): Server binds to all network interfaces — e… api/http/proxy/factory/agent.go:74
MED SEC014 [SEC014] SSL Verification Disabled: SSL certificate verification is disabled, allowing ma… app/portainer/models/endpoint/formValue…:9
MED SEC014 [SEC014] SSL Verification Disabled: SSL certificate verification is disabled, allowing ma… api/http/handler/endpoints/endpoint_upd…:244
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR002 Dockerfile base image has no explicit tag build/linux/Dockerfile:1
MED DKR001 Docker final stage has no non-root USER build/linux/Dockerfile:1
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AIC004 Suspicious implementation file appears unreferenced api/http/handler/endpoints/endpoint_set…:1
MED AIC004 Suspicious implementation file appears unreferenced api/http/handler/edgestacks/edgestack_s…:1
MED WEB012 Service worker is present without a web app manifest manifest.json
MED WEB015 Public web app has no Content Security Policy index.html
MED CORE_NO_CI No CI/CD configuration found
LOW SEC075 [SEC075] Dockerfile: no HEALTHCHECK: No HEALTHCHECK directive — orchestrators can't detec… app/react/docker/images/ItemView/Docker…:1
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… api/http/handler/websocket/attach.go:129
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… api/http/handler/kubernetes/deprecated_…:53
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… api/docker/images/image.go:162
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. api/chisel/tunnel.go:244
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. api/chisel/service.go:93
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. api/agent/version.go:45
LOW AIC003 Duplicated implementation block across source files api/http/handler/stacks/update_kubernet…:64
LOW AIC003 Duplicated implementation block across source files api/http/handler/stacks/stack_update_gi…:58
LOW AIC003 Duplicated implementation block across source files api/http/handler/stacks/stack_stop.go:48
LOW AIC003 Duplicated implementation block across source files api/http/handler/stacks/stack_stop.go:18
LOW AIC003 Duplicated implementation block across source files api/http/handler/stacks/stack_start.go:81
LOW AIC003 Duplicated implementation block across source files api/http/handler/stacks/stack_inspect.go:14
LOW AIC003 Duplicated implementation block across source files api/http/handler/stacks/create_swarm_st…:106
LOW AIC003 Duplicated implementation block across source files api/http/handler/roles/handler.go:2
LOW AIC003 Duplicated implementation block across source files api/http/handler/kubernetes/persistent_…:1
LOW AIC003 Duplicated implementation block across source files api/http/handler/gitops/workflows/handl…:8
LOW AIC003 Duplicated implementation block across source files api/http/handler/gitops/sources/update_…:1
LOW AIC003 Duplicated implementation block across source files api/http/handler/endpointproxy/proxy_ku…:27
LOW AIC003 Duplicated implementation block across source files api/http/handler/endpointproxy/proxy_ku…:12
LOW AIC003 Duplicated implementation block across source files api/http/handler/endpointproxy/proxy_do…:18
LOW AIC003 Duplicated implementation block across source files api/http/handler/endpointproxy/proxy_do…:12
LOW AIC003 Duplicated implementation block across source files api/http/handler/customtemplates/custom…:1
LOW AIC003 Duplicated implementation block across source files api/dataservices/version/version.go:16
LOW AIC003 Duplicated implementation block across source files api/dataservices/user/user.go:37
LOW AIC003 Duplicated implementation block across source files api/dataservices/tunnelserver/tunnelser…:8
LOW AIC003 Duplicated implementation block across source files api/dataservices/team/tx.go:15
LOW AIC003 Duplicated implementation block across source files api/dataservices/stack/tx.go:16
LOW AIC003 Duplicated implementation block across source files api/dataservices/ssl/ssl.go:18
LOW AIC003 Duplicated implementation block across source files api/dataservices/ssl/ssl.go:13
LOW AIC003 Duplicated implementation block across source files api/dataservices/ssl/ssl.go:8
LOW AIC003 Duplicated implementation block across source files api/dataservices/settings/settings.go:18
LOW AIC003 Duplicated implementation block across source files api/dataservices/settings/settings.go:8
LOW AIC003 Duplicated implementation block across source files api/dataservices/schedule/schedule.go:7
LOW AIC003 Duplicated implementation block across source files api/dataservices/resourcecontrol/tx.go:17
LOW AIC003 Duplicated implementation block across source files api/dataservices/extension/extension.go:7
LOW AIC003 Duplicated implementation block across source files api/dataservices/endpoint/tx.go:92
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW AIC007 Generated build artifact directory is present at repository root build:1
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW AIC002 Source file name looks like an AI patch artifact app/react/common/stacks/common/confirm-…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/webhooks/webhook_updat…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/users/user_update.go:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/teams/team_update.go:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/teammemberships/teamme…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/stacks/stack_update.go:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/ssl/ssl_update.go:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/settings/settings_upda…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/resourcecontrols/resou…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/registries/registry_up…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/endpoints/endpoint_set…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/endpoints/endpoint_upd…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/endpointgroups/endpoin…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/edgestacks/edgestack_s…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/edgestacks/edgestack_u…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/edgejobs/edgejob_updat…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/edgegroups/edgegroup_u…:1
LOW AIC002 Source file name looks like an AI patch artifact api/http/handler/customtemplates/custom…:1
LOW DKC006 Compose service does not declare a runtime user build/docker-extension/docker-compose.y…:3
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED088 [MINED088] React Conditional Hook: useState/useEffect inside if/loop violates Rules of Ho… app/react/docker/containers/CreateView/…:11
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … app/react/components/form-components/In…:97
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … app/react/components/datatables/editabl…:15
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … app/react/components/buttons/DeleteButt…:87
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… app/react/components/Tip/Tooltip/Toolti…:37
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… app/react/components/PageHeader/Breadcr…:31
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… app/react/components/DetailsTable/Detai…:29
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… app/react/components/BoxSelector/BoxSel…:79
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… app/portainer/services/authentication.js:22
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… app/index.js:26
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… api/http/handler/endpoints/endpoint_for…:85
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… api/docker/images/digest.go:175
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… api/concurrent/concurrent.go:21
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. api/datastore/teststore.go:49
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. api/cli/cli.go:114
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… api/cli/cli.go:48
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… api/chisel/service.go:78
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… api/aws/ecr/parse_endpoints.go:38
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … app/docker/helpers/splitargs.ts:12
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … app/docker/components/imageRegistry/por…:38
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .storybook/preview.tsx:13
Reset to top 5 136 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `portainer/portainer`

**Score: 84/100 (B+)**  ·  136 findings  ·  scanned 2026-05-24 00:00 UTC  ·  424,703 LOC

| Severity | Count |
|---|---|
| CRITICAL | 5 |
| HIGH | 32 |
| MEDIUM | 16 |
| LOW | 62 |

📊 [Full filterable report](https://repobility.com/scan/eb9d896b-a332-4cc1-be80-d2c1bc8ccc58/)  ·  ![scorecard](https://repobility.com/scan/eb9d896b-a332-4cc1-be80-d2c1bc8ccc58/report.png?v=1779580817-s2)

### Top findings

1. **CRITICAL** `MINED024` — Js Eval Usage
   `app/portainer/components/onEnterKey.js:10` · CWE-95 · ✓ Repobility
2. **CRITICAL** `MINED024` — Js Eval Usage
   `app/portainer/components/focusIf.js:19` · CWE-95 · ✓ Repobility
3. **CRITICAL** `MINED019` — Ssti Jinja From String
   `api/http/handler/customtemplates/handler.go:50` · CWE-94 · ✓ Repobility
4. **CRITICAL** `DKC008` — Compose service mounts the Docker socket
   `build/docker-extension/docker-compose.yml:3`
5. **CRITICAL** `SEC001` — Hardcoded Password
   `app/portainer/services/authentication.js:6` · A07:2021 Identification & Authentication Failures

---

**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/eb9d896b-a332-4cc1-be80-d2c1bc8ccc58/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 18 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'portainer/portainer' 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.