<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dhruv Malaviya</title>
    <description>The latest articles on DEV Community by Dhruv Malaviya (@dhruonweb).</description>
    <link>https://dev.to/dhruonweb</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3964043%2Fdf5eaffb-4a72-4192-97c9-e06ca85c2406.JPG</url>
      <title>DEV Community: Dhruv Malaviya</title>
      <link>https://dev.to/dhruonweb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dhruonweb"/>
    <language>en</language>
    <item>
      <title>I Gave an AI Agent Its Own Computer for 30 Days. Here's Everything It Did.</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Wed, 25 Nov 2026 08:56:19 +0000</pubDate>
      <link>https://dev.to/dhruonweb/i-gave-an-ai-agent-its-own-computer-for-30-days-heres-everything-it-did-7bl</link>
      <guid>https://dev.to/dhruonweb/i-gave-an-ai-agent-its-own-computer-for-30-days-heres-everything-it-did-7bl</guid>
      <description>&lt;p&gt;Root privileges, own kernel, no public IP, scoped key, deleted on day 30. A diary of what an AI coding agent did with a machine that was entirely its own — the database it broke and fixed, the email wall it hit, the disk it filled, and the NOTES.md better than any doc a human ever wrote me.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three rules before root&lt;/strong&gt;&lt;br&gt;
Root sounds reckless until you look at where it lives:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Its own box — blast radius is one disposable machine: own kernel, no public IP, default-deny inbound.&lt;/li&gt;
&lt;li&gt;Its own key — scoped to a single space; worst case is one project's infra, not the company.&lt;/li&gt;
&lt;li&gt;Deleted at the end — day 30 the box dies; anything worth keeping leaves as a snapshot or a file first.
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;krova cubes create \
  --name agent-1 \
  --image ubuntu-24.04 \
  --ssh-key &lt;span class="s2"&gt;"$(cat ~/.ssh/id_ed25519.pub)"&lt;/span&gt; \
  --vcpu 2 --ram 4 --disk 40 \
  --idle-timeout 60

krova snapshots create agent-1 --name day-zero
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;That --idle-timeout 60 ended up being a main character. See Day 14.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The diary&lt;/strong&gt;&lt;br&gt;
Day 1 — It moved in. First act wasn't my assigned task. It wrote a README about its own machine: CPU, RAM, disk, tooling, and a note to itself about where project files would live. Unprompted. Nesting behavior.&lt;/p&gt;

&lt;p&gt;Day 4 — Broke the database, fixed it before I noticed. A migration test left Postgres refusing connections. The agent pulled logs, restarted the service, restored from a pg_dump it had taken that morning on its own initiative. Nine minutes of downtime; I found out from the daily summary. With an apology.&lt;/p&gt;

&lt;p&gt;Day 9 — Tried to email me. The platform said no. Outbound port 25 is blocked on every Cube — hosts share one outbound address, and one spammer would get it blocklisted for everyone. Twenty minutes diagnosing a timeout, then this line in its notes: "outbound mail is structurally impossible from this machine." It switched to status files I collected with krova cp. Hit a wall, adapted, documented the wall.&lt;/p&gt;

&lt;p&gt;Day 14 — Discovered its lease. Sixty minutes with no terminal, no SSH, low CPU → the Cube powers itself off, bills disk-only until woken, and fires a cube.stopped webhook plus a space email as the receipt. The agent couldn't wake it from inside — a powered-off box runs nothing — so my scheduler ran krova cubes wake agent-1 each morning. Its notes: "My computer sleeps when I'm not using it. Efficient. Slightly rude."&lt;/p&gt;

&lt;p&gt;Day 21 — Filled the disk. Forty-plus experiment rounds of Docker images ate all 40 GB. The app died loudly; the agent pruned &lt;br&gt;
what it could, and I ran:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;krova cubes resize agent-1 --disk 80   &lt;span class="c"&gt;# disk only grows — the correct direction for mistakes&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Lesson: an agent doesn't feel scarcity unless you make scarcity visible.&lt;/p&gt;

&lt;p&gt;Day 27 — Wrote the best documentation I've ever received. Unprompted, it maintained NOTES.md all month: every tool installed and why, every failed command, every workaround, every wall.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;krova cp -r agent-1:/home/ubuntu/NOTES.md ./
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Most useful artifact of the entire experiment. No human teammate has ever documented a month like that for me.&lt;/p&gt;

&lt;p&gt;Day 30 — Deletion day. Final snapshot into backups (backups outlive the Cube), notes downloaded, then:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;krova cubes delete agent-1   &lt;span class="c"&gt;# asks [y/N] — deleting is forever&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I typed y. Thirty days of state gone in seconds, billing stopped the same minute.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it cost&lt;/strong&gt;&lt;br&gt;
Less than a team lunch. Metered by the minute; the idle timeout slept the box through every night and weekend (stopped Cubes pay disk only); the disk-fill days show up as exactly two hot days on the bill. Every experiment had a readable price tag — which is why I approved so many.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I learned giving an agent root&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Isolation is what makes "yes" possible. On my laptop every request gets "carefully." On its own box it gets "go." Work quality went up as blast radius went down.&lt;/li&gt;
&lt;li&gt;The computer became its memory. Agents forget between sessions; the box didn't. Persistence was the actual product.&lt;/li&gt;
&lt;li&gt;The walls did their job. Blocked port 25, no self-wake, no public IP — every wall forced a documented adaptation instead of a silent disaster.&lt;/li&gt;
&lt;li&gt;The leash length is the decision. Root isn't brave or foolish here — it's scoped. How long the leash is stays an operations call, made on purpose.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;br&gt;
Tenant, not owner. Waking the box, growing the disk, ending the experiment — all me. It ran the machine; I ran the lease.&lt;br&gt;
Adaptations aren't free. Twenty minutes on a blocked port is twenty minutes off the task.&lt;br&gt;
Disposable root is still root. Scoped key + isolation made this sane. Skip either and the story ends differently.&lt;br&gt;
If you gave an agent its own computer for thirty days, what's the first thing it would break — and what would you want left in the notes file when the box got deleted? Mine kept notes better than I keep journals.&lt;/p&gt;

&lt;p&gt;I'm Dhruv Malaviya, CEO of &lt;a href="https://krova.cloud/" rel="noopener noreferrer"&gt;Krova Cloud&lt;/a&gt;, &lt;a href="https://shoptimity.com/" rel="noopener noreferrer"&gt;Shoptimity&lt;/a&gt; &amp;amp; &lt;a href="https://draftrank.app/" rel="noopener noreferrer"&gt;DraftRank&lt;/a&gt;: Cubes hand over to agents through &lt;a class="mentioned-user" href="https://dev.to/krovacloud"&gt;@krovacloud&lt;/a&gt;/mcp or the Python SDK — LangChain, CrewAI, or the OpenAI Agents SDK — so a model manages its own machine in natural language. Handing an agent root is still you deciding the scope of that root; the leash length is an operations decision, not a platform feature.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>discuss</category>
      <category>programming</category>
    </item>
    <item>
      <title>The Most Overprivileged Account in Our Company Is Mine.</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Tue, 17 Nov 2026 05:32:04 +0000</pubDate>
      <link>https://dev.to/dhruonweb/the-most-overprivileged-account-in-our-company-is-mine-3h6n</link>
      <guid>https://dev.to/dhruonweb/the-most-overprivileged-account-in-our-company-is-mine-3h6n</guid>
      <description>&lt;p&gt;Our own access review's top row was me, since March 2023, reason column blank. Privilege creep is incident sediment — here's the sudo -l career audit, the break-glass script with a witness and a sunset, the privilege diary, and the witnessed self-review.&lt;/p&gt;

&lt;p&gt;The question came from our own access review: list every identity with standing production admin. The sheet came back short, which felt like success, until I read the top row.&lt;/p&gt;

&lt;p&gt;Me. Since March 2023. Reason column: blank.&lt;/p&gt;

&lt;p&gt;I remembered the weekend instantly — the incident, the 2 a.m. scramble, "just grant me admin for now, we'll clean up after." We cleaned up after. Everyone else got revoked at the Monday postmortem; me I forgot, because revoking yourself feels like locking your keys inside the house. For three years, the most overprivileged account in the company was the one writing the security posts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Privilege creep is incident sediment&lt;/strong&gt;&lt;br&gt;
Every emergency deposits a layer of access on the people who show up. The incident grants admin; the migration grants DB owner; the stuck pipeline grants CI admin "to rerun one job"; the domain move grants the DNS seat. Each grant is correct at the moment it's made — that's what makes it dangerous. Correctness at grant time is not correctness at rest.&lt;/p&gt;

&lt;p&gt;And the access review skips one employee by construction: the reviewer. I reviewed teams, contractors, bots. I never looked for my own name, because my own access felt like equipment, not privilege.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The career audit (sudo -l, but for your life)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# machine-level: what does my everyday account actually hold?&lt;/span&gt;
sudo -l                     &lt;span class="c"&gt;# sudoers, expanded — the fossil record&lt;/span&gt;
id                          &lt;span class="c"&gt;# groups = invisible privilege nobody reviews&lt;/span&gt;
ls -la ~/.ssh/ &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; cat ~/.ssh/config   &lt;span class="c"&gt;# keys + habitual hops&lt;/span&gt;

&lt;span class="c"&gt;# cloud-level: which contexts exist, and what am I right now?&lt;/span&gt;
krova context list          &lt;span class="c"&gt;# every saved scope I ever created&lt;/span&gt;
krova whoami                &lt;span class="c"&gt;# current context, space, key — the mirror&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then the SaaS layer, by hand: billing seats, DNS providers, CI admin, registry orgs — every "granted for one thing" seat, cross-referenced against incidents. My list: prod admin (2023 incident, used four times since), billing admin ("check one invoice," 2024), the DNS wheel from a migration I don't touch quarterly, CI admin for one rerun eighteen months ago, and root on a box that "was staging back then."&lt;/p&gt;

&lt;p&gt;Five standing elevations. One surviving justification. Four fossils of Fridays.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Break-glass with a witness and a sunset&lt;/strong&gt;&lt;br&gt;
My everyday account reads, deploys, debugs. Destructive actions live behind an elevation I fetch deliberately:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;
&lt;span class="c"&gt;# break-glass.sh &amp;lt;reason&amp;gt; — speed with a witness, not speed with amnesia&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt; -euo pipefail
&lt;span class="nv"&gt;TICKET&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$(&lt;/span&gt;itsm create &lt;span class="s2"&gt;"break-glass: $1"&lt;/span&gt; --priority sev3&lt;span class="o"&gt;)&lt;/span&gt;
page oncall &lt;span class="s2"&gt;"break-glass opened by $USER — $TICKET"&lt;/span&gt;     &lt;span class="c"&gt;# use is loud, always&lt;/span&gt;
krova auth login --api-key &lt;span class="s2"&gt;"$(vault kv get -field=key sec/glass)"&lt;/span&gt; \
  --context glass                                        &lt;span class="c"&gt;# destructive scope, fetched not worn&lt;/span&gt;
