2026-11-26 15:48 UTC

Lintsure launches beta local checks for AI-written code

state: seedheat: lowuncertainty: mediumrelevance: mediumcode-security ai-compliance coding-agentsLintsure

What is this?

Lintsure is an open-source code-checking tool promoted by its creator, DrMax, who says he has 10 years’ experience in quality assurance and compliance. A Show HN post on Nov. 20, 2026 introduced it; the linked GitHub project describes a local CLI, MCP server and GitHub Action for checking code against 74 beta rules mapped to six frameworks, including OWASP, GDPR and the EU AI Act. It supports several coding agents and says code is not uploaded. The project explicitly limits its claims: checks are pattern-based, cover code only, and are neither an audit nor legal advice. The creator reports testing on 190+ public GitHub repositories, but no independent evaluation is supplied.

Why it matters

This is a practical attempt to put security and policy guardrails directly into AI-assisted coding workflows: an agent can consult project rules before coding and scan its work afterward, locally or through CI. That could make basic checks easier to adopt, including for teams without dedicated compliance tooling. But beta rule mappings and limited pattern checks cannot establish regulatory compliance or replace expert review; the available evidence does not establish accuracy or adoption.

Current assessment

New: Lintsure is presented as available under Apache-2.0, with CLI and MCP packages, a GitHub Action, and integrations for coding tools. Its stated design is deterministic and local; the README says it checks JavaScript, TypeScript, Python, and configuration/secrets, and maps findings to six frameworks. It says the MCP server can help agents plan applicable checks and scan changes, while the Claude Code plugin adds project-rule enforcement. These are project claims from its GitHub materials, not independently validated results. The creator says he tested more than 190 public repositories and is still reducing false flags; no methodology, benchmark, or external review is provided. All rules are marked beta and based on the project’s own reading of public framework texts. The tool does not run applications, perform full data-flow analysis, scan dependencies for known vulnerabilities, or assess non-code obligations. Its stated limits are material: a clean result is not proof of compliance, certification, or audit readiness. Web results supplied no direct corroboration or substantive independent coverage of Lintsure.

Measured heat

