cd /news/ai-agents/a-structured-security-review-of-your… · home › topics › ai-agents › article
[ARTICLE · art-158131] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

A structured security review of your own repo, from the terminal

A developer on the free-pi project, a free terminal coding agent, has bundled Cloudflare's open-source MIT-licensed security-audit skill, which maps a codebase, hunts for issues by coverage, attempts to disprove each candidate finding, and records results as structured confirmed, needs_validation and rejected entries checked against a JSON schema. Because free-pi lacks the parallel sub-agents and OS-enforced sandbox the skill's README assumes, a single agent both raises and judges each candidate, so the developer advises users to validate every finding themselves and to re-run audits after fixes since one run reportedly found roughly half of what repeated runs found.

by read2 min views1 publishedOct 26, 2026

Most "AI security review" prompts give you a pile of plausible-sounding warnings. Cloudflare's open-source security-audit skill (MIT) describes a more disciplined method: map the code, hunt by coverage, try to disprove every candidate, and write findings as structured records.

I work on free-pi, a free terminal coding agent that bundles the skill's audit method and reference checklists. This post explains the method and how to check its output. It is a guide, not a recorded run, and the commands are illustrative. Only review code you own or have permission to test.

architecture.md and coverage-ledger.json. findings.json with confirmed, needs_validation and rejected records, checked against a JSON schema.REPORT.md, FINDINGS-DETAIL.md and NEEDS-VALIDATION.md. The skill also has reference files of attack classes for web and auth protocols, client-side code, supply chain, cloud deployment, memory safety and more.

The skill's README expects an agent that can run parallel sub-agents, so the agent that finds a problem is never the agent that checks it, plus an OS-enforced sandbox for running target code. free-pi has neither. It runs the skill in a single agent that follows the method itself.

So the independent checking in the skill's design does not happen. The same agent raises and judges each candidate, and you should validate every finding yourself. Do not ask it to build or run code from a repo you do not trust.

From your repo root:

security audit this codebase

A direct request asks for the full method; narrower questions get lighter guidance. The skill's default output directory is ~/security-audit-skill/<repo-name>/run-<N>, outside your repo.

The skill's authors say a single run found roughly half of what repeated runs found, so run it again after your first round of fixes.

It reads code. It cannot see your cloud settings, registry permissions or branch protection. Treat every finding as a lead to verify, not a verdict.

To try it: npx free-pi-cli, sign in with GitHub, and ask for a security audit. More at freepi.ai.

── more in #ai-agents 4 stories · sorted by recency
── more on @cloudflare 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/a-structured-securit…] indexed:0 read:2min 2026-10-26 · —