&lt;span class="o"&gt;(&lt;/span&gt; sleep 4h &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; krova context delete glass \
  &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; itsm close &lt;span class="s2"&gt;"$TICKET"&lt;/span&gt; &lt;span class="s2"&gt;"auto-sunset"&lt;/span&gt; &lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;              &lt;span class="c"&gt;# the glass closes itself&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A ceremony you can't skip is the only ceremony that works at 2 a.m. — because it's the system doing the remembering, not you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The privilege diary + witnessed review&lt;/strong&gt;&lt;br&gt;
Every standing right I keep gets one row, reviewed quarterly out loud, with a second human in the room:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;| right            | opens          | why standing        | incident that justifies again |
|------------------|----------------|---------------------|-------------------------------|
| on-call prod ro  | dashboards, ssh| rotation needs 3am  | any sev1                      |
| billing read     | invoices       | finance asks weekly | none — revoke candidate       |
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Solo self-review is a mirror; witnessed self-review is an audit. A right that can't write its own biography gets revoked. And project ends revoke their seats in the same sitting — graveyard rules, people-shaped: when a project dies, its grants die with it.&lt;/p&gt;

&lt;p&gt;On the platform side, the friction is architectural: my everyday Krova context is scoped to create, wake, and SSH; destructive operations need the glass key above. Keys are scoped per space with idempotency on mutations, so even automation runs on a leash. The architecture enforces the habit my memory never could.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Break-glass has a real cost mid-incident. When everything is on fire, a ceremony is seconds you don't have — which is why the glass pages instead of blocking.&lt;/li&gt;
&lt;li&gt;Some standing access is honest. On-call needs keys at 3 a.m.; pretending otherwise writes checks the incident will cash. The goal isn't zero privilege — it's explained privilege, every line with a biography.&lt;/li&gt;
&lt;li&gt;This isn't confession as marketing. Your sheet has the same top row, wearing your name, with a blank reason column. That's the point of publishing mine.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Audit the auditor&lt;/strong&gt;&lt;br&gt;
Privilege doesn't creep because people are careless; it creeps because emergencies are generous, memories are short, and the one account nobody schedules for review is the one holding the review.&lt;/p&gt;

&lt;p&gt;Go run sudo -l on your own career. Not the team's — yours. Count how many biographies come back empty. Mine was four out of five; the fifth was the incident I'm still cleaning up after: this one.&lt;/p&gt;

&lt;p&gt;Confession booth: what's your oldest standing elevation, and which bad weekend born it? Ours includes a billing seat for an invoice nobody can find and a DNS wheel I haven't touched in quarters. Comments open; the mirror is facing you.&lt;/p&gt;

&lt;p&gt;I'm Dhruv Malaviya, CEO of Krova Cloud, Shoptimity &amp;amp; DraftRank: API keys are scoped per space with idempotency on mutations, so automation acts without standing crown-jewel credentials. A scoped key still opens exactly what it opens — scoping is a leash, not a conscience.&lt;/p&gt;

</description>
      <category>career</category>
      <category>security</category>
      <category>devops</category>
      <category>cybersecurity</category>
    </item>
    <item>
      <title>I Audited the Company Shared Drive. The 2019 Password Sheet Still Worked.</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Fri, 13 Nov 2026 12:08:31 +0000</pubDate>
      <link>https://dev.to/dhruonweb/i-audited-the-company-shared-drive-the-2019-password-sheet-still-worked-4mea</link>
      <guid>https://dev.to/dhruonweb/i-audited-the-company-shared-drive-the-2019-password-sheet-still-worked-4mea</guid>
      <description>&lt;p&gt;A five-minute favor became an afternoon: Passwords-2019.xlsx with live credentials, a 43-editor customer CSV, a link-shared terminal screenshot, a DB dump in tmp-exports. The sweep queries, the Apps Script sharing audit, the purge day, and the swamp-drainage pattern.&lt;/p&gt;

&lt;p&gt;It started as a five-minute favor: a new hire asked where "the customer list" lives, and I said "oh, somewhere in the Drive," because that's what everyone says. The five minutes became an afternoon.&lt;/p&gt;

&lt;p&gt;Hit one: Passwords-2019.xlsx — half of them still worked, including one for a service we still pay for. Hit two: a folder with forty-three editors holding a customer export CSV from "that one campaign" in 2022. Hit three: an onboarding doc shared with anyone with the link since creation, containing a terminal screenshot. With an API key. In the screenshot. Hit four: a database dump in tmp-exports, because of course. Hit five: scanned contractor contracts — signatures, home addresses, ID numbers — in searchable PDFs.&lt;/p&gt;

&lt;p&gt;We run access reviews. We tier production. We argue about intern scopes. And the broadest, least-reviewed datastore in the company had a friendly icon and infinite storage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Drive is where data goes to escape controls&lt;/strong&gt;&lt;br&gt;
The shared Drive isn't a filing cabinet; it's a shadow production database — where copies go to live outside every control we built:&lt;/p&gt;

&lt;p&gt;Exports are production data minus production controls. The moment a query becomes a sheet, access logging, row permissions, retention, and deletion paths stay behind. The vault's rules don't follow data out the door.&lt;br&gt;
"Anyone with the link" is standing access with no roster. A permission you can't enumerate, living in chats, emails, and the bookmarks of people who left.&lt;br&gt;
Version history is a time machine for secrets. Clear the password from the sheet and it's still in v3, v7, and the "cleaned" copy someone made. In Drive, deletion is a view, not an event.&lt;br&gt;
Orphaned folders outlive their owners. Creator left in 2023; the folder kept its sharing, its editors, its exports. Nobody owns it, so everybody can read it and nobody can answer for it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The sweep&lt;/strong&gt;&lt;br&gt;
Search operators first — run these and write down the counts:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fullText contains 'password'
fullText contains 'api key'
name contains 'export'
name contains 'customer'
name contains 'final'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then the sharing audit, as Apps Script (paste into script.google.com, run, weep):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// every file reachable by "anyone with the link"&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;DriveApp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;searchFiles&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'visibility = "anyoneWithLink"'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;it&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;hasNext&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;next&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nc"&gt;Logger&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`${f.getLastUpdated().toISOString().slice(0,10)}\t${f.getName()}\t${f.getUrl()}`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="c1"&gt;// and the orphan check: files whose owner is inactive&lt;/span&gt;
&lt;span class="c1"&gt;// (cross-reference owners against your HR roster; the delta is your sediment)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The counts are your real access review. Ours were three digits, and the anyoneWithLink list included the terminal screenshot.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What changed&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Export amnesty, then a purge day. One month to declare exports, no blame; after the deadline, the sweep deletes what nobody claimed. Amnesty first — fear is what created the hidden copies.&lt;/li&gt;
&lt;li&gt;Link-sharing off by default; external shares get expirations. Sharing still exists; now it has a roster and a sunset (Drive permissions support expirationTime — use it).&lt;/li&gt;
&lt;li&gt;Customer data lives in systems with access models. The Drive holds references, not rows: dashboard links, ticket numbers, query names.&lt;/li&gt;
&lt;li&gt;Data work happens where the data lives. The habit that made the rest stick: analysts spin an ephemeral Cube on Krova Cloud, seeded with a scrubbed dataset at boot, analyze inside it, delete it after:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;CUBE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"analysis-$(date +%F)"&lt;/span&gt;
krova cubes create &lt;span class="s2"&gt;"$CUBE"&lt;/span&gt; --cpu 2 --ram 4 --disk 40 --image ubuntu-24.04 \
  --user-data &lt;span class="s2"&gt;"$(cat seed-scrubbed.yml)"&lt;/span&gt;     &lt;span class="c"&gt;# scrubbed dump in, live rows never out&lt;/span&gt;
&lt;span class="c"&gt;# ... analysis happens inside ...&lt;/span&gt;
krova cubes delete &lt;span class="s2"&gt;"$CUBE"&lt;/span&gt;                   &lt;span class="c"&gt;# the sheet that lives forever never gets created&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The safe path became the fast path, and the swamp stopped rising.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Every shared folder gets an owner; offboarding transfers ownership. Orphaned folders are how sharing outlives employment.&lt;/li&gt;
&lt;li&gt;The password sheet died properly. Not cleared — deleted, revisions and all, after the last live credential moved to the password manager. Cleaning a Drive file leaves the mess in its past; only the funeral works.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;br&gt;
The Drive is the company's memory. Don't burn it. The swamp water is bad; the land is fertile. The goal is a Drive that holds thinking instead of data.&lt;br&gt;
Some exports are load-bearing. Finance's monthly sheet is a business process wearing a CSV — migrate it to a scheduled pipeline with an access model, don't just delete it.&lt;br&gt;
Perfection is impossible; tiering is not. Contracts get the strictest shelf; brainstorm docs get freedom. Uniform strictness just teaches people to work around it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your Drive is a database without a bouncer&lt;/strong&gt;&lt;br&gt;
No uptime SLA, no access log, no owner — just a search box, infinite storage, and everyone's best intentions since 2019. Go type password into it. Then export. Then customer. Then final. Count what comes back; that number has been waiting since the day someone clicked "share."&lt;/p&gt;

&lt;p&gt;Confession booth: what did your Drive search surface — the living password sheet, the link-shared terminal screenshot, final_final_v2? Ours had all three plus a scanned-ID folder I still think about. Comments open; the swamp is listening.&lt;/p&gt;

&lt;p&gt;I'm Dhruv Malaviya (dhruonweb) , CEO of &lt;a href="https://krova.cloud/" rel="noopener noreferrer"&gt;Krova Cloud&lt;/a&gt;, &lt;a href="https://shoptimity.com/" rel="noopener noreferrer"&gt;Shoptimity&lt;/a&gt; &amp;amp; &lt;a href="https://draftrank.app/" rel="noopener noreferrer"&gt;DraftRank&lt;/a&gt;: snapshots roll a disk back in minutes and Backups outlive the Cube they came from, so recovery is a verb you can schedule. A restore you've never rehearsed is folklore: the platform supplies the undo, you supply the drill.&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>datasecurity</category>
      <category>cybersecurity</category>
    </item>
    <item>
      <title>Nine Keys Can SSH Into Production. Five Owners Don't Work Here Anymore.</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Tue, 03 Nov 2026 12:20:41 +0000</pubDate>
      <link>https://dev.to/dhruonweb/nine-keys-can-ssh-into-production-five-owners-dont-work-here-anymore-88g</link>
      <guid>https://dev.to/dhruonweb/nine-keys-can-ssh-into-production-five-owners-dont-work-here-anymore-88g</guid>
      <description>&lt;p&gt;I cat'd authorized_keys on our oldest box for a boring reason and kept reading: the 2023 contractor, a dead CI pipeline, two ex-engineers, an 'ops-temp' nobody can attribute. The sweep, the smoke alarm, the one-week evidence trick, and keys-that-expire culture.&lt;/p&gt;

&lt;p&gt;I opened the file for a boring reason — a connectivity weirdness — and then just kept reading. ~/.ssh/authorized_keys on our oldest production box: nine lines, nine doors.&lt;/p&gt;

&lt;p&gt;Matching comments to memory: the 2023 migration contractor (still there), the CI pipeline decommissioned last spring (still there), two engineers who left — one warmly, one not (still there), a key commented ops-temp that nobody including our ops lead can attribute to a human, and one line with no comment at all, which is its own small horror genre.&lt;/p&gt;

&lt;p&gt;Four keys belonged to current humans who still needed access. Five were sediment. The door remembered everyone, because nobody had ever asked it to forget.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;authorized_keys is an attendance sheet&lt;/strong&gt;&lt;br&gt;
The oldest access-control file in our profession is a plain-text list on disk: appended to for a decade, reviewed never. Every line was added on someone's worst day — incident, deadline, "just for tonight, add my key." Keys arrive during emergencies; emergencies don't do cleanup; departures miss the file entirely, because it isn't in any system. It's wallpaper. And unlike a password, a key never expires out of embarrassment — it waits for its laptop to be sold, lost, or inherited.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The sweep&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;
&lt;span class="c"&gt;# keys-audit.sh — every authorized_keys on every box, with its "who/why" comments&lt;/span&gt;
&lt;span class="k"&gt;for &lt;/span&gt;host &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;cat &lt;/span&gt;hosts.txt&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do
  &lt;/span&gt;ssh &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$host&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="s1"&gt;'for f in /root/.ssh/authorized_keys /home/*/.ssh/authorized_keys; do
    [ -f "$f" ] &amp;amp;&amp;amp; {
      echo "== $HOSTNAME $f — $(grep -cvE "^[[:space:]]*$|^[[:space:]]*#" "$f") keys"
      grep -vE "^[[:space:]]*$|^[[:space:]]*#" "$f" | awk "{print \"   \", \$NF}"
    }; done'&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt; | &lt;span class="nb"&gt;tee &lt;/span&gt;keys-audit.txt
&lt;span class="c"&gt;# then the human step: diff the comment column against the current roster.&lt;/span&gt;
&lt;span class="c"&gt;# every line that doesn't match a living owner is sediment.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Ours diffed to five. Yours will too; that number is your real access list.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The four changes that stuck&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Keys got names and reasons. One comment format, enforced at add-time:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;cat &lt;/span&gt;ana.pub&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt; ana@laptop — incident-4821 — 2026-11-03"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  | &lt;span class="nb"&gt;sudo tee&lt;/span&gt; &lt;span class="nt"&gt;-a&lt;/span&gt; /home/ubuntu/.ssh/authorized_keys
&lt;span class="c"&gt;# a key that can't state its reason in six words doesn't get added.&lt;/span&gt;
&lt;span class="c"&gt;# 'ops-temp' failed this test immediately and was deleted with a small ceremony.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Offboarding gained a server step. Badge, laptop, SSO — and this, on every box:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rn&lt;/span&gt; &lt;span class="s1"&gt;'ana@'&lt;/span&gt; /root/.ssh/authorized_keys /home/&lt;span class="k"&gt;*&lt;/span&gt;/.ssh/authorized_keys
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The step exists because the 2023 contractor taught us it doesn't happen by osmosis.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The file got a smoke alarm. Any change pages someone — not blocks, pages; additions are sometimes legitimate at 2 a.m., silent additions never are:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# auditd: watch writes and attributes to authorized_keys on every box&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;'-w /root/.ssh/authorized_keys -p wa -k ssh_sediment'&lt;/span&gt; | &lt;span class="nb"&gt;sudo tee&lt;/span&gt; /etc/audit/rules.d/ssh.rules
&lt;span class="nb"&gt;sudo &lt;/span&gt;augenrules &lt;span class="nt"&gt;--load&lt;/span&gt;
&lt;span class="c"&gt;# wire the audit event to your pager; our worst file became our best-monitored one&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Deletion ran on evidence, not folklore. We almost kept the unattributed key "in case something depends on it." Instead: a week of fingerprints.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo sed&lt;/span&gt; &lt;span class="nt"&gt;-i&lt;/span&gt; &lt;span class="s1"&gt;'s/^#LogLevel INFO/LogLevel VERBOSE/'&lt;/span&gt; /etc/ssh/sshd_config &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl reload ssh
&lt;span class="c"&gt;# after a week — which fingerprints actually authenticated?&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;journalctl &lt;span class="nt"&gt;-u&lt;/span&gt; ssh &lt;span class="nt"&gt;--since&lt;/span&gt; &lt;span class="s2"&gt;"-7 days"&lt;/span&gt; | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-oE&lt;/span&gt; &lt;span class="s1"&gt;'SHA256:[A-Za-z0-9+/=]+'&lt;/span&gt; | &lt;span class="nb"&gt;sort&lt;/span&gt; | &lt;span class="nb"&gt;uniq&lt;/span&gt; &lt;span class="nt"&gt;-c&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; used.txt
&lt;span class="c"&gt;# and per line in the file — which keys never appeared in used.txt?&lt;/span&gt;
&lt;span class="nb"&gt;awk&lt;/span&gt; &lt;span class="s1"&gt;'{print $1" "$2}'&lt;/span&gt; /root/.ssh/authorized_keys | &lt;span class="k"&gt;while &lt;/span&gt;&lt;span class="nb"&gt;read&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; t k&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do
  &lt;/span&gt;&lt;span class="nv"&gt;fp&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$t&lt;/span&gt;&lt;span class="s2"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$k&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; | ssh-keygen &lt;span class="nt"&gt;-lf&lt;/span&gt; - 2&amp;gt;/dev/null | &lt;span class="nb"&gt;awk&lt;/span&gt; &lt;span class="s1"&gt;'{print $2}'&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;
  &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-q&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$fp&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; used.txt &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"UNUSED ALL WEEK: &lt;/span&gt;&lt;span class="nv"&gt;$fp&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Nothing used it. Measure before you mourn.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;New boxes start at one&lt;/strong&gt;&lt;br&gt;
The habit stuck because new machines made it easy: on the Cubes we run at Krova Cloud, a box boots with exactly one key — the one handed at creation — and root login is off by default. Additions become a decision you make, not sediment you inherit. Humans increasingly skip static keys entirely: short-lived certs through a bastion for people, per-pipeline keys rotated with the pipeline for robots. Zero sediment, not zero keys.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Static keys aren't a sin. Plenty of honest estates run them fine because they run the reviews. The sin is the unreviewed list, not the mechanism.&lt;/li&gt;
&lt;li&gt;Ceremony has a cost. Certs and bastions add moving parts and one more thing to fail during the incident that justified the shortcut. We tiered: short-lived access on sensitive boxes, named-and-alarmed keys elsewhere. Perfection is a budget line, not a value.&lt;/li&gt;
&lt;li&gt;The alarm will page you once legitimately, at 2 a.m., during a real incident. Thank it. That page is the system proving it can still tell the difference.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The door remembers. You don't have to.&lt;/strong&gt;&lt;br&gt;
Go cat the file — the actual one, on the actual oldest box, right now. Count the lines; count the owners who are gone. Ours was nine and five. We deleted four, adopted one (the CI key got a name, a rotation, and an apology), and the ninth — the comment-less line — turned out to be me, from a forgotten 2022 incident.&lt;/p&gt;

&lt;p&gt;The door remembered me too.&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>cybersecurity</category>
      <category>programming</category>
    </item>
    <item>
      <title>It's Halloween, So Here's My Field Guide to the Monsters Already Living in Your Stack</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Sat, 31 Oct 2026 05:47:03 +0000</pubDate>
      <link>https://dev.to/dhruonweb/its-halloween-so-heres-my-field-guide-to-the-monsters-already-living-in-your-stack-5o6</link>
      <guid>https://dev.to/dhruonweb/its-halloween-so-heres-my-field-guide-to-the-monsters-already-living-in-your-stack-5o6</guid>
      <description>&lt;p&gt;Seven creatures, one per audit: the Zombie process, the Ghost cron, the Trojan paste, the Spider at the door, the Gremlin in CI, the Kraken in the schema, and the Daemon you should adopt. Each with its habitat, its detection one-liner, and its banishment.&lt;/p&gt;

&lt;p&gt;Every infrastructure has a bestiary. Nobody writes it down, which is why the monsters keep winning. Mine got catalogued one audit at a time over a year of confessions on this blog — seven distinct creatures, every one still living in somebody's production right now. It's Halloween, so: name them, detect them, banish them. Or adopt them, in one case. Field guides are honest about which animals are pets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Zombie 🧟&lt;/strong&gt;&lt;br&gt;
Died once, kept walking. Deprecated services still serving, restart loops older than the intern who "fixed" them.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# dead-but-walking in the process table&lt;/span&gt;
ps &lt;span class="nt"&gt;-eo&lt;/span&gt; pid,ppid,stat,comm | &lt;span class="nb"&gt;awk&lt;/span&gt; &lt;span class="s1"&gt;'$3 ~ /^Z/'&lt;/span&gt;
&lt;span class="c"&gt;# and the container flavor: restart loops&lt;/span&gt;
docker ps &lt;span class="nt"&gt;-a&lt;/span&gt; &lt;span class="nt"&gt;--format&lt;/span&gt; &lt;span class="s1"&gt;'{{.Names}}\t{{.Status}}'&lt;/span&gt; | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-iE&lt;/span&gt; &lt;span class="s1"&gt;'restart|back-off'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Banish: graveyard rules — kill it fully (process, DNS, keys, CI variables) or adopt it with an owner. Half-killed zombies are how sequels happen.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Ghost 👻&lt;/strong&gt;&lt;br&gt;
The spirit of a departed colleague, still doing their job. Ours ran at 3:07 AM and reconciled invoices.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="k"&gt;for &lt;/span&gt;u &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;cut&lt;/span&gt; &lt;span class="nt"&gt;-d&lt;/span&gt;: &lt;span class="nt"&gt;-f1&lt;/span&gt; /etc/passwd&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do
  &lt;/span&gt;crontab &lt;span class="nt"&gt;-l&lt;/span&gt; &lt;span class="nt"&gt;-u&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$u&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; 2&amp;gt;/dev/null | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-vE&lt;/span&gt; &lt;span class="s1"&gt;'^\s*#|^\s*$'&lt;/span&gt; | &lt;span class="nb"&gt;sed&lt;/span&gt; &lt;span class="s2"&gt;"s/^/&lt;/span&gt;&lt;span class="nv"&gt;$u&lt;/span&gt;&lt;span class="s2"&gt;: /"&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt;   &lt;span class="c"&gt;# every line that can't name an owner, on purpose, is a ghost&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Banish: the séance — owner, purpose, loud failure, or a funeral. Plus staleness alerts: a ghost that stops working is an incident nobody feels for three weeks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Trojan 🐴&lt;/strong&gt;&lt;br&gt;
Arrives as a gift, opens the door from inside. Pasted snippets, dependency diffs, October PRs titled fix typo.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git diff main...HEAD | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-nE&lt;/span&gt; &lt;span class="s1"&gt;'process\.env|os\.environ|getenv'&lt;/span&gt;      &lt;span class="c"&gt;# env going somewhere&lt;/span&gt;
git diff main...HEAD | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-nE&lt;/span&gt; &lt;span class="s1"&gt;'base64|eval\(|atob'&lt;/span&gt;                   &lt;span class="c"&gt;# obfuscation&lt;/span&gt;
git diff main...HEAD | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-nE&lt;/span&gt; &lt;span class="s1"&gt;'curl .*(-d|--data)|wget |fetch\('&lt;/span&gt;     &lt;span class="c"&gt;# new outbound call&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Banish: review before merge even at twenty lines; provenance comments; pin what you can pin. Most Trojans aren't malicious — just someone else's bug, fossilized with full rights.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Spider 🕷️&lt;/strong&gt;&lt;br&gt;
The internet's automated fauna, patiently trying every handle. Lives on your public address and every port you forgot&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# before: the porch the spiders sit on&lt;/span&gt;
ss &lt;span class="nt"&gt;-tlnp&lt;/span&gt; | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-E&lt;/span&gt; &lt;span class="s1"&gt;'0\.0\.0\.0|::'&lt;/span&gt;          &lt;span class="c"&gt;# listeners facing everyone&lt;/span&gt;
journalctl &lt;span class="nt"&gt;-u&lt;/span&gt; ssh &lt;span class="nt"&gt;--since&lt;/span&gt; yesterday | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-c&lt;/span&gt; &lt;span class="s1"&gt;'Failed password'&lt;/span&gt;

&lt;span class="c"&gt;# after (no public IP, default-deny, managed ingress): both commands return silence&lt;/span&gt;
krova tcp list web-1                        &lt;span class="c"&gt;# empty. no porch, no spiders.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Banish: don't fight it at the door; remove the door. My spider population went extinct in a weekend and I did nothing heroic — just changed the default. (The one entry where my hosting is the whole spell: Krova Cubes ship with no public address.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Gremlin 👺&lt;/strong&gt;&lt;br&gt;
Feeds on observation. The CI-only failure, the bug that vanishes under the debugger, timestamps disagreeing by exactly one hour in exactly one region.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# evict its conditions: unseeded randomness and un-pinned clocks in tests&lt;/span&gt;
&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rnE&lt;/span&gt; &lt;span class="s1"&gt;'Math\.random|random\.random|Date\.now|time\.now'&lt;/span&gt; tests/ src/ &lt;span class="se"&gt;\&lt;/span&gt;
  | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-viE&lt;/span&gt; &lt;span class="s1"&gt;'seed|fake|clock'&lt;/span&gt;             &lt;span class="c"&gt;# every hit is a gremlin bed&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Banish: you don't kill gremlins, you bore them out: fixed clocks, seeded randomness, reproducible builds. Boredom is the only exorcism that holds.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Kraken 🐙&lt;/strong&gt;&lt;br&gt;
Too big to fight, too central to flee. Tentacles in every schema; migrations scheduled in quarters; a cloud labeled LEGACY.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# count the tentacles before you wake it&lt;/span&gt;
&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rc&lt;/span&gt; &lt;span class="s1"&gt;'legacy_orders'&lt;/span&gt; &lt;span class="nt"&gt;--include&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'*.sql'&lt;/span&gt; &lt;span class="nt"&gt;--include&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'*.py'&lt;/span&gt; &lt;span class="nt"&gt;--include&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'*.ts'&lt;/span&gt; &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  | &lt;span class="nb"&gt;sort&lt;/span&gt; &lt;span class="nt"&gt;-t&lt;/span&gt;: &lt;span class="nt"&gt;-k2&lt;/span&gt; &lt;span class="nt"&gt;-rn&lt;/span&gt; | &lt;span class="nb"&gt;head&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Banish: nobody slays the Kraken. Build seams, route one tentacle at a time around it, let it sleep. Anyone selling you a slaying is selling you an outage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Daemon 😇&lt;/strong&gt;&lt;br&gt;
The only monster that works for you. Night-shift process keeping caches warm, certs renewed, queues drained. A daemon is not a demon — it's a guardian spirit we forgot to thank.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;systemctl list-units &lt;span class="nt"&gt;--type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;service &lt;span class="nt"&gt;--state&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;running &lt;span class="nt"&gt;--no-pager&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  | &lt;span class="nb"&gt;awk&lt;/span&gt; &lt;span class="s1"&gt;'{print $1}'&lt;/span&gt; | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-vE&lt;/span&gt; &lt;span class="s1"&gt;'^\.|systemd|ssh|cron'&lt;/span&gt;   &lt;span class="c"&gt;# your daemons&lt;/span&gt;
&lt;span class="c"&gt;# adoption papers per daemon: owner, runbook path, silence alert&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Banish: absolutely not. Adopt: name it, log it, alert on its silence. A daemon with an owner is infrastructure; a daemon without one is next year's Ghost.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;br&gt;
None of these are moral failures. Every stack I've audited hosted at least four of the seven simultaneously. The monsters aren't the shame; the unnamed monsters are. An inventory turns fear into a checklist, and a checklist turns 3 AM into Tuesday.&lt;/p&gt;

&lt;p&gt;And the seventh entry is the lesson: the difference between a guardian and a ghost is rarely the creature. It's whether somebody wrote its name down.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Name your monsters&lt;/strong&gt;&lt;br&gt;
Tonight of all nights: run the seven detections. Seven chairs at the table; see who sits down. Then write the field guide — one page per monster: habitat, tells, banishment, or adoption papers if it earns them.&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>security</category>
      <category>programming</category>
      <category>devops</category>
    </item>
    <item>
      <title>The Meeting Bot Heard the Password. It Wrote It Down. Forever.</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Fri, 16 Oct 2026 08:10:35 +0000</pubDate>
      <link>https://dev.to/dhruonweb/the-meeting-bot-heard-the-password-it-wrote-it-down-forever-3bmg</link>
      <guid>https://dev.to/dhruonweb/the-meeting-bot-heard-the-password-it-wrote-it-down-forever-3bmg</guid>
      <description>&lt;p&gt;I searched our meeting transcripts for 'password' and got spoken connection strings, MFA digits, a verbatim angry customer, and a frame-captured dashboard. The sweep, the bot-free policy, the synthetic demo box, and retention as a setting.&lt;/p&gt;

&lt;p&gt;I typed one word into our transcript search box: password. Four minutes later I closed the laptop and went for a walk.&lt;/p&gt;

&lt;p&gt;Hit one: an API connection string read aloud during pairing ("just paste what I say"). Hit two: an MFA code, digit by digit to IT, transcribed correctly. Hit three: a customer's name and their angriest sentence of the year, verbatim, in a sales summary anyone can open. Hit four wasn't audio: a screen-shared dashboard captured frame by frame, real customer rows in 4K.&lt;/p&gt;

&lt;p&gt;The room was never bugged. It was scheduled — recurring, 30 minutes, automatic notes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Meetings became data. Nobody designed the data.&lt;/strong&gt;&lt;br&gt;
A transcript is a log no one engineered: nothing scrubs it, nothing scopes it, everything searches it. Retention defaults to forever because forever is what storage does when nobody decides otherwise. The vendor keeps a copy — the vendor is the one transcribing. And unlike every datastore we own, this one ingests secrets, PII, and candid opinions at conversational speed, from everyone, daily, without a schema.&lt;/p&gt;

&lt;p&gt;Screen sharing is the same leak with better resolution: the terminal corner in a demo, the .env tab during a "quick look," the autocomplete that finished a customer's email on a projector. We'd never put those in a doc. We put them in a recording, which is a doc with witnesses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The sweep&lt;/strong&gt;&lt;br&gt;
Export whatever your tool allows, then:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# spoken-secret shapes&lt;/span&gt;
&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rniE&lt;/span&gt; &lt;span class="s1"&gt;'password|passphrase|token|api[_-]?key|secret|mfa|verification code|connection string'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  transcripts/ | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-viE&lt;/span&gt; &lt;span class="s1"&gt;'password (policy|manager|reset)'&lt;/span&gt;

&lt;span class="c"&gt;# real humans in the room-data&lt;/span&gt;
&lt;span class="k"&gt;while &lt;/span&gt;&lt;span class="nb"&gt;read&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; c&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do
  &lt;/span&gt;&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rlq&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$c&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; transcripts/ &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"CUSTOMER IN TRANSCRIPTS: &lt;/span&gt;&lt;span class="nv"&gt;$c&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt; &amp;lt; top-accounts.txt

&lt;span class="c"&gt;# recordings + screen shares, from the calendar/admin export&lt;/span&gt;
jq &lt;span class="nt"&gt;-r&lt;/span&gt; &lt;span class="s1"&gt;'.[] | select(.recording or .screenShare)
  | "\(.date)\t\(.organizer)\t\(.title)"'&lt;/span&gt; meetings.json | &lt;span class="nb"&gt;sort&lt;/span&gt; | &lt;span class="nb"&gt;tail&lt;/span&gt; &lt;span class="nt"&gt;-30&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The customer-name grep is the one that ends careers of assumptions. Ours returned eleven accounts, including two under NDA.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What changed&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Secrets are never spoken. Pairing shares a vault link, not a voice. Awkward for a week, then seatbelts.&lt;/li&gt;
&lt;li&gt;Sensitive calls are bot-free by default — incidents, credential handling, escalations. Routine calls keep notes; the rule is classification, same as staging: real things don't live in rooms with pretend rules. The enforcement is boring:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# weekly: any flagged meeting next week still carrying a bot/recording flag?&lt;/span&gt;
jq &lt;span class="nt"&gt;-r&lt;/span&gt; &lt;span class="s1"&gt;'.[] | select(.title | test("incident|postmortem|migration|cred"; "i"))
  | select(.bot or .recording) | .title'&lt;/span&gt; meetings-next-7d.json
&lt;span class="c"&gt;# non-empty output = fix the invite, not the culture&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Demos run on a demo box. Screen shares that might show data show synthetic data. Disposable Cube on Krova Cloud: redeployed fresh, seeded fake, deleted after the call:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;
&lt;span class="c"&gt;# demo-box.sh up|down&lt;/span&gt;
&lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$1&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="k"&gt;in
  &lt;/span&gt;up&lt;span class="p"&gt;)&lt;/span&gt;
    krova cubes create demo-box &lt;span class="nt"&gt;--cpu&lt;/span&gt; 2 &lt;span class="nt"&gt;--ram&lt;/span&gt; 4 &lt;span class="nt"&gt;--disk&lt;/span&gt; 40 &lt;span class="nt"&gt;--image&lt;/span&gt; ubuntu-24.04 &lt;span class="se"&gt;\&lt;/span&gt;
      &lt;span class="nt"&gt;--user-data&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;cat &lt;/span&gt;seed-fake-customers.yml&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
    krova domains add demo-box &lt;span class="nt"&gt;--domain&lt;/span&gt; demo.example.com &lt;span class="nt"&gt;--port&lt;/span&gt; 8080 &lt;span class="p"&gt;;;&lt;/span&gt;
  down&lt;span class="p"&gt;)&lt;/span&gt; krova cubes delete demo-box &lt;span class="p"&gt;;;&lt;/span&gt;   &lt;span class="c"&gt;# nothing true was ever in it&lt;/span&gt;
