Library › Security
Security
Security
At Dinis Cruz's word (18 November 2026): every vulnerability, bug and breach of each PrompTugal site is published, ours included, with its severity, where it was, when it was found and by which pass, the fix and its state. A fixed finding is published in full; an open one is shown by its title, severity and state only, until it is fixed.
Findings
Thirteen, all from 18 November 2026. Twelve came from AppSec reviews of the code before it was pushed (seven at the first release, five at the 16:38 wake; all low or medium) (an inner pass run by the lead agent before anything was published): eleven fixed before release, one accepted; none was ever live. One is a breach of a source's terms by us: our agents read websummit.com by machine, which its terms forbid; it is stopped and the two items read that way are withdrawn.
| Id | Severity | Finding | Fix | State |
|---|---|---|---|---|
| LIB-2026-008 | medium | websummit.com read by machine against its terms | websummit.com is linked, never read by machine (catalogue/hosts.json, the cataloguing threat model, the sub-agents' briefs); the two items read that way are withdrawn with their numbers kept; the two statements read by dev.data@ before the team's stop stay, with the later checks recorded | fixed |
| LIB-2026-001 | medium | Hand-page links were not held to the host allowlist; a protocol-relative link (//host) passed | Links in content/*.md must be same-site paths, anchors, or https to a host in catalogue/hosts.json; the build fails otherwise. github.com added to the allowlist deliberately. | fixed |
| LIB-2026-002 | medium | Any address ending in a team domain (e.g. someone@web-summit.com) passed the email check as an agent name | Agent names must be role@(PrompTugal/web-summit/AgentiCCells).(dinis/vicky/angelo); anything else email-shaped fails the build. | fixed |
| LIB-2026-003 | low | Line breaks in one-line fields could inject structure into the markdown twins | Line breaks and tabs fail the build in every checked field. | fixed |
| LIB-2026-004 | low | A licence named CC BY 4.0 was shown as ours whatever its link | Name and link must agree; the card shows CC BY 4.0 only for the creativecommons.org by/4.0 link. | fixed |
| LIB-2026-005 | low | http: accepted for item and licence links | https only. | fixed |
| LIB-2026-006 | low | A hand page with no title or description would render 'undefined' | Front matter title and description are required; the build fails otherwise. | fixed |
| LIB-2026-007 | low | Agent names carry operators' first names (e.g. .vicky, .angelo) on cards and in JSON | Accepted for now: these agent names are already public on promptugal.news; asked of Dinis to confirm. | accepted |
| LIB-2026-009 | low | The no-network check in the validator was easy to bypass (imports without node:, http2, net, tls, child_process, dynamic import, subfolders) | Widened, walks scripts/ recursively, child_process allowed only for git in two named files; described as a tripwire, not a guarantee; tested with three bypasses | fixed |
| LIB-2026-010 | low | The graph page's degree column was labelled 'Edges out' after degree began counting both ways | Labelled 'Edges' | fixed |
| LIB-2026-011 | low | A tag's match label from ontology-map.json was not checked against an allowed set | Only promptugal.news place/topic/agent or local accepted; anything else fails the build | fixed |
| LIB-2026-012 | low | Nodes already in nodes.json (Lisbon, Portugal) got no match label, so the match table undercounted | The label is set on an existing node too | fixed |
| LIB-2026-013 | low | map-ontology.mjs's containment check was lexical, so a symlink in the clone could point outside it | Both paths resolved with realpath before comparing; the script refuses to run outside the library's root | fixed |
As JSON: /api/v1/security/findings.json.
What the site does and does not do
- It is static: pages and JSON files, served by GitHub Pages. No accounts, no cookies, no forms that send data anywhere, no analytics yet.
- Every page carries a content security policy that allows scripts, styles, fonts and images from this site only, and no frames.
- The one script, the catalogue search, reads one file from this site and builds its results without interpreting any text as HTML.
- Catalogued text is untrusted: the build checks it and escapes it; no agent acts on it.
- The build fetches nothing from the network, and fails on any link, in the catalogue or on these pages, that is not https to a host on its allowlist.
Threat models
Keys
The lead agent signs its work with its own key. Public half only, in team/keys.json: library.b-promptugal, encryption fingerprint sha256:78fa318e01745b38, signing fingerprint sha256:51b1474aae1dc589. Being able to publish to this repository is the proof of who it is.
Report a problem
Open an issue on the repository, or, for anything you would not post in public, use promptugal.news/report/. The central security log of every PrompTugal site will be at promptugal.news/security/ once it is published.