AI & Security

AI Grounding Security: Findings Built on Observed State

Turn model output into replayable security claims bound to current endpoint evidence, explicit policy, and independent closure tests.

Alex Gibson, Cofounder and Principal at Artemes AI
Alex Gibson
Cofounder, Principal
Aug 21, 2026 9 min read
Flow diagram showing observed endpoint state becoming a grounded and independently verified security decision

AI grounding security is not about making a model sound more certain. It is about making every material security claim answerable to observed state. If the evidence cannot be named, dated, and tested, the finding is not ready for action.

The problem is not that language models sometimes invent facts. The problem is that security products often hide which parts of an answer came from a source, which parts came from inference, and which parts are still unknown. That turns a useful reasoning tool into a confidence machine.

Zero hallucination is a bad product promise. No reasoning system earns that promise. A better operating goal is zero unsupported action. Models may form hypotheses, but policy, remediation, and closure should depend on evidence that another person or system can replay.

Infographic

A security claim needs a proof path

Grounding turns model output into claims that point back to named, current, and testable evidence.

Proof path for grounded AI security findingsA flow from observed endpoint state through identity and time binding, claim generation, policy review, and an independent test. Missing or conflicting evidence routes the claim to abstention.EVERY MATERIAL CLAIM SHOULD RESOLVE TO OBSERVED STATEOBSERVEprocesspackagelistenerBINDasset IDsourcetimeCLAIMfactinferenceunknownDECIDEpolicyownerauthorityRETESTfresh queryhealthclosureEVIDENCE MISSING, STALE, OR IN CONFLICTabstain, collect another fact, or route the claim to an ownerConfidence is not proof. A source, asset, timestamp, and retest are proof.

What does AI grounding security mean?

AI grounding security means constraining analysis to approved sources and requiring each consequential claim to point to evidence from the environment. The evidence bundle includes the exact asset, collection time, source, observed value, query or event that produced it, and the policy that turns facts into a decision.

Grounding does not mean placing a large pile of logs in a prompt. Volume is not context. A useful bundle resolves identity, time, relationship, and authority. It can distinguish a package in an inactive cache from a library loaded by an exposed service. It can also say when that distinction has not yet been proved.

This is the evidence layer beneath AI vulnerability management. The model reads the facts and explains a judgment. It does not get to manufacture a missing listener, owner, route, or maintenance window.

Why do ungrounded security findings fail?

Security questions mix stable reference data with volatile local state. A CVE description may stay valid for years. A process can start and stop in seconds. A network route can change during a deployment. The owner in yesterday's inventory may have left the team. When a model blends these facts without time labels, a polished explanation can be wrong before the analyst reads it.

The September 3, 2025 SANS AI survey found that 66 percent of respondents said AI systems produced excessive false positives. Only 33 percent used AI to investigate incidents, and 26 percent used it to respond. That gap is rational. Teams will tolerate a weak summary. They will not safely grant action authority to one.

Weak grounding creates four familiar failures. The model attaches evidence to the wrong asset. It treats a possible condition as an observed fact. It uses stale evidence as if it were current. Or it cites a source that supports the topic but not the actual claim. All four look convincing in a paragraph.

What belongs in a grounded claim ledger?

Do not ask the model for one narrative first. Ask it for a ledger. Each row should hold one claim and one of four labels: observed, derived, policy, or unknown. Observed claims quote machine evidence. Derived claims show the facts and rule used to reach an inference. Policy claims identify the approved rule. Unknown claims state the missing test.

Claim typeRequired proofSafe result
ObservedAsset, source, value, collection timeState exactly what the sensor returned
DerivedNamed facts and an explicit ruleExpose the reasoning for review
PolicyRule version, owner, effective dateKeep authority outside the model
UnknownThe exact missing query or decisionAbstain or collect more evidence

Bind the ledger to one decision ID. Save source hashes when possible. If a later reviewer cannot reconstruct what the model saw, the audit trail is decoration. The explanation may change after a model update. The facts should not.

How should teams collect observed endpoint state?

Start with narrow questions tied to a claim. Suppose an alert says an unknown process is listening on every interface. A verified query from the official osquery shell documentation joins the process and listener tables:

SELECT DISTINCT process.name, process.path, listening.address,
listening.port, process.pid
FROM processes AS process
JOIN listening_ports AS listening ON process.pid = listening.pid
WHERE listening.address = '0.0.0.0';

The rows prove that a named process and listener were present when the query ran. They do not prove malice, internet reachability, business impact, or owner intent. Those need separate evidence. Grounding works because it keeps the border between what one query proves and what the analyst still needs.

Freshness should follow volatility. A package record may remain useful for a day. A process or listener result may need recollection within minutes. Record the allowed age per evidence type. When the age expires, mark the fact stale and rerun the query before action.

How does a grounded analysis move from fact to action?

First, frame one decision. Ask whether a specific condition exists on a named asset and what response policy permits. Broad prompts such as "analyze this host" invite broad claims that are hard to verify.

Next, collect the minimum evidence bundle. Resolve asset identity, affected software or behavior, exposure, active controls, business owner, and collection time. Treat conflicting identifiers as a stop condition, not an inconvenience.