&lt;span class="k"&gt;esac&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;#cloud-config&lt;/span&gt;
&lt;span class="na"&gt;runcmd&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;curl -sf https://storage.private/fake-customers.sql.gz | gunzip | sudo -u postgres psql app&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;systemctl restart app&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The demo can leak all it wants; there's nothing true in it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The notes tool got treated like a datastore. Retention set to a number we chose, old exports purged on a schedule (find … -mtime +90 -delete — exports are copies too), search access reviewed, and the vendor's terms actually read for the first time since someone clicked "enable for workspace."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Transcripts are genuinely good — searchable decisions, async teammates, onboarding gold. I don't want the tool gone; I want its defaults to have opinions. Burning it down moves the leak back into memory, which retains worse and searches never.&lt;/li&gt;
&lt;li&gt;Small teams can't negotiate vendor terms. So minimize what enters the room: the bot can't transcribe a secret nobody says, nor capture a dashboard showing fake rows. Input control beats contract control.&lt;/li&gt;
&lt;li&gt;"But the notes!" is a real loss, not resistance. The compromise that stuck: notes everywhere by default, bot-free where stakes say so, and the safe path made easier than the risky one — one-click demo box, vault links in every pairing doc.&lt;/li&gt;
&lt;li&gt;This isn't the castle. Walls stay walls: no public IP by default, own kernel per Cube, scoped secrets. Transcript hygiene shrinks what conversations leak; architecture shrinks what machines leak. Both, always.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Forever is a setting&lt;/strong&gt;&lt;br&gt;
Every "forever" in your stack — transcripts, recordings, screenshots, exports, free-tier syncs — is a default nobody revisited. The scariest datastore you own is probably the one that fills itself while everyone talks.&lt;/p&gt;

