Skip to content
AI Security Platform

AI Security Company for AI & LLM Systems

LLM pentest, adversarial Red Team, ISO 42001 governance and continuous monitoring — designed for the real AI stack, not adapted from web testing.

Schedule an AI diagnostic
21Incidents 2025–26
$234BMarket by 2032
74%Companies with AI in prod
Definition

What is an AI security company?

An AI security company protects artificial intelligence and LLM systems from adversarial attacks, prompt injection, data poisoning, and model theft. Berghem is a Brazilian AI security company serving LATAM, delivering AI/LLM penetration testing, Red Team for AI, and governance aligned with ISO 42001, the EU AI Act, and NIST AI RMF.

Agentic systems widen this attack surface — to secure autonomous agents with tool and memory access, see AI agent security.

Provider

Why choose Berghem as your AI security company

Berghem is an AI security company headquartered in São Paulo, Brazil, with an offensive-security team focused on AI and LLM systems and delivery across Brazil and Latin America.

Standards-aligned practice

Our work is aligned with ISO/IEC 27001 for information security management and ISO/IEC 42001 for AI management systems, and mapped to the EU AI Act and NIST AI RMF.

Specialist AI red team

A dedicated team of offensive-security specialists tests LLMs, autonomous agents, and RAG pipelines using the OWASP LLM Top 10, MITRE ATLAS, and our Promptware Kill Chain.

Brazil and LATAM coverage

We serve organizations across Brazil and Latin America, with European delivery through Berilo, combining local presence with the regulatory context of each market.

Proven across regulated sectors

We support finance, technology, and other regulated sectors where AI systems carry material risk, delivering reproducible evidence and actionable remediation.

Fundamentals

LLM security

LLM security is the discipline of protecting large language models and the stack that puts them into production — system prompts, guardrails, retrieval pipelines (RAG), tool calls, memory, plugins and the outputs that feed downstream systems. Unlike traditional applications, an LLM does not separate data from instructions: any text that enters the context can be interpreted as a command. This blurs the trust boundary and creates classes of attack that do not exist in conventional software.

In practice, securing an LLM means treating every point where untrusted text meets the model as an attack surface. A document retrieved by RAG, the conversation history, the content of a page the agent browses, the return value of a tool — all of them can carry malicious instructions. That is why Berghem assesses the system end to end, not just the model in isolation: the risk almost always lies in how the model is integrated, orchestrated and exposed.

LLM security rests on three complementary fronts. The offensive front — LLM pentesting and adversarial Red Team — exercises the system with prompt injection, jailbreaks, system prompt extraction, insecure tool invocation and adversarial inputs, producing reproducible proof of exploitation. The defensive front hardens guardrails, validates and sanitizes outputs, applies least privilege to tools and caps resource consumption. The governance front ensures that decisions, training data and suppliers are traceable and auditable.

Each dimension calls for its own controls. Input handling must assume that all text in the context is hostile until proven otherwise. Output handling must validate, escape and never blindly execute what the model returns. The tool layer must grant the smallest possible set of permissions and require confirmation for sensitive actions. Training and fine-tuning data need verifiable provenance to resist poisoning. And consumption — tokens, calls and cost — must have limits that prevent abuse and denial of service.

An LLM's threat model differs fundamentally from that of a traditional API. In an API, the boundary between code and data is rigid and known; in an LLM, that boundary is probabilistic and depends on the content itself. An attacker needs neither a memory flaw nor an SQL injection — it is enough to craft text persuasive enough that the model prioritizes the malicious instruction over the system policy. Indirect prompt injection makes it worse: the hostile payload can sit in an email, a web page, a PDF or a database record that the model merely reads. That is why an LLM's attack surface includes everything that can end up in its context, not just the interface exposed to the end user.

Berghem's approach to LLM security starts with a survey of the architecture and data flows, followed by AI-specific threat modeling using the OWASP LLM Top 10, MITRE ATLAS and the Promptware Kill Chain. From there we run targeted offensive tests — direct and indirect prompt injection, jailbreaks, system prompt extraction, tool abuse and RAG poisoning — and document each exploitation with reproducible evidence. We close the loop with remediation recommendations prioritized by risk and, when the client wants it, continuous monitoring that detects regressions and new vectors as the system evolves. The goal is not just to find flaws, but to leave the system measurably harder to compromise.

