Borehole · Project · free tier
getgrav/grav
Free reading: not for reliance
bc662fd · 8,708 commits · 1,154 files
Read 2026-10-04

getgrav/grav: technical due diligence, read from its repository

What Borehole read in getgrav/grav's code and history at bc662fd: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

What the repository says

  • SECURITY.md:32: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

system/src/Grav/Common/Page/Page.php is 3,404 lines, 31× this codebase's median file

adequate

The median source file here is 109 lines. 18 files exceed 1,090 lines, the largest being 3,404. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.

Evidence
system/src/Grav/Common/Page/Page.php:1 — 3,404 lines (31× median)
system/src/Grav/Common/Page/Pages.php:1 — 3,240 lines (29× median)
system/src/Grav/Common/Utils.php:1 — 2,418 lines (22× median)
system/src/Grav/Common/Twig/Extension/GravExtension.php:1 — 2,352 lines (21× median)
system/src/Grav/Common/Security.php:1 — 2,200 lines (20× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong

No finding.

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

5 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.

Evidence
.github/workflows/build.yaml:28 — action pinned by tag
.github/workflows/build.yaml:65 — action pinned by tag
05.22

14 deserialisers that can run code

adequate

14 places read data with a deserialiser that executes what it reads (PHP `unserialize`). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.

Evidence
system/src/Grav/Common/Page/PageIndexStore.php:229 — code-executing deserialiser
system/src/Grav/Common/Page/PageIndexStore.php:370 — code-executing deserialiser
system/src/Grav/Common/Page/PageIndexStore.php:394 — code-executing deserialiser
05.26

1 locked dependency has published vulnerabilities, 3 high or critical

adequate

1 of 62 locked dependencies match 12 published advisories in OSV, 3 of them rated high or critical. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version. None of the high or critical ones is in what the product ships: some are pinned to a commit or a branch.

Evidence
composer.lock — twig/twig 3.x-dev: GHSA-7p85-w9px-jpjp (critical); pinned to a commit or a branch, so whether it has the fix needs the dependency's own source
05.65

255 advisories against this project in the last 24 months, 148 high or critical

adequate

The newest was published on 2026-10-05. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. The record is incomplete: NVD: 12 records name grav with nothing tying them to this repository (CVE-2018-5233, CVE-2020-29553, CVE-2020-29555, …).

Evidence
2026-10-05: GHSA-9rq7-4cch-f22j (high), fixed in 2.2.2: Page editor can call arbitrary static methods through a renamed field in a Flex form
2026-10-05: GHSA-8wwq-x3w5-fxmw (moderate), fixed in 2.2.2: Page editor can read protected configuration through form config-*@ directives
2026-10-05: GHSA-8gr9-59p6-r488 (moderate), fixed in 1.7.53.5: Anonymous visitors can bypass the image pixel limit when image URL actions are enabled
2026-10-04: GHSA-8pcm-97fc-4xwh (moderate), fixed in 1.0.42: API plugin: anonymous translation requests grow the cache without limit, and translation sync and batch copy skip page rules
2026-09-26: CVE-2026-100667 (moderate): grav-plugin-login (the Grav CMS Login plugin) versions >= 3.8.7 and < 3.9.7 allow the two-factor authentication challenge to be bypassed for content gated by th

Observability & Operations

not assessable

Not rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on getgrav/grav: every dimension, the questions for the room, and the audit log.

Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.