&lt;p&gt;Go type password into your transcript search. Then token. Then your biggest customer's name. Four minutes. I'll wait.&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>workplace</category>
      <category>ai</category>
    </item>
    <item>
      <title>There's a Cron Job in Production That Nobody Remembers Writing.</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Thu, 15 Oct 2026 12:06:28 +0000</pubDate>
      <link>https://dev.to/dhruonweb/theres-a-cron-job-in-production-that-nobody-remembers-writing-1i0c</link>
      <guid>https://dev.to/dhruonweb/theres-a-cron-job-in-production-that-nobody-remembers-writing-1i0c</guid>
      <description>&lt;p&gt;It runs at 3:07 AM, reconciles our invoices, and its author left in 2022. The crontab séance: inventory every scheduled job, give each an owner + purpose + loud failure or a funeral, crontab-as-code, staleness alerts, and ephemeral job boxes.&lt;/p&gt;

&lt;p&gt;Every company has ghosts like this. October is a fine month to introduce yourself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scheduled jobs are employees without HR files&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A cron job is a colleague: it has a shift, a responsibility, credentials, access. Unlike every human on payroll, it never got an onboarding (what does it need and why), a performance review (does it still succeed, still matter), an offboarding (its author left; its badge stayed active), or a manager (when it fails at 3 AM, who gets paged? nobody — the silence compounds).&lt;/p&gt;