Input handling

Every text that reaches the context — user prompt, RAG document, tool return — is treated as potentially hostile, with a clear separation between trusted instructions and untrusted content.

Output handling

The model's responses are validated, escaped and never blindly executed by downstream systems, preventing secondary injection, XSS and improper code execution.

Least privilege for tools

Agents receive the smallest set of permissions needed; sensitive actions require confirmation and are logged for audit.

Data provenance

Training, fine-tuning and RAG data have verifiable origin, reducing the risk of data and model poisoning.

Consumption limits

Token, rate and cost quotas protect against unbounded consumption, economic abuse and denial of service to the model.

Governance and auditability

Decisions, model versions and incidents are traceable, supporting compliance with ISO/IEC 42001, the NIST AI RMF and the EU AI Act.

OWASP LLM Top 10 2025

LLM vulnerabilities

The most critical vulnerabilities in LLMs are catalogued by the OWASP Top 10 for LLM Applications 2025. Berghem maps every finding to these identifiers, prioritizing the classes with the greatest impact on production systems.

LLM01

Prompt Injection

Malicious inputs — direct or indirect, via documents, RAG or tools — override instructions and divert the model's behavior, bypassing guardrails and policies.

LLM02

Sensitive Information Disclosure

The model reveals sensitive data: PII, secrets, the system prompt or proprietary content present in the context, in training or in retrieved sources.

LLM04

Data and Model Poisoning

Manipulation of training, fine-tuning or embedding data inserts backdoors and biases, compromising the integrity of responses in a way that is hard to detect.

LLM06

Excessive Agency

Excessive permissions, autonomy or functionality let the model take harmful actions — accessing systems, moving data or triggering operations — beyond what was intended.

LLM10

Unbounded Consumption

The absence of token, rate and cost limits opens the door to denial of service to the model, economic abuse and model extraction through mass queries.

Autonomous agents

AI agent security

AI agents go beyond replying with text: they plan, decide and act — invoking tools, browsing the web, executing code and keeping memory across steps. Each of these capabilities widens the attack surface. An agent compromised by indirect prompt injection can exfiltrate data, chain dangerous tool calls or persist malicious instructions in its memory, turning a single hostile input into a chain of autonomous actions. Securing agents requires least privilege per tool, human confirmation for sensitive actions, memory isolation and an auditable record of every decision. Go deeper into AI agent security to understand how we assess and harden agentic systems in production.

Quality assurance

AI Security

Every security testing provider promises to find vulnerabilities. Few can guarantee that each finding in the report is real, exploitable and correctly prioritized — that is the difference between a report that drives action and a report that drives rework.

A single false positive reaching the client is not operational noise: it is erosion of trust. The client loses hours investigating something that does not exist, questions every other finding by association, and the reputational cost outweighs the value of the entire engagement. Our methodology starts from a non-negotiable premise — no finding reaches the client without mechanical evidence that makes it defensible.

For traditional applications and APIs, the same rigor guides our pentest — Berghem's manual penetration testing across Silver, Gold and Diamond tiers.

The problem

Why most assessments fail

Most tools treat "finding" as a single category. We treat it as four distinct problems — because each one destroys value in a different way.

FP

False Positive

A finding that does not exist in the environment. It erodes trust directly.

FN

False Negative

A real vulnerability that goes unreported. The worst case: the client is exposed without knowing.

VP-I

Irrelevant True Positive

The vulnerability exists, but is not exploitable in that context. Operationally, it costs the same as an FP.

VP-MP

Mis-Prioritized True Positive

500 real findings without prioritization are worth, in practice, the same as 500 false positives.

Generic assessments only fight the FP. We address all four.

The engineering

The engineering behind the guarantee

The differentiator is not a marketing promise — it is a pipeline with five components that work together.

