← Back to scan
File as GitHub Issue repo: plotly/plotly.R

Push this scan report to plotly/plotly.R

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

Js Eval Usage

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 MINED005 [MINED005] Lua Loadstring: loadstring/load executes Lua code. Code injection. R/kaleido.R:137
CRIT MINED025 [MINED025] Php Eval: eval() executes arbitrary PHP. Code injection. R/shiny.R:273
CRIT MINED025 [MINED025] Php Eval: eval() executes arbitrary PHP. Code injection. R/highlight.R:206
CRIT MINED025 [MINED025] Php Eval: eval() executes arbitrary PHP. Code injection. R/api.R:152
CRIT MINED024 [MINED024] Js Eval Usage: eval() executes arbitrary code. Code injection risk. R/shiny.R:273
CRIT MINED024 [MINED024] Js Eval Usage: eval() executes arbitrary code. Code injection risk. R/highlight.R:206
CRIT MINED024 [MINED024] Js Eval Usage: eval() executes arbitrary code. Code injection risk. R/api.R:152
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. R/export.R:42
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. R/embed.R:48
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. R/api.R:16
CRIT MINED015 [MINED015] Ruby Eval Call: eval() executes arbitrary code. Code injection. R/shiny.R:273
CRIT MINED015 [MINED015] Ruby Eval Call: eval() executes arbitrary code. Code injection. R/highlight.R:206
CRIT MINED015 [MINED015] Ruby Eval Call: eval() executes arbitrary code. Code injection. R/api.R:152
CRIT MINED116 Workflow uses `secrets.PLOTLY_API_KEY` on a `pull_request` trigger .github/workflows/R-CMD-check.yaml:46
CRIT MINED116 Workflow uses `secrets.PLOTLY_USERNAME` on a `pull_request` trigger .github/workflows/R-CMD-check.yaml:45
CRIT MINED116 Workflow uses `secrets.MAPBOX_TOKEN` on a `pull_request` trigger .github/workflows/R-CMD-check.yaml:44
HIGH MINED017 [MINED017] C System Call: system() invokes shell. command injection if any arg is dynamic. tools/update_plotlyjs.R:50
HIGH MINED017 [MINED017] C System Call: system() invokes shell. command injection if any arg is dynamic. R/sf.R:68
HIGH MINED017 [MINED017] C System Call: system() invokes shell. command injection if any arg is dynamic. R/orca.R:219
HIGH MINED010 [MINED010] Ruby System Call: system / backtick run shell. Command injection if any arg dy… tools/update_plotlyjs.R:50
HIGH MINED010 [MINED010] Ruby System Call: system / backtick run shell. Command injection if any arg dy… R/sf.R:68
HIGH MINED010 [MINED010] Ruby System Call: system / backtick run shell. Command injection if any arg dy… R/orca.R:219
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… R/print.R:18
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… R/plotly_example.R:56
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… R/api_exports.R:173
HIGH MINED115 Action `r-lib/actions/check-r-package` pinned to mutable ref `@v2` .github/workflows/R-CMD-check.yaml:98
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@master` .github/workflows/R-CMD-check.yaml:90
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v4` .github/workflows/R-CMD-check.yaml:68
HIGH MINED115 Action `r-lib/actions/setup-r-dependencies` pinned to mutable ref `@v2` .github/workflows/R-CMD-check.yaml:60
HIGH MINED115 Action `r-lib/actions/setup-pandoc` pinned to mutable ref `@v2` .github/workflows/R-CMD-check.yaml:58
HIGH MINED115 Action `r-lib/actions/setup-r` pinned to mutable ref `@v2` .github/workflows/R-CMD-check.yaml:52
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/R-CMD-check.yaml:49
HIGH MINED115 Action `actions/deploy-pages` pinned to mutable ref `@v4` .github/workflows/docs.yml:74
HIGH MINED115 Action `actions/upload-pages-artifact` pinned to mutable ref `@v3` .github/workflows/docs.yml:61
HIGH MINED115 Action `ruby/setup-ruby` pinned to mutable ref `@v1` .github/workflows/docs.yml:47
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/docs.yml:41
HIGH CORE_NO_TESTS No test files found
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… demo/custom-javascript.R:17
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … R/shiny.R:273
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … R/highlight.R:206
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … R/api.R:152
MED WEB003 Public web service has no security.txt .well-known/security.txt
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
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
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … demo/custom-javascript.R:85
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… demo/custom-javascript.R:5
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … R/sf.R:76
INFO MINED046 [MINED046] Dart Print: print() in Flutter goes to console. Use debugPrint / logger. R/print.R:39
INFO MINED046 [MINED046] Dart Print: print() in Flutter goes to console. Use debugPrint / logger. R/plotly_data.R:84
INFO MINED046 [MINED046] Dart Print: print() in Flutter goes to console. Use debugPrint / logger. R/dev.R:54
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… R/ggridges.R:133
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… R/api_exports.R:194
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… R/api.R:34
Reset to top 5 57 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `plotly/plotly.R`

**Score: 73/100 (C)**  ·  57 findings  ·  scanned 2026-06-05 13:03 UTC  ·  1,042 LOC

| Severity | Count |
|---|---|
| CRITICAL | 16 |
| HIGH | 21 |
| MEDIUM | 7 |
| LOW | 4 |

📊 [Full filterable report](https://repobility.com/scan/7ced1cfa-f2e0-435b-8477-d5c86c8cb5d5/)  ·  ![scorecard](https://repobility.com/scan/7ced1cfa-f2e0-435b-8477-d5c86c8cb5d5/report.png?v=1780664638-s2)

### Top findings

1. **CRITICAL** `MINED005` — Lua Loadstring
   `R/kaleido.R:137` · CWE-95 · ✓ Repobility
2. **CRITICAL** `MINED025` — Php Eval
   `R/shiny.R:273` · CWE-95 · ✓ Repobility
3. **CRITICAL** `MINED025` — Php Eval
   `R/highlight.R:206` · CWE-95 · ✓ Repobility
4. **CRITICAL** `MINED025` — Php Eval
   `R/api.R:152` · CWE-95 · ✓ Repobility
5. **CRITICAL** `MINED024` — Js Eval Usage
   `R/shiny.R:273` · CWE-95 · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/7ced1cfa-f2e0-435b-8477-d5c86c8cb5d5/_
Megaproject â high spam risk
Could not determine 'plotly/plotly.R' 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.
Already filed
21/60 findings (35%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

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.