&lt;p&gt;Our invoice ghost had a valid API credential embedded in the script, a hardcoded path that survived two migrations by luck, and a failure mode that surfaces as accounting confusion in three weeks, not an alert in three minutes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The séance&lt;/strong&gt;&lt;br&gt;
Print every crontab on every box — including the "temporary" ones — and hold one rule over each line: every job gets an owner, a purpose, and a loud failure — or a funeral.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;
&lt;span class="c"&gt;# cron-seance.sh — run per host; collect the output, do the arithmetic, feel the chill&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt; &lt;span class="nt"&gt;-euo&lt;/span&gt; pipefail
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"== user crontabs =="&lt;/span&gt;
&lt;span class="k"&gt;for &lt;/span&gt;u &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;cut&lt;/span&gt; &lt;span class="nt"&gt;-d&lt;/span&gt;: &lt;span class="nt"&gt;-f1&lt;/span&gt; /etc/passwd&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do
  &lt;/span&gt;&lt;span class="nv"&gt;c&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;crontab &lt;span class="nt"&gt;-l&lt;/span&gt; &lt;span class="nt"&gt;-u&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$u&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; 2&amp;gt;/dev/null &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nb"&gt;true&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;
  &lt;span class="o"&gt;[&lt;/span&gt; &lt;span class="nt"&gt;-n&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$c&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"--- &lt;/span&gt;&lt;span class="nv"&gt;$u&lt;/span&gt;&lt;span class="s2"&gt; ---"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$c&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-vE&lt;/span&gt; &lt;span class="s1"&gt;'^\s*#|^\s*$'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;done
&lt;/span&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"== system dirs =="&lt;/span&gt;
&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rHvE&lt;/span&gt; &lt;span class="s1"&gt;'^\s*#|^\s*$'&lt;/span&gt; /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/crontab 2&amp;gt;/dev/null
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"== systemd timers =="&lt;/span&gt;
systemctl list-timers &lt;span class="nt"&gt;--all&lt;/span&gt; &lt;span class="nt"&gt;--no-pager&lt;/span&gt; | &lt;span class="nb"&gt;awk&lt;/span&gt; &lt;span class="s1"&gt;'NF&amp;gt;6'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two pages of output, eleven engineers. Then per line: who owns it, what happens when it fails, who knows why it exists. Lines that can't answer are ghosts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Adopt the load-bearing ones, bury the rest&lt;/strong&gt;&lt;br&gt;
The invoice job didn't get deleted — it got hired: named owner, repo with tests, credentials out of the script and into scoped runtime injection, and alerts on both outcomes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# the job's last line — a heartbeat:&lt;/span&gt;
&lt;span class="nb"&gt;touch&lt;/span&gt; /var/run/heartbeat/invoice-recon

&lt;span class="c"&gt;# checker, on the scheduler host (outside the box it watches):&lt;/span&gt;
&lt;span class="k"&gt;*&lt;/span&gt;/30 &lt;span class="k"&gt;*&lt;/span&gt; &lt;span class="k"&gt;*&lt;/span&gt; &lt;span class="k"&gt;*&lt;/span&gt; &lt;span class="k"&gt;*&lt;/span&gt;  find /var/run/heartbeat &lt;span class="nt"&gt;-name&lt;/span&gt; invoice-recon &lt;span class="nt"&gt;-mmin&lt;/span&gt; +1500 | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nb"&gt;.&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; alert &lt;span class="s2"&gt;"invoice-recon: silent too long"&lt;/span&gt;     &lt;span class="c"&gt;# "it didn't run" is an incident too&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Six jobs got funerals — and funeral meant the line, the script, its credentials, and the downstream thing it fed. Half-buried cron is how ghosts get sequels.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Crontab-as-code, or the ghosts return&lt;/strong&gt;&lt;br&gt;
"I'll just add it on the server" is the exact sentence that spawns ghosts. Now the box's crontab is generated from a repo file, and CI is the only writer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# infra/cron/invoice-recon.cron — reviewed like any colleague's PR&lt;/span&gt;
&lt;span class="nv"&gt;SHELL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/bin/bash
&lt;span class="nv"&gt;MAILTO&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;                          &lt;span class="c"&gt;# silence is not monitoring&lt;/span&gt;
07 3 &lt;span class="k"&gt;*&lt;/span&gt; &lt;span class="k"&gt;*&lt;/span&gt; &lt;span class="k"&gt;*&lt;/span&gt; root /opt/jobs/invoice-recon.sh &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; /var/log/jobs/invoice-recon.log 2&amp;gt;&amp;amp;1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# the only path into /etc/cron.d&lt;/span&gt;
krova ssh jobs-1 &lt;span class="nt"&gt;--&lt;/span&gt; &lt;span class="s1"&gt;'sudo install -m 644 /srv/infra/cron/*.cron /etc/cron.d/'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Where the jobs live matters too&lt;/strong&gt;&lt;br&gt;
Some scheduled work moved to ephemeral boxes — spin up, do the thing, die (same pattern as our CI):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;CUBE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"job-invoice-&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;date&lt;/span&gt; +%F&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
krova cubes create &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$CUBE&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="nt"&gt;--cpu&lt;/span&gt; 1 &lt;span class="nt"&gt;--ram&lt;/span&gt; 2 &lt;span class="nt"&gt;--disk&lt;/span&gt; 20 &lt;span class="nt"&gt;--image&lt;/span&gt; ubuntu-24.04
krova ssh &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$CUBE&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="nt"&gt;--&lt;/span&gt; &lt;span class="s1"&gt;'INVOICE_KEY="'&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$INVOICE_KEY&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s1"&gt;'" /opt/invoice-recon.sh'&lt;/span&gt;  &lt;span class="c"&gt;# creds at runtime&lt;/span&gt;
krova cubes delete &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$CUBE&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;        &lt;span class="c"&gt;# leaves a bill line and a log, not a mystery&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An ephemeral job can't accumulate drift or host a forgotten second job. Resident crons that remain live behind the usual walls: no public IP, own kernel, default-deny inbound. Ghosts are an ownership problem first, a hosting problem second — but right hosting makes ownership visible.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Some ghosts are the business. Deleting the invoice job would have been the incident. The audit finds load-bearing ghosts before they fail; it doesn't ban ghosts.&lt;/li&gt;
&lt;li&gt;Silence is the real vulnerability. A job that fails loudly is a bug; one that fails silently is debt with interest. Staleness alerts caught two more ghosts we'd otherwise have met during an accounting argument.&lt;/li&gt;
&lt;li&gt;Culture takes a week to feel heavy. Then someone proposed a cron change with a test, an owner, and a rollback note — in a review, like a normal colleague — and the habit had a heartbeat.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Meet your ghosts before they meet you&lt;/strong&gt;&lt;br&gt;
Tonight, on every box you own: open the crontab, read each line out loud, ask the three questions. Every line that can't answer is a ghost. Some are harmless. One of them, somewhere, is your invoice reconciliation.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>containers</category>
      <category>cloudsecurity</category>
      <category>programming</category>
    </item>
    <item>
      <title>I Audited Every Tool That Can Read Our Company. The List Was 43 Long.</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Tue, 06 Oct 2026 10:56:10 +0000</pubDate>
      <link>https://dev.to/dhruonweb/i-audited-every-tool-that-can-read-our-company-the-list-was-43-long-1486</link>
      <guid>https://dev.to/dhruonweb/i-audited-every-tool-that-can-read-our-company-the-list-was-43-long-1486</guid>
      <description>&lt;p&gt;43 external services held standing access to our Slack, Drive, code, and contacts — signed in modals, forgotten in sprints. The sweep per platform, the grant inventory, export-over-connect, vendor funerals, and breach-news as a revocation trigger.&lt;/p&gt;

&lt;p&gt;After the secrets rotation and the docs recon, a vendor breach headline asked the question I couldn't un-ask: who outside this building can read us right now? Not hackers — guests. The answer was forty-three external services with standing access to our words, files, code, or customers. Most I recognized. One was a "free CRM trial" from 2024 that had been syncing our contacts, continuously, for two years.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;OAuth is a supply chain we sign ourselves&lt;/strong&gt;&lt;br&gt;
Every grant is a key handed to another company — to their security posture, their employees, their future acquirers, their worst day. When a vendor gets breached, the attacker doesn't need your password; they need the vendor's, and your grant does the rest.&lt;/p&gt;

&lt;p&gt;The audit's greatest hits: a 2021 marketing integration still reading every public Slack channel; a Chrome extension with Drive access installed by someone who left in 2023; a deprecated GitHub App owned by a vendor that got acquired (our code's readers now include a company we never chose); and the two-year CRM sync.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The sweep&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# GitHub: every app installed on the org, with its permissions and age&lt;/span&gt;
gh api orgs/&lt;span class="nv"&gt;$ORG&lt;/span&gt;/installations &lt;span class="nt"&gt;--jq&lt;/span&gt; &lt;span class="s1"&gt;'.installations[] |
  "\(.app_slug)\t\(.created_at)\t\(.permissions | to_entries |
   map("\(.key)=\(.value)") | join(","))"'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then the human pages (no API tells the whole truth):&lt;/p&gt;

