v0.3.11
Know the policy, guard the agent

Every report now names the exact policy it ran under with a short code, so two scans can be compared at a glance. Seven new checks look at what coding agents are told and allowed to do, at env files, at sign-in routes and at AI agent loops. Findings in JavaScript and TypeScript now say which route reaches them, Partial findings say what Lintsure couldn't see, and new commands set Lintsure up in your coding agents and check that it's ready.
New checks
- Agent settings (Claude Code hooks, MCP servers, Cursor, VS Code, Gemini CLI) that download and run code
- Agent instruction files (skills, AGENTS.md, CLAUDE.md, Cursor and Copilot rules) that tell the agent to ignore its instructions, hide something from you, send secrets out, or download and run a script
- Agent settings committed to the repo that skip every permission prompt
- A project that uses .env files but doesn't keep them out of git
- A login, sign-up or password reset with no rate limit in sight (held back by default: a firewall may already cover it)
- An AI agent loop with no real step limit
- A route that lets the browser choose the AI's system instructions
Clearer findings
- A policy code in every report (Markdown, JSON, SARIF and the terminal): same rules and settings, same code on any machine
- Findings in JavaScript and TypeScript say which route, handler or function reaches the file, with the chain of imports
- Every Partial finding says what Lintsure couldn't see, so you know what to check
- Where the fix is unambiguous, the finding carries the exact change, shown as a diff and offered to editors through SARIF. You approve it; Lintsure never writes it
- Three checks link to a real public incident of the same kind of problem
- AI checks now recognise the Vercel AI SDK (images, speech, video, agents), and the analytics and public-key checks know Vercel's own libraries
Setup and tools
- lintsure setup adds Lintsure to the coding agents a project uses, showing the change first; --undo takes it out again
- lintsure status checks Node, your settings and agents, and talks to the MCP server to confirm it answers
- plan_checks: describe a feature to your agent before building it, and see which checks it is likely to meet
- lintsure export --otlp-json writes guard catches and scans as an OpenTelemetry file for your own tools. Nothing is sent
- The npm package now includes the rules and framework docs, so agents can read them offline
Fewer false alarms
- A formatter splitting a line over several lines no longer causes false alarms in the code-from-a-string check
- An error message inside an AI prompt no longer counts as user text, and saving a chat in onFinish counts as keeping a record