I have an embarrassing confession to make.
By day, I run an offensive AI lab. I jailbreak large language models, chain prompt injections, build container-escape tooling, and generally spend my time thinking about how systems break. This week, the most impactful thing I shipped was... a calendar. A small, polite calendar that drops down from the macOS menu bar when you click the date.
No CVE was assigned. No shells were popped. The exploit chain was me, three years of accumulated irritation, and a right click that never existed.
Let me explain how we got here, because it's genuinely absurd.
The bug in the default configuration of reality
Every operating system I touch daily, except one, shows you a calendar when you click the clock. Windows: click the clock, get a month view. KDE, GNOME, XFCE, basically every Linux desktop since approximately the Bronze Age: click the clock, get a month view. It's such an obvious interaction that you stop noticing it exists.
macOS: click the clock — get Notification Center. A full-height sidebar whose primary purpose, as far as I can tell, is to tell me there are no new notifications. The date I clicked on? Nowhere. Want to know what day of the week the 23rd falls on? Open Calendar.app, wait for it to load, or do what I did for years: reach for my phone. In the twenty-first century. Sitting in front of a machine with a neural engine.
The reason is architectural, not accidental: since Big Sur, the menu bar clock isn't a clock. It's the button that opens Notification Center. Apple didn't forget the calendar; they sacrificed the clock to become a doorbell for a feature most people open by accident. And because the clock is part of ControlCenter, you can't patch it, replace it, or hide it — it's signed, SIP-protected, and there is officially no switch to remove it. You can add a Calendar widget to Notification Center, which solves the problem the way a spare bedroom solves the lack of a bathroom: technically adjacent, practically annoying.
So the fix has to be a small menu bar app of your own. Fine. I've built worse things at 1 a.m.
Why a red teamer, though
There's a running joke in offensive security that we automate everything except the boring parts of our own lives. I'll happily spend four hours writing a harness that fuzzes a parser, but until recently I was checking dates on my phone like a medieval peasant consulting the village bell tower.
At some point the irony became load-bearing. If I can talk a language model into ignoring its own system prompt, I can probably talk AppKit into showing me December.
Also — and this is the part I actually believe — the mindset transfers. Offensive work teaches you that the official way is just one of the ways. "The clock can't be replaced" is a policy statement, not a physics statement. You don't patch the system binary; you add your own status item, shrink the system clock to a tiny analog icon (defaults write com.apple.menuextra.clock IsAnalog -bool true, you're welcome), and suddenly the UI does what you want. No SIP disabled, no private APIs, no hacks that die on the next update. The cleanest exploit is the one that looks like a feature.
The build: NSStatusItem, NSPopover, EventKit, and three traps
The app is deliberately boring in shape: an NSStatusItem draws the date/time text in the menu bar, an NSPopover anchored to it shows a SwiftUI month grid, and EKEventStore feeds it events from the system calendar (iCloud, Google, Exchange — whatever macOS already syncs). Days with events get dots, clicking a day lists its events, and a + button adds new ones straight into the default calendar. The whole thing is a few hundred lines of Swift with zero dependencies, MIT-licensed, and it builds with Command Line Tools alone — no Xcode required.
That last part is where the traps were, because I built this on the freshly released macOS 27 SDK, and Apple had laid some fresh rakes in the grass.
Trap one: @State is a macro now, and the macro's plugin is missing. On the macOS 26+ SDKs, @State is no longer a classic property wrapper — it's an accessor macro (SwiftUIMacros.StateMacro). The macro plugin doesn't ship with Command Line Tools, so innocent assignments to @State variables fail with "cannot assign to property: 'self' is immutable" in places where SwiftUI code has worked for years. The workaround is to do what we probably should have been doing anyway: keep state in an ObservableObject with @Published properties (still property wrappers, still fine) and inject it into the view.
Trap two: the menu bar manages itself now. Newer macOS versions automatically hide status items that don't fit — especially on notched MacBooks — behind a system « chevron, and they repack items on relaunch. There's no public API for status item order, but NSStatusItem.autosaveName persists whatever position the user set with a ⌘-drag. That's the whole trick: users place the app where they want it once, and it survives reboots.
Trap three: TCC judges the parent, not just the child. While testing the EventKit write path from a terminal, I kept getting denied from requestFullAccessToEvents — even though the same binary, launched via Finder, had full calendar access. Turns out macOS privacy checks attribute a CLI-launched process to its responsible parent (your terminal), which has no calendar permission. The fix for automated testing: launch the bundle through LaunchServices (open app --args --ek-write-test) so it gets its own TCC identity, and have the self-test write results to a file since open doesn't return stdout.
Bonus mini-trap, for completeness: ForEach(weekdaySymbols, id: \.self) silently drops duplicate letters — weekday initials repeat (T for Tuesday/Thursday, S for Saturday/Sunday), so my header row was missing cells until I switched to enumerated() with an index-based id.
None of this is rocket science. That's the point. The most useful code I've written this quarter is aggressively ordinary — and it had to be, because the goal was to disappear into the workflow, not to impress anyone.
What it does now
- Click the date in the menu bar → compact month popover, today highlighted.
- Dots under days that have events; click a day to see them with their calendar colors.
-
+adds an event (title, all-day toggle, start/end) straight into your default calendar — writing via EventKit requires no extra permissions beyond the same "full access" prompt. - Month navigation,
Todaybutton, monospaced menu bar digits, no Dock icon. - Position-persistent: ⌘-drag it anywhere in the menu bar, it stays there across reboots.
- Ships with a hand-drawn programmatic icon (no, really — the icon is generated by a Python script, because I trust
PILmore than I trust myself in Figma at 1 a.m.).
I built it in one evening together with an AI pair-programmer — which, given my day job, is either collaboration or reconnaissance, depending on how you look at it. The AI also wrote most of the commit messages, and I reviewed them the same way I review everything: by reading the diff.
The moral
Somewhere between "we can jailbreak frontier models" and "I need to know if the 23rd is a Tuesday" lies a useful lesson: the friction you tolerate daily is just a vulnerability you haven't assigned yourself to yet. The barrier to fixing it is usually not skill — it's the assumption that someone else should have fixed it by now.
It's 2026. macOS still doesn't show a calendar when you click the clock. So now there's Fasti — named after the calendar registers of ancient Rome, because apparently calendar UX has been a solved problem for about two thousand years, and my laptop simply didn't get the memo.
The code is MIT-licensed, builds in a minute, and the release zip is a 250 KB download. If you're on a Mac and you've ever reached for your phone to check a date, this one's for you.
Repository: github.com/toxy4ny/fasti
Latest release (Apple Silicon, macOS 14+): github.com/toxy4ny/fasti/releases
Issues, PRs, and strongly worded opinions about menu bar etiquette are all welcome.