&lt;p&gt;Slack → Manage apps (workspace admin)&lt;br&gt;
Google Workspace → Security → Access and data controls → Third-party apps &amp;amp; services&lt;br&gt;
Browser: every extension logged into a company account&lt;br&gt;
Payments, DNS, registrar, monitoring dashboards — the boring crown&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The inventory (one doc, five columns that matter)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;| vendor      | surface | scopes           | data reach | funeral plan          |
|-------------|---------|------------------|------------|-----------------------|
| backup tool | drive   | read             | HIGH       | revoke on migration   |
| standup bot | slack   | channels:history | MED        | downgrade → post-only |
| crm-trial   | contacts| read+sync        | HIGH       | KILL (done, RIP)      |
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Owner + "since" column too. You cannot revoke what you haven't listed, and a row with no owner is a grant nobody will ever bury.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Export over connect&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# the analytics tool gets a monthly batch, not a standing read:&lt;/span&gt;
psql &lt;span class="nt"&gt;-U&lt;/span&gt; app app_db &lt;span class="nt"&gt;-c&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\c&lt;/span&gt;&lt;span class="s2"&gt;opy (select * from events) to stdout csv"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  | &lt;span class="nb"&gt;gzip&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; events-&lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;date&lt;/span&gt; +%F&lt;span class="si"&gt;)&lt;/span&gt;.csv.gz
&lt;span class="c"&gt;# upload one-way; the connection you never open can't leak&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Downgrades are free — most vendors don't notice, which tells you how little they needed the scope.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Funerals and triggers&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Vendors attend the same funeral as projects. Tool dies in our stack → its grant dies in the same sitting. A grant is just a project that lives in someone else's building.&lt;/li&gt;
&lt;li&gt;Breach news is a revocation trigger, not a newsletter. Vendor in headlines → grant reviewed that day.&lt;/li&gt;
&lt;li&gt;The re-audit is scheduled, not remembered:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;0 9 1 &lt;span class="k"&gt;*&lt;/span&gt; &lt;span class="k"&gt;*&lt;/span&gt;   &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"open the four connected-apps pages. count the keys."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;br&gt;
Some grants are load-bearing. SSO, backups, the payment processor. Tier vendors by data reach, review in that order, forever. Triage, not purity.&lt;br&gt;
Small teams can't audit 43 vendors' internals. So minimize standing access instead — it requires no vendor questionnaire. You can't inspect their locks; you can stop handing out keys.&lt;br&gt;
The walls still matter. None of this replaces no-public-IP defaults, own kernel per Cube, scoped secrets. Vendor hygiene shrinks the surface of trust; architecture shrinks the surface of reach. Both, always.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Forty-three is a normal number&lt;/strong&gt;&lt;br&gt;
We weren't careless. We were modern. Every grant was reasonable on the day it was signed; the risk was the accumulation of reasonable decisions, each still active, none still reviewed.&lt;/p&gt;

&lt;p&gt;Every OAuth grant is a key you gave to another company's worst day. Count your keys.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>security</category>
      <category>devops</category>
      <category>oauth</category>
    </item>
    <item>
      <title>It's October. Strangers Are Sending You Code. Here's How I Say Yes.</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Mon, 05 Oct 2026 12:02:00 +0000</pubDate>
      <link>https://dev.to/dhruonweb/its-october-strangers-are-sending-you-code-heres-how-i-say-yes-2lm9</link>
      <guid>https://dev.to/dhruonweb/its-october-strangers-are-sending-you-code-heres-how-i-say-yes-2lm9</guid>
      <description>&lt;p&gt;October routes thousands of first-timers to your repo. The review order that keeps CI safe (pipeline first, deps second), grep for the three exfil shapes, fork-PR secret hygiene, per-job disposable runners, and how to reject a PR kindly&lt;/p&gt;

&lt;p&gt;First PR of the season arrived October 2nd: account three days old, title fix typo, diff mostly a typo. Mostly.&lt;/p&gt;

&lt;p&gt;October is the month strangers send you code, and if you maintain anything with a .git directory, your queue is about to have neighbors. Beautiful — and, if you're not careful, the month your CI meets someone's cousin's script. I've been the maintainer who flinched at a malicious hunk and the first-timer whose tiny PR got reviewed with kindness. Both wrote this post. The goal isn't keeping strangers out; it's keeping the door open without leaving it unlocked.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Review order: pipeline, deps, then everything&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. anything that EXECUTES — a typo PR that edits workflows is not a typo PR&lt;/span&gt;
git diff main...HEAD &lt;span class="nt"&gt;--stat&lt;/span&gt; &lt;span class="nt"&gt;--&lt;/span&gt; &lt;span class="s1"&gt;'.github/'&lt;/span&gt; &lt;span class="s1"&gt;'Makefile'&lt;/span&gt; &lt;span class="s1"&gt;'*.mk'&lt;/span&gt; &lt;span class="s1"&gt;'Dockerfile'&lt;/span&gt; &lt;span class="s1"&gt;'*compose*.y*ml'&lt;/span&gt;

&lt;span class="c"&gt;# 2. dependency deltas — typosquats live here dressed as helpfulness&lt;/span&gt;
git diff main...HEAD &lt;span class="nt"&gt;--&lt;/span&gt; &lt;span class="s1"&gt;'*requirements*.txt'&lt;/span&gt; &lt;span class="s1"&gt;'package.json'&lt;/span&gt; &lt;span class="s1"&gt;'go.mod'&lt;/span&gt; &lt;span class="s1"&gt;'Cargo.toml'&lt;/span&gt;
&lt;span class="c"&gt;#    three questions per new package: who maintains it, how old is it, why this one&lt;/span&gt;