now 0 pts/hpeak 2 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 165h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-19 19:26 (minted)⭐ origin echo-reconstructedThe HN author describes this as a self-built project: “Built this because it seemed cool”; they say they work in Quality Assurance and Compl
Lintsure on github (echo) · attributed from hn.story.50564417 · published time unknown
—
11-19 18:50first on hacker news · published · lag ?Show HN: Lintsure – Free local code check with rules from OWASP, EU AI Act
DrMax
—
11-19 18:50amplified on hacker news 👑hn.story.50564417
DrMax
peak 1 · 0 comments · 103% of case engagement
11-19 19:22our radar first saw it · lag ?discovery anchor: hn.story.50564417—
pace: p14 vs 2105 stories at the 96h mark (now 165h old) — behind adobe-max-ai-agents-creative-tools-mcp (0.5x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Lintsure – Free local code check with rules from OWASP, EU AI Act
Retrieved article excerpt

Open article · Retrieved 2026-11-19T19:23:43.821495+00:00

[Lintsure logo](https://camo.githubusercontent.com/8a10789f9f71a28106d3dc0d6722c2baf1fe380cb0e698ca19c05a27697e52e7/68747470733a2f2f6c696e74737572652e636f6d2f6170706c652d746f7563682d69636f6e2e706e67)

# Lintsure

**Catch your AI coding agent's mistakes before they ship.**  
Open-source guardrails for Claude Code, Cursor, Codex, VS Code and Gemini CLI. Lintsure keeps your agent working to the rules you set, and checks the code it writes for security and privacy problems against the standards you connect: OWASP, GDPR, the EU AI Act and more.  
Runs on your machine · Same input, same result · CLI, MCP server and GitHub Action

[CI](https://github.com/lintsure/lintsure/actions/workflows/ci.yml)
[License: Apache-2.0](https://github.com/lintsure/lintsure/blob/main/LICENSE)
[Docs](https://lintsure.com/docs)
[npm version](https://www.npmjs.com/package/lintsure)
[Latest release](https://github.com/lintsure/lintsure/releases)
[MCP server](https://www.npmjs.com/package/@lintsure/mcp)
[Node version](https://camo.githubusercontent.com/0050b7154793f76224fd0e28506e3ac1b544a7604556ae243d0b8d50192681cd/68747470733a2f2f696d672e736869656c64732e696f2f6e6f64652f762f6c696e74737572653f636f6c6f723d313431343133)
[Rules: Beta](https://camo.githubusercontent.com/e90085e17287b1c48763094ce1cda7baa4f64e98191e50a4b99a912b3b302c11/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72756c65732d426574612d423435333039)

> **Important: Lintsure is a readiness tool, not an audit, a certification or legal advice.**
> Its rules reflect our reading of the publicly available text of each framework, and they check **code only**. Work outside code, such as policies, training, contracts and evidence, still has to be done. Have a qualified person review the results before any audit, certification or decision. See [DISCLAIMER.md](https://github.com/lintsure/lintsure/blob/main/DISCLAIMER.md).

## What it does

Lintsure sits between your AI coding agent and your codebase. It does three things:

1. **Checks the code your agent writes.** 74 rules look for problems that AI-written code often has: secrets committed to source, databases without row level security, personal data written to logs, AI output used without a human check, agent configs that run remote code, and more. It reads JavaScript, TypeScript and Python, plus config and secret checks for every file.
2. **Maps each finding to the standards you connect.** Six frameworks are built in: OWASP Top 10, OWASP LLM Top 10, CWE Top 25, GDPR, the EU AI Act and the EU Cyber Resilience Act. You pick which ones apply in `lintsure.config.yaml`.
3. **Keeps your agent on your rules.** The MCP server lets the agent ask which checks apply before it writes code (`plan_checks`) and scan its own work before it says it's done. The [Claude Code plugin](https://github.com/lintsure/claude-plugin) adds Drift Guard, which holds the agent to the rules you write in `.lintsure/rules.yml`.

Every finding shows:

- the **file and line**
- a **status**: Gap, Partial, Met or Outside code
- **every control it touches**, across every framework you check
- a **suggested fix** and a plain **auditor note**

It also lists what code can't prove (access reviews, training records, contracts), and it can write a multi-page **assessment report** with a human review and sign-off page (`--report`).

**Common questions it answers:** Is there a security scanner for code written by Claude Code or Cursor? How do I stop my AI agent from committing secrets? Is there an MCP server that checks code against OWASP or GDPR? How do I make my coding agent follow project rules?

```
✓ 3 findings · 2 gap · 1 partial · 13 rules met · 22 outside code
partial  src/billing.ts:4  Data sent over plain HTTP
gap      src/config.ts:2   Secret or private key committed to source
gap      src/users.ts:5    Personal data written to logs
```

## Built to inform, not to decide

- **Never uploads your code.** The engine has no network code. A test fails the build if any appears.
- **Same input, same result.** The Checker is a fixed rule engine, not a language model.
- **No fake green ticks.** Only the Checker can mark a control Met, and Met only means the rules found no problem in the files they read.
- **Never decides for you.** Every report and every MCP reply ends with the disclaimer and the next steps a person still needs to take. The MCP server tells coding agents not to call you compliant, certified or ready, not to make decisions, and to ask before changing anything. Tests check that Lintsure's own wording never claims a verdict.

## What it doesn't do

We'd rather say this up front than have you find out later:

- **Not a pentest.** It reads source files. It doesn't run your app, send requests to a live site or test a deployed server.
- **Not a full code analyzer.** Rules are pattern checks on lines and statements, plus a few checks across files. They don't follow data through your whole program, so some findings are marked Partial for a person to confirm.
- **Not a dependency scanner.** It flags risky install patterns and unpinned versions, not known vulnerabilities in the packages you use.
- **Not an audit or legal advice.** A Met control means the rules found no problem in the files they read, nothing more.

**Using it with an AI agent:** Lintsure is a defensive review of code you own. If you ask an agent to run it, say that ("review my own repo against OWASP Top 10 and fix what you find"), which describes the work accurately.

## Try it

> **Status: Beta.** All rules are in Beta: their mappings are our own reading of the public texts, not independently reviewed.

```
npx lintsure scan
```

Add it to the coding agents this project uses (Claude Code, Cursor, VS Code, Gemini CLI). It shows the change first and backs up any file it edits:

```
npx lintsure setup          # preview
npx lintsure setup --yes    # write it
npx lintsure status         # check Node, config, rules and agents
```

Or add it yourself in Claude Code: `claude mcp add lintsure -- npx -y @lintsure/mcp`.

From source: `git clone`, `npm install`, `npm test`, then `node packages/cli/dist/src/index.js scan /path/to/your-app`.

Then ask: *check this repo for compliance*. Setup for Cursor, Codex and Devin Desktop (formerly Windsurf), every CLI flag, the report format and the full rules reference are in the **[docs](https://lintsure.com/docs)**.

Run it on every pull request with **[lintsure/action](https://github.com/lintsure/action)**.

**Docs offline:** the `@lintsure/core` package includes plain Markdown docs (`docs/rules.md`, `docs/frameworks.md`, `docs/agents.md`), generated from the rules themselves, so a coding agent can read them from `node_modules/@lintsure/core/docs` without going online.

## What's inside

| Path | What |
| --- | --- |
| `packages/core` | Finding schema, 74 rules, framework knowledge, scan, config reader, report writer, policy fingerprint, pack loader, safety wording |
| `packages/cli` | The `lintsure` command: `scan`, `baseline`, `init`, `info`, `setup`, `status`, `export` |
| `packages/mcp` | MCP server: `scan`, `plan_checks`, `classify`, `explain_framework`, `explain_rule` |
| `fixtures/` | Planted problems, near misses and a config example used by the tests |
| `scripts/mcp-smoke.mjs` | Starts the MCP server: every reply carries the disclaimer, bad input is rejected, the tool list stays small |
| `scripts/cli-smoke.mjs` | `setup` and `status` in a temporary project |
| `scripts/check-sources.mjs` | Checks the real-incident links on rules still answer (run before a release) |

## Get it from the official places only

Lintsure is published only as `lintsure`, `@lintsure/core` and `@lintsure/mcp` on npm, from [github.com/lintsure](https://github.com/lintsure), and at [lintsure.com](https://lintsure.com). A security tool is a good target for lookalikes: a repo or package with a similar name is not ours.

## Help Lintsure grow

Lintsure is free and built in the open. If it helped you:

- ⭐ **Star this repo**, so more teams can find it
- **Share it** with a founder or engineer who's facing an audit
- **[Send a review](https://lintsure.com/review)** if you run it at your company. Good or bad, we read every one
- **[Request a demo](https://lintsure.com/demo)** of the team platform (history, PR checks, evidence log, expert review)

## Get help

- Questions: [email protected]
- Support: [email protected]
- Security issues: see [SECURITY.md](https://github.com/lintsure/lintsure/blob/main/SECURITY.md). Please don't open a public issue.
- Bugs and ideas: [open an issue](https://github.com/lintsure/lintsure/issues)

## What's new

See [CHANGELOG.md](https://github.com/lintsure/lintsure/blob/main/CHANGELOG.md) or [lintsure.com/changelog](https://lintsure.com/changelog).

## Contributing

See [CONTRIBUTING.md](https://github.com/lintsure/lintsure/blob/main/CONTRIBUTING.md). Every rule needs a planted example, a near miss, and a link from the framework knowledge; `npm test` checks all of it.

Everyone taking part follows the [code of conduct](https://github.com/lintsure/lintsure/blob/main/CODE_OF_CONDUCT.md). Our accessibility commitment, and how to report a barrier, is in [ACCESSIBILITY.md](https://github.com/lintsure/lintsure/blob/main/ACCESSIBILITY.md).

## License

[Apache-2.0](https://github.com/lintsure/lintsure/blob/main/LICENSE). Contributions are accepted under the [DCO](https://developercertificate.org/): sign off your commits with `git commit -s`.
DrMax10
🟧 echo.github ⭐The HN author describes this as a self-built project: “Built this because it seemed cool”; they say they work in Quality Assurance and ComplLintsure——

Interpretation history

Decision trace