Then let the model draft the ledger and a decision proposal. A separate policy service checks priority, approval, target scope, allowed commands, recovery, and closure proof. Finally, collect fresh evidence after the change. The original claim closes only if the new observation contradicts the vulnerable condition and service health remains acceptable.

This sequence is stricter than ordinary vulnerability triage because the system may influence action at machine speed. The faster the path, the more visible each control needs to be.

Can retrieved evidence become an attack?

Yes. A log line, ticket, document, repository comment, or web page can contain instructions aimed at the model. NIST's adversarial machine learning taxonomy explains that indirect prompt injection uses external resources to affect system operation. It also notes that current mitigations do not provide full protection.

Treat retrieved content as data, never authority. Strip active markup. Mark source trust. Keep policy and tool permissions outside the prompt. Validate every requested action against a fixed schema and the requesting identity. A model that reads an attacker controlled ticket should not gain the right to run the ticket's text.

How do you test whether security AI is grounded?

Build a replay set from decisions your team has already resolved. Include true findings, false positives, missing telemetry, stale inventory, conflicting owners, approved exceptions, and failed remediations. Save the evidence as it existed at decision time. The goal is not to see whether the model remembers the right answer. The goal is to see whether it reaches a supportable answer from the supplied facts.

Score claims, not paragraphs. For every material sentence, ask whether the cited record supports the exact subject, condition, and time. Count unsupported claims, wrong asset joins, missing contradictions, and cases where the model should have abstained. A fluent answer with one invented exposure path fails the case.

Run removal tests. Take away the listener row and check whether the model still claims the service is exposed. Remove the owner record and check whether it invents ownership. Replace current evidence with a stale snapshot and verify that the freshness rule blocks action. These tests expose whether grounding is structural or just a citation style.

Add contradiction tests. Provide one inventory source that says version 4.2 and another that says version 4.3. The correct result is not an average or a confident choice. The system should identify the conflict, compare source authority and collection time, and request a fresh observation. Unknown is the safe state until then.

Finally, test the full action path with harmless targets. Insert hostile instructions into a ticket and confirm they cannot change tools or permissions. Attempt a command outside the approved schema. Change the target set after approval. Simulate a successful command that leaves the original condition present. Each event should stop, alert, or reopen work according to policy.

What changed for grounded AI security in 2026?

On March 23, 2026, NIST published results from a large public AI agent red team competition. More than 400 participants made over 250,000 attack attempts against 13 frontier models. At least one attack succeeded against every target model.

That development kills the idea that one model, prompt, or filter can guarantee safe grounding. Design for compromise. Keep read access separate from action rights, constrain tools, log the evidence path, and require independent verification for consequential changes.

What is the cost of requiring proof?

Proof adds work, but unsupported output adds rework. Imagine 1,200 weekly findings. If analysts spend four minutes checking the source behind each narrative, that is 80 hours. If automated grounding prepares a claim ledger and reviewers inspect only 15 percent of cases at six minutes each, review falls to 18 hours. The team recovers 62 hours without pretending review disappeared.

Measure the other side too. Track unsupported claim rate, stale evidence rate, asset mismatch, reviewer edits, abstention, action reversals, and false closure. A system that saves 62 hours but creates two production outages is not efficient.

Frequently asked questions

Can RAG eliminate hallucinations in security analysis?

No. Retrieval can supply current facts, but it can retrieve the wrong item, stale state, or poisoned content. Require claim level citations, source trust, time limits, and abstention.

What is the difference between grounding and confidence?

Confidence is a model's estimate or presentation. Grounding is an external proof path. A confident answer can be unsupported. A grounded answer shows the facts and limits behind it.

Should a model be allowed to infer missing system state?

It may propose a hypothesis, but the result must be labeled derived or unknown. Do not permit remediation or closure until an observation proves the required condition.

What is the safest first grounding project?

Start with read only evidence for one repeatable decision, such as confirming whether a vulnerable service is installed, running, and listening. Compare the ledger with analyst conclusions before granting any action.

Executive takeaway

Stop buying zero hallucination claims. Require zero unsupported action. Build a claim ledger, bind every fact to asset and time, label inference, keep policy outside the model, and retest after change. Artemes AI applies this pattern through deep endpoint context with AI driven analysis, but the control should hold for any tool you evaluate.

Begin with one decision this week. Define its evidence, freshness, owner, abstention rule, and closure test. If your system cannot show that path, it is not grounded enough to act. The related guide to LLM system analysis shows how to package the facts before judgment.

Artemes AI

Put more evidence behind vulnerability decisions

Artemes AI combines endpoint telemetry, sourced vulnerability intelligence, and analysis with practitioner review so teams can examine the evidence, missing context, and recommended next step together. We are accepting early access requests now.

Alex Gibson, Cofounder and Principal at Artemes AI

Alex Gibson

Cofounder, Principal

Alex writes about configuration drift, operational security evidence, endpoint telemetry, triage supported by AI, and the practical work of turning signals into better remediation decisions.

AI Security
Endpoint Telemetry
Contextual Scanning
Found this useful? Share it.

Get articles like this in your inbox.

Security research and occasional Artemes AI product updates.