Under contract · Zürich · Switzerland

Stefan
Hansen_

Security · AI Research · Engineering

IT-Security is the primary focus here, with adjacent work in AI research and IT infrastructure engineering. Most people keep these disciplines separate, but the through-line is "systems that hold up under pressure". Published here: Mostly links to external sources, some working notes, tools, and the occasional finished thing.

$
[01]   SECURITY

Offensive Security

Web app pentests, AD compromise paths, and the slow patient kind of recon that turns "interesting" into "actionable."

I treat HackTheBox as a sparring gym, not a portfolio. The interesting work happens under NDA, but the rank tracks effort honestly enough. Public tooling and notes live in the security repo below. Only small self-contained tools, no kitchen-sink frameworks.

HackTheBox · Player Card [ HTB#147291 ]
FreestyleDonut Rank · Master
TOP 5%
Level
72
Machines
43/flags
ProLabs
1/labs
Streak
77 weeks
PRO HACKER · 72% → ELITE HACKER
gitlab · /security/tooling ★ 312

A grabbag of small, practical utilities I keep reaching for during HackTheBox challenges: Vulnerability scanners, reporting utilities, Active Directory enumeration glue, and a handful of detection rules.

  • python
  • go
  • recon
  • ad
  • web
$
[02]   AI_RESEARCH

Artificial Intelligence Research.

Most of the field has bet on gradient descent. I work on a broad variety of AI projects as well. This includes projects related with AI, as well as projects where AI took a major role in building.

Since AI is a broad topic, I created my own learning website to understand the basics. The project focuses on lowering the entry barriers in the AI industry and empowering everyone to harness the power of this incredible technology. You can learn more about it on academy.stefan-hansen.com.

FEATURED PAPER · PREPRINT

VOID — a rule-based AI system without tensors.

We introduce VOID, a runtime that performs structured reasoning over typed symbolic terms via guided rewriting and best-first search. On a suite of 14 reasoning benchmarks — planning, constraint satisfaction, and program synthesis — VOID matches or exceeds tensor-based baselines while running entirely on commodity CPUs, with full execution traces.

authorsS. Hansen
arxiv2604.01187
pages22
versionv2 · apr 2026
$
[03]   ENGINEERING

Things made of atoms.

Cloud-hosted infrastructure, the occasional mechanical part, and a steady drip of 3D-printed tooling that keeps the rest of the workshop honest.

I run my own bare-metal kit as well as some cloud machines: A small rack, enterprise-grade networking, and a fully automated cloud environment with full technical SOC2-compliance. The GitLab repo below holds public docker images, build notes, and a few 3D-print examples I'm not embarrassed to share.

01. sha/authentikAuthentik · IAM · OIDC · SAML ACTIVE
02. sha/netbirdNetBird · VPN · Networking ACTIVE
03. sha/wazuhWazuh · Security · Monitoring ACTIVE
04. sha/gitlabCI/CD · pipelines · automation ACTIVE
05. sha/academySome free basic education // SOON
gitlab · /engineering ★ 84

Public engineering repo: STEP/STL files for 3D-printed parts, ansible roles for the homelab, and the build logs that go with them. Heavy on README, light on dependencies.

  • 3d-print
  • cad
  • ansible
  • k3s
  • opnsense
$
[04]   DOWNLOADS

Public artifacts.

A short, curated shelf. One thing from each side of the website, take what's useful.