&lt;span class="c"&gt;# 3. then everything else, at the depth its blast radius deserves&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The three exfil shapes (grep them)&lt;/strong&gt;&lt;br&gt;
Most malicious October diffs aren't clever — same three shapes, different variable names:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git diff main...HEAD | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-nE&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="s1"&gt;'process\.env|os\.environ|getenv|/proc/self/environ'&lt;/span&gt;   &lt;span class="c"&gt;# environment going somewhere&lt;/span&gt;
git diff main...HEAD | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-nE&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="s1"&gt;'base64|eval\(|atob|xxd -r'&lt;/span&gt;                            &lt;span class="c"&gt;# obfuscation in an unobfuscated repo&lt;/span&gt;
git diff main...HEAD | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-nE&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="s1"&gt;'curl .*(-d|--data|-F)|wget |requests\.post|fetch\('&lt;/span&gt;   &lt;span class="c"&gt;# new outbound calls&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The real tell is scope creep: the mismatch between the title's promise and the diff's appetite. A fix-typo that adds a network call, a cron, or a download gets the hard look. Paranoia is vague and exhausts you; a checklist is cheap.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The safe room: fork PRs and disposable runners&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fork PRs never see secrets. Keep the platform defaults that make this true (approval required before a fork first-timer's workflow runs; no secret exposure to forks). A stranger's first PR should execute in a room with nothing valuable in it.&lt;/li&gt;
&lt;li&gt;Every job gets a throwaway box. My CI runs each job in a fresh microVM — on &lt;strong&gt;Krova Cloud&lt;/strong&gt; a job spins a Cube with its own kernel and no public IP, then dies:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;CUBE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"ci-job-&lt;/span&gt;&lt;span class="nv"&gt;$PR_NUMBER&lt;/span&gt;&lt;span class="s2"&gt;-&lt;/span&gt;&lt;span class="nv"&gt;$RUN_ID&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
krova cubes create &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$CUBE&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="nt"&gt;--cpu&lt;/span&gt; 2 &lt;span class="nt"&gt;--ram&lt;/span&gt; 4 &lt;span class="nt"&gt;--disk&lt;/span&gt; 40 &lt;span class="nt"&gt;--image&lt;/span&gt; ubuntu-24.04
&lt;span class="c"&gt;# run the PR's tests inside; fork PRs mount zero secrets&lt;/span&gt;
krova cubes delete &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$CUBE&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;     &lt;span class="c"&gt;# teardown is the security feature&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A poisoned cache from a malicious build can't greet the next build, because there is no next build on the same machine. When the room is safe, review relaxes from interrogation to conversation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Be kind on purpose (with receipts)&lt;/strong&gt;&lt;br&gt;
The three-day-old account is someone's first week in this community. The checklist handles the threat; your words handle the human:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Thanks for this! The typo fix is perfect — merging. 🎉
One note: the workflow change isn't needed for the typo, so I've
split it into its own PR where it can get a proper review.
Welcome aboard — really glad your first one landed here.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Say thanks in every review including rejects. Explain a "no" in two sentences; a silent close teaches nobody. Never talk to a first-timer like a threat actor.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;br&gt;
You cannot deep-review a flood. Tier it: CI/deps/scripts get the full checklist; docs and typos get a fast, grateful yes. The tiering is the practice.&lt;br&gt;
Automation flags shapes; humans read intent. A perfect auto-merge tool is just a faster door.&lt;br&gt;
The safe room doesn't replace review. Isolation limits what a bad PR can do; only reading limits what a bad PR can become.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Keep the door open&lt;/strong&gt;&lt;br&gt;
October's queue is a gift pile. Some gifts are typos, some are gems, one might be wired. Open all of them — just open the wired one with the right room behind you.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>hacktoberfest</category>
      <category>cybersecurity</category>
      <category>devops</category>
    </item>
    <item>
      <title>My Smart Bulb Shares a Network With My Production Keys.</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Sat, 03 Oct 2026 08:10:56 +0000</pubDate>
      <link>https://dev.to/dhruonweb/my-smart-bulb-shares-a-network-with-my-production-keys-15ca</link>
      <guid>https://dev.to/dhruonweb/my-smart-bulb-shares-a-network-with-my-production-keys-15ca</guid>
      <description>&lt;p&gt;Nineteen devices on one flat home LAN: my work laptop with prod access, a 2021-firmware bulb, a camera from a dead brand, and an ESP_4F2A nobody admits to buying. The fix: split the network, promote the router to perimeter, and treat home like a café — tunnels, scoped contexts, no standing creds.&lt;/p&gt;

&lt;p&gt;I opened my router's device list like you open a fridge at midnight — without a plan, slightly guilty. Nineteen devices. My work laptop, which can reach production, was on the same flat home network as a $12 smart bulb with 2021 firmware, a camera from a brand whose website no longer exists, a TV phoning home to an unplaceable timezone, and something labeled ESP_4F2A nobody in my household admits to buying.&lt;/p&gt;

&lt;p&gt;A home LAN is flat: everything trusts everything. The security of the machine holding my prod keys was, that evening, partially defined by a light bulb I bought on sale.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The living-room test&lt;/strong&gt;&lt;br&gt;
The café test for laptops has a home version: if the cheapest device on your network gets popped, what's the path from there to the thing you'd cry about? On a flat LAN the answer is usually "a scan, then a try." Not because the bulb is an evil mastermind — because flat networks turn one weak device into a viewing position over everything else.&lt;/p&gt;

&lt;p&gt;First, see the whole estate:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# who actually lives on your LAN (router DHCP list is the honest source; this cross-checks)&lt;/span&gt;
nmap &lt;span class="nt"&gt;-sn&lt;/span&gt; 192.168.1.0/24 | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-E&lt;/span&gt; &lt;span class="s1"&gt;'Nmap scan report|MAC'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The split (free, boring, an afternoon)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;work vlan  : laptop, work phone        → reaches SSH endpoints, nothing else inbound
iot vlan   : bulb, camera, TV, ESP_*   → internet only; sandbox where blast radius = each other
guest wlan : visitors                  → internet only, timed
# exceptions are deliberate, visible, few:
#   laptop → printer (print only)
#   phone  → doorbell app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Router settings, zero dollars. The bulb keeps bulbing; it just loses its view of my laptop. Then the router itself got promoted to perimeter: admin password off the sticker, auto-update on, remote management off. It's the only device in the house actually doing security — it deserved the ceremony.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Home is a café now&lt;/strong&gt;&lt;br&gt;
The laptop rules travel home: no standing production credentials, short-lived sessions, and services reached by tunnel — nothing listens publicly just because I'm on the couch:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;
&lt;span class="c"&gt;# home-is-a-cafe.sh&lt;/span&gt;
krova context use home          &lt;span class="c"&gt;# scoped: create/wake/ssh ok; delete prod = no&lt;/span&gt;

krova ssh db-1  &lt;span class="nt"&gt;-L&lt;/span&gt; 5432:localhost:5432 &amp;amp;   &lt;span class="c"&gt;# postgres over the encrypted channel&lt;/span&gt;
krova ssh web-1 &lt;span class="nt"&gt;-L&lt;/span&gt; 8080:localhost:8080 &amp;amp;   &lt;span class="c"&gt;# app same; internet gets nothing&lt;/span&gt;

&lt;span class="c"&gt;# local clients now hit localhost; the databases never "listened for me"&lt;/span&gt;
psql &lt;span class="nt"&gt;-h&lt;/span&gt; localhost &lt;span class="nt"&gt;-p&lt;/span&gt; 5432 &lt;span class="nt"&gt;-U&lt;/span&gt; app app_db
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A popped bulb's "scan, then try" now finds localhost ports bound to encrypted tunnels it can't join, and a context whose worst day is a forgotten dev box — visible in one list, deleted in one word.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Segmentation is messy in real life. The printer needs the laptop; the doorbell wants the phone; convenience files weekly complaints. The goal isn't a perfect diagram — it's that the default path from popped bulb to prod keys is gone, and exceptions are deliberate.&lt;/li&gt;
&lt;li&gt;You can't audit a household. Kids' tablets, a partner's phone, the in-laws visiting Wi-Fi. The split is the admission that you'll never control every device — so control what they can see instead.&lt;/li&gt;
&lt;li&gt;Home hygiene doesn't fix the castle. The walls still live server-side: no public IP by default, own kernel per Cube, default-deny inbound, scoped secrets. Segmentation shrinks the path to those walls; it doesn't replace them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Go look at your device list&lt;/strong&gt;&lt;br&gt;
Not tomorrow. Now. Count the devices, find the oldest firmware, and ask the only question that matters: does that device share a network with the keys?&lt;/p&gt;

&lt;p&gt;Mine did — neighbors for two years, and the bulb had the worse posture. The fix cost an afternoon and a new SSID name. Best security review I've done all year, and the arithmetic was free.&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>workplace</category>
      <category>devops</category>
      <category>security</category>
    </item>
    <item>
      <title>I Did Recon on My Own Company , Using Only What We Published.</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Wed, 30 Sep 2026 12:01:37 +0000</pubDate>
      <link>https://dev.to/dhruonweb/i-did-recon-on-my-own-company-using-only-what-we-published-6cd</link>
      <guid>https://dev.to/dhruonweb/i-did-recon-on-my-own-company-using-only-what-we-published-6cd</guid>
      <description>&lt;p&gt;Twenty minutes of public-only recon on my own company: the README architecture diagram, job postings as a vendor list, an error-message hostname, .env.example as a secrets schema. The fix: split the manual from the map, scrub errors at the boundary, review jobs like publications.&lt;/p&gt;

&lt;p&gt;Quarterly habit: twenty minutes attacking myself with public information only. No credentials, no insider knowledge. This quarter I pointed it at the asset I'd never audited because I never thought of it as one: our documentation.&lt;/p&gt;

&lt;p&gt;The notebook I ended up with made me slightly nauseous.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the public pile gave away&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;README architecture diagram — service names, queue names, the worker fleet. A map with a legend, updated last quarter.&lt;/li&gt;
&lt;li&gt;A support-thread screenshot — an error toast containing an internal hostname and stack path. Errors are involuntary documentation.&lt;/li&gt;
&lt;li&gt;Job postings — "must know Kafka, Datadog, Auth0, Terraform" is a vendor list with a budget attached, including which parts we're unhappy enough to replace.&lt;/li&gt;
&lt;li&gt;A 2023 conference talk, still indexed, "simplified" diagram 90% accurate.&lt;/li&gt;
&lt;li&gt;.env.example — variable names are a schema of your secrets; ours enumerated every third-party integration, alphabetically, with comments.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of it was a breach. All of it was publishing. Recon is the cheapest phase of an attack, and we were subsidizing it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Run your own twenty minutes (the sweep)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. involuntary docs: hostnames, internal ranges, vendor names in the repo&lt;/span&gt;
&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rniE&lt;/span&gt; &lt;span class="s1"&gt;'(\.internal|\.local|10\.0\.|192\.168\.|hostname|stack)'&lt;/span&gt; docs/ README.md | &lt;span class="nb"&gt;head&lt;/span&gt; &lt;span class="nt"&gt;-30&lt;/span&gt;

&lt;span class="c"&gt;# 2. the secrets schema&lt;/span&gt;
&lt;span class="nb"&gt;cat&lt;/span&gt; .env.example          &lt;span class="c"&gt;# read it like an attacker: that's an inventory&lt;/span&gt;

&lt;span class="c"&gt;# 3. your jobs page is a publication&lt;/span&gt;
&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-iE&lt;/span&gt; &lt;span class="s1"&gt;'kafka|datadog|auth0|pagerduty|terraform'&lt;/span&gt; &lt;span class="nb"&gt;jobs&lt;/span&gt;/&lt;span class="k"&gt;*&lt;/span&gt;.md

