generalist, developer, ex-designerDamián Búho, generalist, developer, ex-designer — posts, projects, services, and CV.

Damián Búho: generalist, developer, ex-designer

Latest from the blog

About Optimizely issue

Some folks learned about CSP the hard way

2 min read

Malware spread through Optimizely hits 178 organizations, including BBC, CNN, and Zoom

Helme’s team crawled the affected organizations’ websites to see whether a Content Security Policy (CSP) would have stopped the attack. Only 24 organizations, or 15%, had a policy strict enough to block it. Another 68 had no CSP at all. In 50 cases, the policy let the malware run and send stolen data back to the attacker.

If you still don't use Content Security Policy, Subresource Integrity, and other safeguards, you risk ending up in the next headline.

  • Take inventory of your external resources
  • Treat each of them as an attack vector
  • Consider dropping them

Shameless plug: You can also use Report Relay.

It's a free, open-source, on-premises server you can easily integrate with your app to route all kinds of browser violations straight to your observability stack. In other words, your Alertmanager, Grafana, or whatever will notify you when something goes wrong and triggers your defenses. It's pretty fast and will be maintained until a nuclear holocaust.

It requires some effort for the initial integration, but hey, at least you don't have to pay $600+ per year to some SaaS clowns to store your data.

And if you want to be sure you have all the proper headers in place, Spiderlint audits them.


Featured projects

The Projectfile specification describes “projectfile”, a simple hierarchical file about a project. It can be YAML, TOML or JSON. There is a CLI tool that hides formats from you, reads and writes keys and supports includes, interpolation and other interesting stuff.

MaintainedPinned

SystemlintMaintained

  • Systemlint collects facts about a host, a root filesystem or a container image
  • Judges them with declarative rules.
  • Collecting and judging are separate steps, so one saved facts document serves any number of policies.
  • Will apply fixes in one command, when it's safe

SpiderlintMaintained

  • 600+ distinct checks
  • Fact/rule engine: you can override everything and create your own rules declaratively
  • Page-specific and site-specific checks
  • A11Y, SEO, GEO, Lighthouse
  • Validations for every used format
  • Even uncompressed images!
  • Well-known files, TLS, HTTP Headers, Semantic Markup
  • Can and should be self-hosted

Report RelayMaintained

Accepts 16 report formats and sends them to stdout or an OpenTelemetry collector as logs.

  • CAA IODEF incident reports
  • Cross-Origin-Embedder-Policy and Cross-Origin-Opener-Policy reports
  • Browser crash and Deprecation reports
  • Legacy CSP report-uri, HPKP pin validation failure and Expect-CT reports
  • Content Security Policy and Document Policy reports
  • Permissions Policy and Subresource Integrity reports
  • Browser intervention and Network Error Logging reports
  • SMTP TLS reports
MaintainedFeaturedMIT

IgnorelintMaintained

  • Validates 20+ different kinds of ignore files
  • Automatically fixes errors that could be fixed deterministically
  • Informs about dead rules
MaintainedFeaturedMIT

B19 / UbuntuMaintained

B19 is a set of conventions and slightly opinionated tools, with Ubuntu as its foundation and around 100 images built on it. Healthchecks, tests, benchmarks, reports, commands, bootstraps, everything is pre-set and extremely extendable. Perfect for creating in-house manageable image inventories.

MaintainedFeaturedMIT

CustodioWIP, release in Q1'27

Warns you about:

  • natural disasters: fires, floods, volcanos
  • important weather events, UV risks, air quality issues warnings from authorities
  • crashes on markets that can affect you personally
  • holidays, closures, special regimes in your location
  • risks related to crossing borders and travel, expired docs, delayed planes
  • health-related risks: epidemic situation, acclimatization, dehydration, etc
  • crime stats in places where it's available
  • god damn snakes on god damn planes

Risks are recalculated for current geolocation and time, precision and intervals set by user. And you also can calculate in advance for your next destination.

WIP, release in Q1'27FeaturedAGPL-3.0-or-later