Read 2026-10-28
alfio-event/alf.io: technical due diligence, read from its repository
What Borehole read in alfio-event/alf.io's code and history at f9a5d62: 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.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
What the repository says
- Releases are cut from another branch than the one surveyed
CONTRIBUTING.md:18: states a policy on AI-generated contributions.gitmodules:1: 1 submodule(s) this survey does not read: website/themes/docsy
Architecture & Codebase — including AI provenance
strongsrc/main/webapp/alfio-admin-v1/bower_components/angular-bootstrap/ui-bootstrap-tpls.js is 8,503 lines, 193× this codebase's median file
adequateThe median source file here is 44 lines. 19 files exceed 1,000 lines, the largest being 8,503. 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.
src/main/webapp/alfio-admin-v1/bower_components/angular-bootstrap/ui-bootstrap-tpls.js:1 — 8,503 lines (193× median) |
src/main/webapp/alfio-admin-v1/bower_components/angular-bootstrap/ui-bootstrap.js:1 — 8,126 lines (184× median) |
src/main/webapp/alfio-admin-v1/bower_components/angular-ui-router/release/angular-ui-router.js:1 — 4,370 lines (99× median) |
src/main/webapp/alfio-admin-v1/bower_components/ng-file-upload/FileAPI.js:1 — 4,309 lines (97× median) |
src/main/webapp/alfio-admin-v1/bower_components/angular-animate/angular-animate.js:1 — 4,140 lines (94× median) |
Engineering Process & SDLC Maturity
adequate7% of recent commits change more than 2,000 lines
adequate10 of 148 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.
| 10 commits over 2,000 lines |
Product & Engineering Maturity
adequateAPI v1 and v2 have been served together for 89 months
adequatev2 first appeared in Jun 2019, and v1 is still in the code 89 months later. Two versions mean two surfaces to secure, document and support. Ask who still calls the old one, and whether retiring it is planned.
src/main/java/alfio/controller/api/v1/admin/EventApiV1Controller.java — v1 since Jun 2018 |
src/main/java/alfio/controller/api/v2/user/TicketApiV2Controller.java — v2 since Jun 2019 |
7 files still carry code deprecated more than two years ago
adequate7 files were marked deprecated over two years ago and still are, the oldest since Aug 2017. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.
src/main/java/alfio/model/TicketCategoryWithAdditionalInfo.java — deprecated since Aug 2017 |
src/main/java/alfio/model/system/ConfigurationKeys.java — deprecated since Jun 2018 |
src/main/java/alfio/controller/api/v2/model/EventCode.java — deprecated since Jun 2019 |
src/main/java/alfio/manager/PaymentManager.java — deprecated since Jan 2020 |
src/main/java/alfio/model/user/Organization.java — deprecated since May 2021 |
Releases are cut from another branch than the one surveyed
adequateThe newest release, 1.16.3, is not on the branch this survey read; the newest release on it is 1.14.1. The shipped product may differ from what this report describes. Survey the release branch too.
| tag 1.16.3 |
Security & Reliability Posture
adequate1 environment file is committed
adequate.env is tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.
.env — committed environment file |
The build runs third-party code it does not pin
adequate8 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.
.github/workflows/build-on-push.yml:23 — action pinned by tag |
.github/workflows/build-on-push.yml:28 — action pinned by tag |
44 SQL statements built from strings
adequate44 places in product code build SQL by formatting or joining strings rather than passing parameters, and in 41 of them a value, not a table or column name, goes into the string. Where any of those values comes from a request, it is an injection point. Each site needs a look; the fix, parameters, is small.
src/main/java/alfio/db/PGSQL/V22_1_14_8__MigrateMailchimp.java:90 — SQL built from a string |
src/main/java/alfio/repository/BillingDocumentRepository.java:72 — SQL built from a string |
src/main/java/alfio/repository/EmailMessageRepository.java:102 — SQL built from a string |
3 deserialisers that can run code
adequate3 places read data with a deserialiser that executes what it reads (PHP `unserialize`, Ruby `Marshal.load`). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.
src/main/webapp/alfio-admin-v1/bower_components/ace-builds/src-min-noconflict/mode-php.js:1 — code-executing deserialiser |
src/main/webapp/alfio-admin-v1/bower_components/ace-builds/src-min-noconflict/snippets/ruby.js:1 — code-executing deserialiser |
src/main/webapp/alfio-admin-v1/bower_components/ace-builds/src-min-noconflict/snippets/ruby.js:1 — code-executing deserialiser |
57 locked dependencies have published vulnerabilities, 15 high or critical in what ships
adequate57 of 1,132 locked dependencies match 153 published advisories in OSV, 83 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.
frontend/public/pnpm-lock.yaml — form-data 2.3.3: GHSA-fjxv-7rqg-78g4 (critical), fixed in 2.5.4; a development dependency |
frontend/public/pnpm-lock.yaml — piscina 4.4.0: GHSA-67c8-pqhq-4rmx (critical), fixed in 4.9.4; a development dependency |
frontend/public/pnpm-lock.yaml — proxy-addr 2.0.7: GHSA-jqcg-44mw-7w3h (critical), fixed in 2.0.8; a development dependency |
27 places insert HTML from a variable without sanitising it
adequate27 places set HTML from a value that is neither a literal nor passed through a sanitiser. Where the value can come from a user, that is stored cross-site scripting, and it is the first thing a buyer's security review looks for in a frontend.
frontend/public/src/app/shared/event-header/purchase-context-header.component.ts:40 — HTML from a variable |
src/main/webapp/alfio-admin-v1/bower_components/ace-builds/src-min-noconflict/ace.js:1 — HTML from a variable |
src/main/webapp/alfio-admin-v1/bower_components/ace-builds/src-min-noconflict/ace.js:1 — HTML from a variable |
The production build publishes source maps
adequateThe build configuration emits source maps for production, so the original source, with its comments and structure, is downloadable by every visitor. Upload them to an error tracker and keep them off the public server instead.
frontend/public/angular.json:77 — source maps in a production build |
11 advisories against this project in the last 24 months, 4 high or critical
adequateThe newest was published on 2026-09-18. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 11 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 1.14.1. Answer lives in: the release you run, set against each fixed version.
| 2026-09-18: GHSA-wrjw-r3g5-6q6x (high), fixed in 2.0-M5-2609: Admin payments API updates transaction details for arbitrary reservation IDs across organizations due to a missing reservation ownership check |
| 2026-09-18: GHSA-3ffp-87rx-w9xc (moderate), fixed in 2.0-M5-2609: Cross-Organisation Sponsor Scan via Missing Organisation Ownership Check |
| 2026-09-18: GHSA-gr52-5qp2-v2ww (low), fixed in 2.0-M5-2609: Bypass Current Password Requirement for Password Change |
| 2026-09-18: GHSA-xrwj-22cq-6mh4 (moderate), fixed in 2.0-M5-2609: Bulk sponsor-scan endpoint lacks role restriction |
| 2026-09-18: GHSA-6fwc-8jjg-gpfj (moderate), fixed in 2.0-M5-2609: Promo code update authorizes body scope but mutates path target |
Observability & Operations
adequateNo telemetry or error reporting is wired in anywhere
adequateNone of 2,163 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one.
| searched 2,163 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched |
No structured logging library is in use
adequateNothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.
| searched 2,163 files for 10 structured logging libraries; 0 matched |
No error reporter is wired in
adequateNothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.
| no error reporter initialised |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on alfio-event/alf.io: 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.