&lt;span class="c"&gt;# 4. then do the human part:&lt;/span&gt;
&lt;span class="c"&gt;#    - search "yourproduct architecture"&lt;/span&gt;
&lt;span class="c"&gt;#    - site:yourdomain.com diagram&lt;/span&gt;
&lt;span class="c"&gt;#    - open your last three conference/blog artifacts&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The manual vs. the map&lt;/strong&gt;&lt;br&gt;
Docs have two audiences by default, and only one is friendly; the document can't tell them apart. So we split:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docs-public/    # the MANUAL — behavior, interfaces, examples. Generous.
docs-internal/  # the MAP — topology, internal names, runbooks, vendor wiring.
                # Access-controlled, reviewed like code.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And the habits that cut involuntary leaks:&lt;/p&gt;

&lt;p&gt;Errors get scrubbed at the boundary — what happened, never where:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;use&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;err&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;req&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;next&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;crypto&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;randomUUID&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
  &lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;error&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;err&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;                    &lt;span class="c1"&gt;// hostnames + stacks stay in logs&lt;/span&gt;
  &lt;span class="nx"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;status&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;err&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;status&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="mi"&gt;500&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
    &lt;span class="na"&gt;error&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Something went wrong.&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;          &lt;span class="c1"&gt;// no internal names in the toast&lt;/span&gt;
    &lt;span class="na"&gt;ref&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;id&lt;/span&gt;
  &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;.env.example documents shape, not inventory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight diff"&gt;&lt;code&gt;&lt;span class="gd"&gt;- # Stripe live key for payments team
- STRIPE_KEY=sk_live_...
- KAFKA_BROKERS=kafka-3.internal:9092
&lt;/span&gt;&lt;span class="gi"&gt;+ PAYMENTS_KEY=        # your payments provider key (scoped, rotated)
+ EVENT_BROKER=        # event pipeline endpoint
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Job postings reviewed like publications:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight diff"&gt;&lt;code&gt;&lt;span class="gd"&gt;- Own our Kafka + Datadog + Auth0 stack.
&lt;/span&gt;&lt;span class="gi"&gt;+ Own high-throughput event pipelines, observability, and auth integrations.
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Candidates understand the second version perfectly. So does the person drafting your attack plan — except they learn less from it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Not security by obscurity. The walls stay walls: no public IP by default, own kernel per Cube, default-deny inbound, scoped secrets. Doc discipline just stops handing out the floor plan of the building the walls protect.&lt;/li&gt;
&lt;li&gt;Open source moves the line, not the principle. If your topology is the repo, the discipline shifts to what isn't: your environments, vendors, operational wiring. Publish the software's manual; your instance's manual is yours.&lt;/li&gt;
&lt;li&gt;Total erasure is impossible. Mirrored slides live forever. The goal is that today's publishing is deliberate, and the freshest intel an attacker gets is stale.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Run your own twenty minutes&lt;/strong&gt;&lt;br&gt;
Search your product name plus "architecture." Read your last three job postings like a stranger with a grudge. Open the .env.example. Screenshot one customer-facing error.&lt;/p&gt;

&lt;p&gt;Then ask, for each artifact: who needs this to use us — and who else just learned something?&lt;/p&gt;

</description>
      <category>cybersecurity</category>
      <category>cloudsecurity</category>
      <category>devops</category>
      <category>security</category>
    </item>
    <item>
      <title>Staging Went Down Last Month. Our Customers Tweeted About It.</title>
      <dc:creator>Dhruv Malaviya</dc:creator>
      <pubDate>Sat, 26 Sep 2026 16:27:17 +0000</pubDate>
      <link>https://dev.to/dhruonweb/staging-went-down-last-month-our-customers-tweeted-about-it-4hfj</link>
      <guid>https://dev.to/dhruonweb/staging-went-down-last-month-our-customers-tweeted-about-it-4hfj</guid>
      <description>&lt;p&gt;Our 'staging' environment had real tenants via a forgotten DNS door, a two-year-old prod dump, and debug shortcuts — because environments are labeled by intention, not contents. The fix: classify by data, and make staging ephemeral with nightly rebirth on Krova Cloud.&lt;/p&gt;

&lt;p&gt;One guard, courtesy of a commenter: &lt;strong&gt;the rebirth has a supply chain.&lt;/strong&gt; The scrub and seed scripts are built against a schema, and migrations move the schema under them. If they live in a wiki or a separate repo, a migration silently breaks the nightly rebirth and nobody notices until the next demo. So they're versioned right next to the schema migrations — same repo, same PR — and the rebirth ends with a smoke test (&lt;code&gt;healthz&lt;/code&gt; plus a sane row count) that alerts on failure. Cleanup became a property of the system; this keeps the system honest about its own breakage.&lt;/p&gt;

&lt;p&gt;The alert said staging was unreachable. My first thought was who cares. The second, four seconds later: then why are customers tweeting that they can't log in?&lt;/p&gt;

&lt;p&gt;The investigation found staging had been serving real users for months — a forgotten DNS record, a redirect from an old marketing page, customers onboarded during a demo and never moved. Staging hadn't "become production." It had become production for some people, which is the same thing with worse defaults.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the audit found&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A prod dump, copied "just once" two years ago. Real names, real emails, real rows. A copy of production data is production-shaped, whatever the hostname says.&lt;/li&gt;
&lt;li&gt;Relaxed rules everyone knew about. Debug endpoints. An admin panel behind a path instead of a password. A test account whose password lives in an offsite whiteboard photo. In prod these are incidents; in staging they were convenience — right up until real people lived there.&lt;/li&gt;
&lt;li&gt;No backups, no alerts, no drills. Nobody backs up a costume. Then the costume had tenants.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The rule we now enforce in every planning meeting: production isn't a name. It's wherever your users' data lives.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Classify by data, not hostname&lt;/strong&gt;&lt;br&gt;
Anything holding real user data gets production care — backups, alerts, auth, patching — even if it's called staging, demo, or bob-box. Real data enters scrubbed or not at all; the "one quick dump" is banned.&lt;/p&gt;

&lt;p&gt;And staging itself is now ephemeral by design: it dies and is reborn nightly, scrubbed on boot, deleted every Friday. An environment that dies weekly cannot accumulate secrets, drift, tenants, or folklore.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;
&lt;span class="c"&gt;# staging-reborn.sh — nightly&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt; &lt;span class="nt"&gt;-euo&lt;/span&gt; pipefail

krova cubes delete staging        &lt;span class="c"&gt;# old staging dies completely&lt;/span&gt;

krova cubes create staging &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--image&lt;/span&gt; ubuntu-24.04 &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--ssh-key&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;cat&lt;/span&gt; ~/.ssh/deploy.pub&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--vcpu&lt;/span&gt; 2 &lt;span class="nt"&gt;--ram&lt;/span&gt; 4 &lt;span class="nt"&gt;--disk&lt;/span&gt; 40 &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--user-data&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;cat &lt;/span&gt;scrub-cloud-init.yml&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;#cloud-config&lt;/span&gt;
&lt;span class="c1"&gt;# scrub-cloud-init.yml — staging is reborn clean every night&lt;/span&gt;
&lt;span class="na"&gt;runcmd&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;curl -sf -H "Authorization&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Bearer ${DUMP_TOKEN}"&lt;/span&gt;
      &lt;span class="s"&gt;https://storage.private/scrubbed-dump.sql.gz&lt;/span&gt;
      &lt;span class="s"&gt;| gunzip | sudo -u postgres psql app&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;systemctl restart app&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On &lt;a href="https://krova.cloud/" rel="noopener noreferrer"&gt;Krova Cloud&lt;/a&gt; this lifecycle is affordable because it's billed by the minute, and a stopped Cube bills only its disk — Friday's delete is the default state, not an event.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The doors that make environments lie&lt;/strong&gt;&lt;br&gt;
Orphaned DNS is how staging acquires tenants. The weekly check:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="k"&gt;while &lt;/span&gt;&lt;span class="nb"&gt;read&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; d&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do
  &lt;/span&gt;&lt;span class="nv"&gt;t&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;dig +short &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$d&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; CNAME | &lt;span class="nb"&gt;head&lt;/span&gt; &lt;span class="nt"&gt;-1&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;
  &lt;span class="c"&gt;# any record still pointing at staging is a door&lt;/span&gt;
  &lt;span class="o"&gt;[&lt;/span&gt; &lt;span class="nt"&gt;-n&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$t&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$t&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="k"&gt;*&lt;/span&gt;staging&lt;span class="k"&gt;*&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"DOOR: &lt;/span&gt;&lt;span class="nv"&gt;$d&lt;/span&gt;&lt;span class="s2"&gt; -&amp;gt; &lt;/span&gt;&lt;span class="nv"&gt;$t&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;;&lt;/span&gt; &lt;span class="k"&gt;esac&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt; &amp;lt; domains.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Plus the classification check — ask staging what it's holding, not what it's named:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;krova ssh staging &lt;span class="nt"&gt;--&lt;/span&gt; &lt;span class="nb"&gt;sudo&lt;/span&gt; &lt;span class="nt"&gt;-u&lt;/span&gt; postgres psql app &lt;span class="nt"&gt;-tAc&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="s2"&gt;"SELECT count(*) FROM users WHERE email NOT LIKE '%@example.com';"&lt;/span&gt;
&lt;span class="c"&gt;# any number above zero means staging is lying to you&lt;/span&gt;

krova ssh staging &lt;span class="nt"&gt;--&lt;/span&gt; ss &lt;span class="nt"&gt;-tlnp&lt;/span&gt;
&lt;span class="c"&gt;# debug ports listening? that's a prod-shaped wound on a staging-shaped box&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;The honest part&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Synthetic data has a realism tax. Some bugs only bite real-shaped data — the 400-character name, the emoji in the address line. We use a smaller, weirder synthetic set plus occasional scrubbed real samples, reviewed like code. Perfection isn't on the menu; classification is.&lt;/li&gt;
&lt;li&gt;Small teams can't afford full parity. Fine. The rule isn't "staging must equal production." It's "nothing real lives in a place with pretend rules." One sentence, enforceable at any size.&lt;/li&gt;
&lt;li&gt;Ephemeral staging doesn't fix prod. Prod still needs real walls: no public IP by default, own kernel per Cube, scoped secrets. This post is about misclassification, not about replacing the castle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Environments lie. Data doesn't.&lt;/strong&gt;&lt;br&gt;
Go ask your staging what it's holding — not the hostname, the contents. If the answer includes real names, real emails, or one customer who wanders in through a forgotten door, you don't have a staging environment. You have an unmonitored production wearing a costume.&lt;/p&gt;

&lt;p&gt;Ours wore it for months. The customers never noticed. That's not a compliment. That's the scariest part.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>cloudsecurity</category>
      <category>programming</category>
      <category>staging</category>
    </item>
  </channel>
</rss>
