Loading video...

Video Failed to Load

Go Home

I gave Cline Desktop app a repo with 3 intentional vulnerabilities. Hardcoded password. SQL injection. Shell injection. I gave it a cron job “Scan this codebase every night. Flag the issue, severity, risk, and fix.” At 2 AM, the agent ran the scan while I was asleep. All 3...

25,827 views • 4 days ago •via X (Twitter)

13 Comments

Aiden Overdorf's profile picture
Aiden Overdorf4 days ago

2am cron caught all three. the revert and fork is what makes it safe

Cline's profile picture
Cline4 days ago

This is such a good use of scheduled runs, let Cline do the boring checks at 2 AM 😄

Abdul Shakoor's profile picture
Abdul Shakoor4 days ago

forked fixes make reviews way less annoying same bug, two repair styles, one diff :)

Nargis Mita's profile picture
Nargis Mita3 days ago

Great share!

Muhammad Ayan's profile picture
Muhammad Ayan4 days ago

i'd give it a staging branch overnight production can wait till coffee exists

Arindam Majumder 𝕏's profile picture
Arindam Majumder 𝕏3 days ago

It's actually pretty cool been testing it lately:

Yi Casillas's profile picture
Yi Casillas3 days ago

这个 demo 把 agent 的价值和边界都测出来了:能找漏洞只是第一关,自动修复还得尊重现有 guardrail。尤其“最保守的 fix”这个要求很关键,不然扫描器一觉醒来把业务逻辑也重写了。

BestAIprice | The World’s Cheapest AI Tokens's profile picture
BestAIprice | The World’s Cheapest AI Tokens3 days ago

The scary part is that the agent did exactly what it was asked. Sandboxing and least privilege aren’t “later” features once code runs unattended 😬

Markandey Sharma's profile picture
Markandey Sharma4 days ago

This feels like actual automation

J's profile picture
J4 days ago

The reassuring part is the reversible loop: detect, propose a parameterized fix, restore a checkpoint, then narrow scope. For unattended scans, the missing primitive is policy: read-only by default, explicit mutation grants, and provenance for every diff. steel-dev/steel-browser is a useful adjacent substrate for controlled agent actions.

AI Mastery Guide's profile picture
AI Mastery Guide3 days ago

2am scans while you sleep, love that

Jacob Young | AI's profile picture
Jacob Young | AI4 days ago

Thanks for share

Darshal Jaitwar's profile picture
Darshal Jaitwar4 days ago

Developers finally have a night watchman

Related Videos

*autoplan* This is one of my most used workflows in pi now While working with AI agents, there is a mechanical process by which I mine the agent for ideas. This reduces an open-ended feature design or bugfixing problem to a multiple choice question Basically, I keep asking paraphrases of the question "is this the best design?" 2-3 times, and then make the agent list them out, with a preference for practicality and simplicity "Is this the most elegant and long-term production ready solution?" "Is this the holy grail?" And then a decision gate which makes the model list all options while recommending a certain one, with a preference for practicality For example, while developing a plugin for pi or openclaw, asking the holy grail often causes the model to suggest changing the plugin/extension API like "The holy grail would be for pi to implement such an such API". The decision gate helps curb such stupid ideas The good thing about this workflow is, I can just automate typing all those mining prompts, and only do the deciding after the workflow finishes Caveat: This is not foolproof. I still reject all options, propose other ones, or run the workflow multiple times until I get what I want. But this helps reduce a ton of prompting to just "autoplan this" for me I am curious: When you try this, does it give you high quality answers/designs? And if not, what should change to improve it? To try it out: Install osolmaz/pi-workflows and then when you need to design something or fix a bug, just say "autoplan this". The skill should be picked up automatically Let it finish. It will give you a summary. When you choose an option, ask it to elaborate it with more details Repo:

Onur Solmaz

15,905 views • 23 days ago