← Back to scan
File as GitHub Issue repo: hcengineering/platform

Push this scan report to hcengineering/platform

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

Workflow uses `secrets.R2_ACCESS_KEY_ID` on a `pull_request` trigger

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 MINED018 [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLo… dev/import-tool/src/index.ts:184
CRIT SEC116 [SEC116] Ruby YAML.load / Marshal.load on untrusted input: `YAML.load` (pre-3.1) and `Mar… dev/import-tool/src/index.ts:184
CRIT SEC079 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader ca… dev/import-tool/src/index.ts:184
CRIT MINED116 [MINED116] Workflow uses `secrets.R2_SECRET_ACCESS_KEY` on a `pull_request` trigger: This… .github/workflows/main.yml:921
CRIT MINED116 [MINED116] Workflow uses `secrets.R2_ACCESS_KEY_ID` on a `pull_request` trigger: This wor… .github/workflows/main.yml:920
CRIT MINED116 [MINED116] Workflow uses `secrets.R2_ACCOUNT_ID` on a `pull_request` trigger: This workfl… .github/workflows/main.yml:919
CRIT MINED116 [MINED116] Workflow uses `secrets.TEAM_ID` on a `pull_request` trigger: This workflow tri… .github/workflows/main.yml:908
CRIT MINED116 [MINED116] Workflow uses `secrets.APPLE_ID_APP_PASS` on a `pull_request` trigger: This wo… .github/workflows/main.yml:907
CRIT MINED116 [MINED116] Workflow uses `secrets.APPLE_ID` on a `pull_request` trigger: This workflow tr… .github/workflows/main.yml:906
CRIT MINED116 [MINED116] Workflow uses `secrets.KEYCHAIN_PASSWORD` on a `pull_request` trigger: This wo… .github/workflows/main.yml:886
CRIT MINED116 [MINED116] Workflow uses `secrets.DEV_ID_P12_PASSWORD` on a `pull_request` trigger: This … .github/workflows/main.yml:885
CRIT MINED116 [MINED116] Workflow uses `secrets.DEV_ID_P12_BASE64` on a `pull_request` trigger: This wo… .github/workflows/main.yml:884
CRIT MINED116 [MINED116] Workflow uses `secrets.R2_SECRET_ACCESS_KEY` on a `pull_request` trigger: This… .github/workflows/main.yml:818
CRIT MINED116 [MINED116] Workflow uses `secrets.R2_ACCESS_KEY_ID` on a `pull_request` trigger: This wor… .github/workflows/main.yml:817
CRIT MINED116 [MINED116] Workflow uses `secrets.R2_ACCOUNT_ID` on a `pull_request` trigger: This workfl… .github/workflows/main.yml:816
CRIT MINED116 [MINED116] Workflow uses `secrets.TEAM_ID` on a `pull_request` trigger: This workflow tri… .github/workflows/main.yml:805
CRIT MINED116 [MINED116] Workflow uses `secrets.APPLE_ID_APP_PASS` on a `pull_request` trigger: This wo… .github/workflows/main.yml:804
CRIT MINED116 [MINED116] Workflow uses `secrets.APPLE_ID` on a `pull_request` trigger: This workflow tr… .github/workflows/main.yml:803
CRIT MINED116 [MINED116] Workflow uses `secrets.KEYCHAIN_PASSWORD` on a `pull_request` trigger: This wo… .github/workflows/main.yml:783
CRIT MINED116 [MINED116] Workflow uses `secrets.DEV_ID_P12_PASSWORD` on a `pull_request` trigger: This … .github/workflows/main.yml:782
CRIT MINED116 [MINED116] Workflow uses `secrets.DEV_ID_P12_BASE64` on a `pull_request` trigger: This wo… .github/workflows/main.yml:781
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKER_ACCESS_TOKEN` on a `pull_request` trigger: This … .github/workflows/main.yml:724
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKER_ACCESS_TOKEN` on a `pull_request` trigger: This … .github/workflows/main.yml:699
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKER_ACCESS_TOKEN` on a `pull_request` trigger: This … .github/workflows/main.yml:584
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKER_ACCESS_TOKEN` on a `pull_request` trigger: This … .github/workflows/main.yml:500
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKER_ACCESS_TOKEN` on a `pull_request` trigger: This … .github/workflows/main.yml:403
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKER_ACCESS_TOKEN` on a `pull_request` trigger: This … .github/workflows/main.yml:271
CRIT MINED116 [MINED116] Workflow uses `secrets.DOCKER_ACCESS_TOKEN` on a `pull_request` trigger: This … .github/workflows/main.yml:221
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… desktop/src/ui/index.ts:192
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… desktop/src/main/settings.ts:38
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… desktop/src/main/args.ts:22
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… foundations/communication/packages/cock…:74
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… dev/tool/src/csv.ts:11
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… common/scripts/update-package-versions.…:42
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … desktop/src/main/findInPage.ts:46
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … desktop/src/main/customMenu.ts:66
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … common/scripts/safe-publish.js:42
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v6`: `uses: actions/u… .github/workflows/main.yml:320
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v6`: `uses: actions/u… .github/workflows/main.yml:307
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` r… .github/workflows/main.yml:246
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/main.yml:242
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/main.yml:237
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` r… .github/workflows/main.yml:208
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/main.yml:204
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/main.yml:199
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` r… .github/workflows/main.yml:176
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/main.yml:172
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/main.yml:168
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` r… .github/workflows/main.yml:153
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/main.yml:147
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/main.yml:142
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` r… .github/workflows/main.yml:130
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` r… .github/workflows/main.yml:81
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/main.yml:77
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/main.yml:71
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` r… .github/workflows/publish-npm.yml:26
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/publish-npm.yml:22
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/publish-npm.yml:18
HIGH MINED115 [MINED115] Action `pnpm/action-setup` pinned to mutable ref `@v5`: `uses: pnpm/action-set… .github/workflows/baseimage.yaml:42
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/baseimage.yaml:38
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/baseimage.yaml:34
HIGH MINED115 [MINED115] Action `crazy-max/ghaction-setup-docker` pinned to mutable ref `@v5`: `uses: c… .github/workflows/baseimage.yaml:26
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. foundations/core/common/scripts/generat…:31
MED SEC007 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code. dev/import-tool/src/index.ts:184
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … common/scripts/show_version.js:21
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … common/scripts/show_tag.js:17
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … common/scripts/check_model_version.js:2
LOW AIC003 Duplicated implementation block across source files foundations/core/common/scripts/install…:1
LOW AIC003 Duplicated implementation block across source files foundations/core/common/scripts/install…:1
LOW AIC003 Duplicated implementation block across source files foundations/communication/packages/quer…:331
LOW AIC003 Duplicated implementation block across source files foundations/communication/packages/quer…:31
LOW AIC003 Duplicated implementation block across source files foundations/communication/common/script…:1
LOW AIC003 Duplicated implementation block across source files foundations/communication/common/script…:1
LOW AIC003 Duplicated implementation block across source files dev/tool/src/gmail.ts:275
LOW AIC003 Duplicated implementation block across source files dev/tool/src/gmail.ts:69
LOW AIC003 Duplicated implementation block across source files dev/prod/webpack.config.js:168
LOW AIC003 Duplicated implementation block across source files dev/prod/src/platform.ts:252
LOW AIC003 Duplicated implementation block across source files dev/prod/src/platform.ts:194
LOW AIC003 Duplicated implementation block across source files common/scripts/safe-publish.js:30
LOW AIC003 Duplicated implementation block across source files common/scripts/fix-packages.js:10
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. dev/tool/src/gmail.ts:201
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. dev/tool/src/calendar.ts:176
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … dev/tool/src/mixin.ts:161
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … dev/doc-import-tool/src/convert/convert…:47
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … desktop/src/ui/notifications.ts:273
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. desktop/src/main/windowsSpecificSetup.ts:87
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. desktop/src/main/updater.ts:27
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. desktop/src/main/settings.ts:66
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… foundations/communication/packages/serv…:22
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… dev/prod/src/app-integration-tools.ts:38
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… desktop/src/main/settings.ts:72
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. desktop/src/ui/index.ts:56
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. desktop/src/main/settings.ts:42
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. desktop/src/main/permissions.ts:39
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … common/scripts/esbuild.js:24
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … common/scripts/check_model_version.js:5
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … common/scripts/bump.js:27
Reset to top 5 98 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `hcengineering/platform`

**Score: 70/100 (B)**  ·  98 findings  ·  scanned 2026-05-20 01:59 UTC  ·  60,404 LOC

| Severity | Count |
|---|---|
| CRITICAL | 28 |
| HIGH | 34 |
| MEDIUM | 6 |
| LOW | 13 |

📊 [Full filterable report](https://repobility.com/scan/1a8155c4-002f-4a0f-bd44-ca3a6ed02b15/)  ·  ![scorecard](https://repobility.com/scan/1a8155c4-002f-4a0f-bd44-ca3a6ed02b15/report.png?v=1779242340-s2)

### Top findings

1. **CRITICAL** `MINED018` — Unsafe Deserialization Pickle
   `dev/import-tool/src/index.ts:184` · CWE-502 · ✓ Repobility
2. **CRITICAL** `SEC116` — Ruby YAML.load / Marshal.load on untrusted input
   `dev/import-tool/src/index.ts:184` · A08:2021 Software & Data Integrity Failures
3. **CRITICAL** `SEC079` — Python: yaml.load without SafeLoader
   `dev/import-tool/src/index.ts:184` · A05:2021 Security Misconfiguration
4. **CRITICAL** `MINED116` — Workflow uses `secrets.R2_SECRET_ACCESS_KEY` on a `pull_request` trigger
   `.github/workflows/main.yml:921` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.R2_ACCESS_KEY_ID` on a `pull_request` trigger
   `.github/workflows/main.yml:920` · ✓ Repobility

---

**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/1a8155c4-002f-4a0f-bd44-ca3a6ed02b15/_
Megaproject â high spam risk
Could not determine 'hcengineering/platform' 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
50/109 findings (46%) 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.