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

Push this scan report to phpstan/phpstan

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.ALGOLIA_CRAWLER_API_KEY` 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 MINED116 [MINED116] Workflow uses `secrets.SENTRY_PROJECT` on a `pull_request` trigger: This workf… .github/workflows/website.yml:374
CRIT MINED116 [MINED116] Workflow uses `secrets.SENTRY_ORG` on a `pull_request` trigger: This workflow … .github/workflows/website.yml:373
CRIT MINED116 [MINED116] Workflow uses `secrets.SENTRY_AUTH_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/website.yml:372
CRIT MINED116 [MINED116] Workflow uses `secrets.PHPSTAN_BOT_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/website.yml:341
CRIT MINED116 [MINED116] Workflow uses `secrets.ALGOLIA_CRAWLER_API_KEY` on a `pull_request` trigger: T… .github/workflows/website.yml:337
CRIT MINED116 [MINED116] Workflow uses `secrets.ALGOLIA_CRAWLER_USER_ID` on a `pull_request` trigger: T… .github/workflows/website.yml:337
CRIT MINED116 [MINED116] Workflow uses `secrets.ALGOLIA_CRAWLER_ID` on a `pull_request` trigger: This w… .github/workflows/website.yml:335
CRIT MINED116 [MINED116] Workflow uses `secrets.PHPSTAN_BOT_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/website.yml:214
CRIT MINED116 [MINED116] Workflow uses `secrets.PHPSTAN_BOT_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/integration-tests-run…:48
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… website/src/js/editor/docBlock.ts:36
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … website/src/js/phpantom/transport.ts:24
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … website/src/js/config-reference.ts:109
HIGH MINED118 [MINED118] Dockerfile FROM `php:8.3-cli-alpine` not pinned by digest: `FROM php:8.3-cli-a… docker/Dockerfile.php.8.3:1
HIGH MINED118 [MINED118] Dockerfile FROM `php:8.2-cli-alpine` not pinned by digest: `FROM php:8.2-cli-a… docker/Dockerfile.php.8.2:1
HIGH MINED118 [MINED118] Dockerfile FROM `php:8.1-cli-alpine` not pinned by digest: `FROM php:8.1-cli-a… docker/Dockerfile.php.8.1:1
HIGH MINED118 [MINED118] Dockerfile FROM `php:8.5-cli-alpine` not pinned by digest: `FROM php:8.5-cli-a… docker/Dockerfile.php.8.5:1
HIGH MINED118 [MINED118] Dockerfile FROM `php:8.4-cli-alpine` not pinned by digest: `FROM php:8.4-cli-a… docker/Dockerfile.php.8.4:1
HIGH MINED118 [MINED118] Dockerfile FROM `php:8.0-cli-alpine` not pinned by digest: `FROM php:8.0-cli-a… docker/Dockerfile.php.8.0:1
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … website/src/js/editor/docBlock.ts:36
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR001 Docker final stage has no non-root USER docker/Dockerfile.php.8.5:1
MED DKR001 Docker final stage has no non-root USER docker/Dockerfile.php.8.4:1
MED DKR001 Docker final stage has no non-root USER docker/Dockerfile.php.8.3:1
MED DKR001 Docker final stage has no non-root USER docker/Dockerfile.php.8.2:1
MED DKR001 Docker final stage has no non-root USER docker/Dockerfile.php.8.1:1
MED DKR001 Docker final stage has no non-root USER docker/Dockerfile.php.8.0:1
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… website/.eleventy.js:89
LOW AIC003 Duplicated implementation block across source files website/.eslintrc.js:1
LOW AIC003 Duplicated implementation block across source files identifier-extractor/src/RuleErrorBuild…:50
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … website/src/js/phpantom/worker.ts:50
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … website/src/js/merch.ts:19
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … website/src/js/config-reference.ts:22
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. website/src/js/MainMenuViewModel.ts:75
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. website/src/js/IgnoreErrorsWidgetModel.…:45
Reset to top 5 34 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

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

**Score: 76/100 (B)**  ·  34 findings  ·  scanned 2026-06-05 17:55 UTC  ·  9,437 LOC

| Severity | Count |
|---|---|
| CRITICAL | 9 |
| HIGH | 9 |
| MEDIUM | 8 |
| LOW | 3 |

📊 [Full filterable report](https://repobility.com/scan/924284a5-1e6c-401f-9514-6eb4afdc4125/)  ·  ![scorecard](https://repobility.com/scan/924284a5-1e6c-401f-9514-6eb4afdc4125/report.png?v=1780682136-s2)

### Top findings

1. **CRITICAL** `MINED116` — Workflow uses `secrets.SENTRY_PROJECT` on a `pull_request` trigger
   `.github/workflows/website.yml:374` · ✓ Repobility
2. **CRITICAL** `MINED116` — Workflow uses `secrets.SENTRY_ORG` on a `pull_request` trigger
   `.github/workflows/website.yml:373` · ✓ Repobility
3. **CRITICAL** `MINED116` — Workflow uses `secrets.SENTRY_AUTH_TOKEN` on a `pull_request` trigger
   `.github/workflows/website.yml:372` · ✓ Repobility
4. **CRITICAL** `MINED116` — Workflow uses `secrets.PHPSTAN_BOT_TOKEN` on a `pull_request` trigger
   `.github/workflows/website.yml:341` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.ALGOLIA_CRAWLER_API_KEY` on a `pull_request` trigger
   `.github/workflows/website.yml:337` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/924284a5-1e6c-401f-9514-6eb4afdc4125/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 3 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 'phpstan/phpstan' 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.