01

Client Environment Profile

Before any test, we map what is installed and authorized by policy, which controls are active and with what coverage, how the network is segmented and how identity/MFA are configured. That is what lets us distinguish "RustDesk installed" from "RustDesk authorized by policy, with verified hash". Without that context, the two look identical.

Hard rule: no finding is finalized with a trust profile below 60%.
02

FP Risk Score (0–100)

Each finding gets a score computed from six independent blocks — authorized inventory, behavior of active controls, formal allowlist, real exploitability in the segment, identity/MFA configuration and historical sector pattern. The score does not decide, it informs.

< 40 · standard flow40–69 · human validation> 70 · blocked until decision
03

Analyst Decision, traceable

The analyst sees the score, the reasons behind it and four options mapped directly to the taxonomy: confirm, reject as FP (with mandatory justification), reclassify as irrelevant or re-prioritize. A high score requires a justification recorded for audit.

04

Sector Learning

Every decision feeds a database of patterns by sector and size. The system learns, for example, that a given behavior is legitimate in 80% of mid-sized banks but only 17% of hospitals — and applies that knowledge from day one on a new client. Confidence in the pattern grows with volume and decays over time (18-month half-life), tracking the changing landscape.

05

Automatic Update with Governance

Decisions enter an asynchronous queue, are aggregated every 6 hours in staging and only reach production after six quality gates: minimum volume, analyst diversity, engagement diversity, individual bias detection, temporal consistency and abrupt-change check. A daily monitor automatically downgrades rules that start to diverge from recent behavior.

For you

What this means for you

Line-by-line defensible report

Each finding ships with the mechanical evidence that justifies its presence.

Less rework for your team

VP-I and VP-MP are filtered out before they become tickets.

A learning curve that becomes an asset

The more engagements in your sector, the more accurate the result — without rebuilding from scratch.

Complete audit trail

Every decision is recorded, ready for compliance.

74%BR companies using AI in production
$234BAI security market by 2032
21Promptware incidents 2025–26
57%Attackers maintain persistence
Promptware Kill Chain

Seven stages
One unified attack framework

Adapted from the research of Schneier et al. (2025), our Promptware Kill Chain maps how real adversaries compromise AI systems — from initial prompt injection to total exfiltration.

Permission tiers L1-L5: escalation crossed the sandbox boundary and reached L3 (system prompt)PERMISSION TIERL1 · read-only · safe✓L2 · tool calls · sandboxed✓sandbox boundaryL3 · system prompt⚠ ESCALATEDL4 · admin · file systemL5 · root · destructive
Recon enum: tools, tables and environment variables# recon: tools · data · config$ list_tools()→ search · send_emailread_file · exec_sql$ describe_db()→ users · billingapi_keys · secrets$ env.dump()→ DB_URL=postgres://…→ AWS_KEY=AKIA…→ surface mapped: 4 tools · 4 tables · 2 keys
Stage VII — actions on objective: data exfiltrated, actions performed, estimated impactDATA EXFILTRATED• 12,847 customer records• 47 API credentials• Internal roadmap (Q4 2026)ACTIONS PERFORMED• Email forwarded × 23• Wire transfer authorized × 1• Backdoor planted × 4 systemsEST. IMPACT$2.4M
Market standards

Aligned with what matters

OWASP LLM Top 10MITRE ATLASNIST AI RMFISO 42001Promptware Kill Chain

Go deeper on AI security

Specialized tracks to secure and govern AI systems.

Frequently Asked Questions

