Wednesday 02 December 2026 22:11:29 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

Retrieval-Augmented Generation (RAG)

A pattern that lets an AI model fetch external knowledge at inference time.

Retrieval-Augmented Generation, or RAG, is an AI pattern that fetches external information at inference time and uses it to generate a response. Instead of relying only on what the model learned during training, the system searches a knowledge source such as documents, logs, tickets, or a vector database, then combines the retrieved content with the prompt. This helps produce answers that are more current, specific, and grounded in organizational data.

In cyber security, RAG is useful for security copilots, analyst search, and incident response because it can surface internal procedures, threat intelligence, or asset details without retraining the model. But it also creates new risks: attackers may try prompt injection in retrieved documents, poison the knowledge base, or exploit weak access controls to expose sensitive data. Defenders should treat the retrieval layer as part of the attack surface and enforce filtering, permissions, source trust, and logging.

← WIKICROOK index