Repository navigation
0.3.9 · Fewer, truer findings
Most findings on real projects were not real problems: in a sample of 270 findings reviewed one by one against the code from 139 public repositories, 28 were. A tool that cries wolf gets switched off, and then the real findings are ignored too. This release measures every loud rule and shows only what is usually right.
Confidence levels
- Every rule is now high or medium confidence, set from findings reviewed one by one on the 139 repositories. A normal run lists high-confidence findings and counts the rest: "47 more at medium confidence: run with --all". Use
--all,show: allin the config,all: truein MCP orshow-all: truein the Action to see them. - 25 rules are medium confidence for now, including raw HTML, empty catch blocks, SQL and shell commands built from strings,
eval, AI logging and output limits, and JWT checks. Most were real in one finding of five or fewer. Samples for some rules are small (5 or 6 findings), so each rule is measured again every release and moves back when a fresh sample shows it is usually right. - Secrets found in test and fixture files are held back the same way: none of 15 sampled was real.
- Result on the 139 repositories: a default run lists 1,366 findings instead of 5,947. Of the reviewed findings it still lists, 58% are real, up from 16%. Every finding reviewed as real in 0.3.8 is still found, with
--allwhere it is medium confidence.
Rules that changed
cors.any-originreports only the dangerous pairing: an open or reflected origin together with credentials. An open origin alone is normal for a public API (none of 19 sampled was a problem), as in CodeQL's CORS check.session.cookie-insecureneeds a cookie being set nearby. A baresecure: falseis usually a client, proxy or database option. CSRF cookies are meant to be readable.pii.in-urlno longer reports tokens, which OAuth and vendor APIs put in URLs by design, or placeholders such as[YOUR-PASSWORD].sql.string-builtskips migrations folders: schema text the team writes and runs once.xss.raw-htmltreats anysanitize...()oresc...()/escape...()helper as escaping.secret.in-sourceskips translation files, which say "API key" in every language.- Code that doesn't ship: top-level
scripts/folders,test-*.jsscripts,test-utilsfolders and agent tooling (.agents/,.claude/,.cursor/) are checked for secrets only, like tests. They were the largest single source of false alarms (44 of 242). Shell scripts inscripts/still count, since they are often the installer people run.
New: check only what changed
lintsure scan --diff origin/mainlists only findings on lines changed since that base. The GitHub Action does this on pull requests by default (changed-only: auto).
New: setup and settings that explain themselves
lintsure initasks three questions (what to check, does the app use AI, EU users) and writeslintsure.config.yaml. It never overwrites a file and never runs in CI.lintsure infoshows the settings a scan would use and where each came from.- The config file takes
rules:to switch a rule off or change its risk level,show: all, and inline lists such asframeworks: [gdpr, owasp-top10]. Unknown settings, unknown rule ids and unreadable lines now stop the CLI with exit code 2. Before,frameworks: [gdpr]was silently ignored and all six frameworks ran. - Rules switched off are listed in the report and the record.
New: a "Not covered" section in every report
- It lists what this run did not look at: medium-confidence findings held back, rules switched off, ignored paths, files checked for secrets only, lines outside the diff, and the fixed limits (one file at a time, no runtime behaviour, secret and config checks only beyond JavaScript, TypeScript and Python). No finding in a place does not mean no problem there.
MCP: a reply an agent can use
scannow returns a short list by default: Gaps first, each with file and line, rule, risk level and a one-line fix, then counts and Not covered. 200 findings used to produce about 129,000 tokens; the default reply now lists 25.- New inputs:
files,rules,status,limit,allandformat(fullgives the complete report and JSON). After a fix, callscanwith the file and rule to confirm it is gone.
New: a triage skill for coding agents
- The MCP server now offers a
triageprompt (in Claude Code:/mcp__lintsure__triage), so every MCP client gets it with nothing to install, and the server's instructions point agents to it. The same text is inskills/lintsure-triage/SKILL.md, and a test keeps the two equal. - It teaches Claude, Codex or Cursor to sort each finding into confirmed, not a problem or needs a person, by following where the value comes from, what checks it, and where it ends up. It reads code only and changes nothing without the user's yes. Its approach follows the triage method in OpenAI's Codex Security (Apache-2.0).
SARIF
- Results now carry a level by risk (high, medium, low) and rules carry
security-severityandprecision, so GitHub code scanning can rank them.
Scan time
- 313 seconds for the 139 repositories (305 in 0.3.8).