Drift Guard →
Before or after each edit
Checks each edit against the rules you wrote and against the code that is really in your project: imports of missing files, calls to functions that don't exist, test tampering and more.
The Lintsure plugin adds four guards to a coding session. Each one is a pattern check that runs on your machine and gives the same answer every time. No AI model decides anything.
Before or after each edit
Checks each edit against the rules you wrote and against the code that is really in your project: imports of missing files, calls to functions that don't exist, test tampering and more.
Before each shell command
Sends risky commands to your permission prompt with the reason and a safer option. It asks. You decide.
It reads commands the way the shell runs them, so quoting, sudo, bash -c and eval don't hide them. Text that only mentions a command, like grep "rm -rf", passes.
After each tool call
Tells the agent, once, when it has made the same call five times with no code change in between: the same failing command, or the same file read again. The agent changes approach. An edit resets the count.
Turn it off with LINTSURE_LOOP=off.
Before shell commands and edits
Asks you before the agent pulls in known AI attack tooling or infrastructure named in public advisories.
Three more things the plugin does alongside the guards.
Session start and each prompt
Puts your rules back in front of the agent after a reset or when a long conversation is compacted, kept short. With a workspace it also brings back your team's decisions and open findings.
When the agent stops
One local scan of the files the session changed, against the six built-in rule packs. Findings that depend on context come with what to check first.
Whenever a guard catches something
Each catch and decision is written to .lintsure/activity.jsonl: the rule, the file, the line and what happened. Never code or secrets.
Lintsure reports what its checks found. It is not an audit, a certification or legal advice.
/plugin marketplace add lintsure/plugin/plugin install lintsure@lintsureThat's all. It runs on your machine, needs no account and sends nothing to lintsure.com. A hosted workspace is optional. The same guards run in Cursor, Gemini CLI and Codex through adapters in the plugin's repo.
Your privacy choices
We use one storage item to remember this choice. With your OK, we'd also count visits to see which pages help. No ads, no selling data. Privacy notice
Strictly necessary
Remembers your privacy choice. Always on.