What is an AI/LLM penetration test?
An AI/LLM penetration test is a structured security assessment of large language model systems and the infrastructure around them. Unlike traditional pentests that target code and servers, an AI pentest evaluates prompt-handling logic, guardrails, tool calling, retrieval pipelines, memory, model outputs, and the full application stack that exposes the model. Berghem tests using the OWASP LLM Top 10, MITRE ATLAS, and our proprietary Promptware Kill Chain, attempting prompt injection, jailbreaks, data leakage, model theft, unsafe tool invocation, and adversarial inputs. The result is a clear picture of real-world AI risk with reproducible proofs of exploitation.
What is the Promptware Kill Chain?
The Promptware Kill Chain is a 7-stage attack framework based on the research by Schneier et al. (2025) and adapted by Berghem for practical offensive use, modeling how adversaries compromise AI systems — from initial access through prompt injection or malicious plugins, to privilege escalation, reconnaissance, persistence, command and control, lateral movement, and actions on objectives. We validated the framework after documenting 21 real-world promptware incidents in 2025–2026, 15 of which showed four or more kill chain stages and 57% of which maintained active persistence. It gives defenders a shared language to describe AI attacks and Berghem a repeatable methodology for red teaming.
Is OWASP LLM Top 10 covered?
Yes. Every Berghem AI/LLM penetration test explicitly covers the full OWASP LLM Top 10, including prompt injection, insecure output handling, training data poisoning, model denial of service, supply chain vulnerabilities, sensitive information disclosure, insecure plugin design, excessive agency, overreliance, and model theft. We also map findings to MITRE ATLAS, NIST AI RMF, and ISO 42001 where applicable. Clients receive a coverage matrix showing which techniques were exercised, which controls held, and which require remediation — giving leadership and engineering teams an unambiguous view of AI risk against the industry standard.
How long does an AI security assessment take?
A typical AI security assessment takes between two and six weeks, depending on scope and depth. A focused LLM penetration test against a single chatbot or RAG pipeline usually completes in 2–3 weeks. A comprehensive AI red team exercise, covering multiple agents, tools, and data sources using the full Promptware Kill Chain, can take 4–6 weeks. AI governance and assessment engagements — where we also review architecture, data flows, and regulatory posture — are scoped to the organization's size. We always agree timelines and rules of engagement with the client before work begins.
Do you handle compliance with the EU AI Act?
Yes. Berghem helps organizations meet emerging AI regulatory obligations, including the EU AI Act, Brazil's PL 2338 AI bill, ISO/IEC 42001, and NIST AI RMF. Our AI governance practice maps your AI systems against the EU AI Act risk classification — prohibited, high-risk, limited, and minimal — and identifies the technical and organizational controls required for each category. We support risk management, documentation, transparency, human oversight, post-market monitoring, and conformity assessments. For high-risk systems, we align our offensive testing with EU AI Act Article 15 requirements on accuracy, robustness, and cybersecurity.
What is an AI security company?
An AI security company is a specialized cybersecurity provider that protects artificial intelligence and LLM systems throughout their lifecycle. Instead of only testing traditional code and infrastructure, it assesses prompt handling, guardrails, tool calling, retrieval and memory, model outputs, and the governance around AI. Berghem is an AI security company that combines AI/LLM penetration testing, Red Team for AI, and governance aligned with ISO 42001, the EU AI Act, and NIST AI RMF, so organizations can adopt AI without inheriting unmanaged risk.
Is there an AI security company in Brazil and LATAM?
Yes. Berghem is an AI security company headquartered in São Paulo, Brazil, serving clients across Brazil and Latin America, with European delivery through Berilo. We provide AI/LLM penetration testing, Red Team for AI, and AI governance in Portuguese, Spanish, English, and Italian, aligning each engagement with local regulatory context — including the LGPD in Brazil and the EU AI Act in Europe — and with international standards such as ISO/IEC 42001 and NIST AI RMF.
How is an AI security company different from a traditional pentest company?
A traditional pentest company focuses on code, networks, and applications, using frameworks such as the OWASP Top 10. An AI security company adds the failure classes unique to machine learning and LLM systems: prompt injection, jailbreaks, data poisoning, model theft, insecure tool use, and excessive agency in autonomous agents. Berghem tests both surfaces, applying the OWASP LLM Top 10, MITRE ATLAS, and the Promptware Kill Chain alongside conventional pentest methodology, so the assessment reflects how AI systems actually fail in production.

Start your AI security journey

Whether you're deploying your first LLM or managing enterprise AI at scale, our team is ready to help you secure it.

Get in Touch