Skip to content

AI makes a decision about a person with no human check in the code

Partialhigh severity · reads .ts .tsx .js .jsx .mjs .cjs .pyBeta

Credit, hiring, admission and similar decisions about people are high-risk under Annex III. Marked Partial: a review step may exist elsewhere. When Lintsure finds this, it marks it as Partial: it may be fine, depending on context only you can confirm.

What it looks like

A line Lintsure flags in its own test app:

// src/ai.ts
const decision = model.predict(features) > 0.7 ? "approved" : "rejected";

How to fix it

Route the result to a review step where a person can confirm or override it, and record who did.

Through a coding agent, Lintsure suggests the change and waits. Nothing is edited until you approve it.

Controls it relates to

  • EU AI ActArt. 14Human oversight
  • GDPRArt. 22Automated individual decisions

What the framework asks

EU AI Act Art. 6 + Annex III: Is it high-risk?

AI used for things like credit, hiring, education, essential services or biometrics is high-risk unless it only does a narrow, preparatory task and doesn't really shape the outcome.

Evidence a reviewer may ask for: Your reasoning for the risk tier, written down.

EU AI Act Art. 14: Human oversight

A person must be able to understand the output, ignore it, override it or stop the system.

Evidence a reviewer may ask for: The review or override step, and who uses it.

GDPR Art. 22: Automated decisions

People have the right not to be subject to fully automated decisions with legal or similarly big effects, unless an exception applies and safeguards like human review are in place.

Evidence a reviewer may ask for: The human review step and how people can contest a decision.

Summaries are our own reading of the public texts, not the official wording.

Read more: The EU AI Act for developers

Check your code for this

Runs on your machine. Your code is never uploaded.

npx lintsure scan

Quickstart · Use it in Claude Code or Cursor

This rule is in Beta: its mapping to framework controls is waiting for review by a qualified compliance professional. Lintsure is a readiness tool, not an audit or legal advice. A finding, or the lack of one, doesn't make you compliant. Disclaimer

Related rules