Documentation / Reference
Frequently asked questions
On this page
- Scanning
- Which chatbots can Shield test?
- Do I have to change the chatbot's code?
- Can I test a chatbot that runs on my machine or on a private network?
- How long does a scan take?
- My scan stopped halfway. Did I lose it?
- Can I run Shield in a CI/CD pipeline?
- Results
- How is the score calculated?
- Why do two scans of the same chatbot give different scores?
- What is the difference between the LLM judge and the detection patterns?
- What are incidental findings?
- Fixes and evidence
- What is the difference between retest and verify-claims?
- Is the evidence bundle signed?
- Does a good score make us compliant with the EU AI Act or DORA?
- Running Shield
- Where do the chatbot's answers go?
- What does it cost to run a scan?
- Who can see my scans?
- How do I get an account?
- My API key stopped working.
Scanning
Which chatbots can Shield test?
Any chatbot you are allowed to test and can reach over HTTP: a JSON API, an OpenAI-compatible API, a streaming (SSE) endpoint, or a form or multipart endpoint, with no authentication, a bearer token, an API key in a header, or OAuth2 client credentials. Shield tests the endpoint, so the model behind it does not matter. Run a scan
Do I have to change the chatbot's code?
No. Shield talks to the chatbot like any client would. Only shield-llm fix touches code, and only in your own working tree, for you to review. Fix and verify
Can I test a chatbot that runs on my machine or on a private network?
Yes, from the CLI: add --allow-private-urls to the command, or set "allowPrivateUrls": true in the endpoint block of shield.config.json. Shield refuses those addresses otherwise, so that a typo cannot point a scan at an internal service. Run the scan
How long does a scan take?
It depends mostly on the chatbot. Shield sends four attacks at a time and slows down by itself when the chatbot pushes back. A quick scan is short; full adds multi-turn conversations and takes several minutes, more on a rate-limited endpoint. Choose a depth
My scan stopped halfway. Did I lose it?
No. Run the same command again: it resumes where it stopped. A scan that could not finish is not saved as a result, so a partial run never passes for a complete one. If the scan stops
Can I run Shield in a CI/CD pipeline?
Yes. --ci gives JSON output and exit codes your pipeline can act on, --min-score and --fail-on-critical set the bar, and -o sarif feeds code-scanning tools. Run it in CI
Results
How is the score calculated?
Each attack that worked takes off points in proportion to its severity, out of the total weight of the attacks that ran. One critical hole costs far more than a minor one. Attacks that did not run or were not judged are left out. Scoring
Why do two scans of the same chatbot give different scores?
Usually because they did not measure the same thing: another preset, another judge, or a newer attack catalogue. The scan page says when two scans are not directly comparable. A borderline answer can also be judged differently from one run to the next. Compare the findings, not only the scores. Changes since the last scan
What is the difference between the LLM judge and the detection patterns?
The LLM judge decides. Patterns are a second signal, and when they disagree with the judge, the judge wins. An answer the judge could not rule on is not scored on patterns: it is re-judged, and otherwise left out as "not judged". How the judge decides
What are incidental findings?
Problems the judge noticed in an answer to an attack that was testing something else, for example a configuration leak in reply to a question about financial advice. They are listed once, never scored. Incidental findings
Fixes and evidence
What is the difference between retest and verify-claims?
retest replays the attacks of a scan, with a few neighbouring attacks of the same defect, to see if they still work. verify-claims checks a fix made with fix after it is deployed: the original attack, related attacks the fix was not tuned on, and ordinary questions, so a fix that only blocks one sentence, or breaks normal answers, is caught. Fix and verify
Is the evidence bundle signed?
No. It carries a SHA-256 checksum, which shows whether the content was altered. It does not prove who produced it. What the dossier does not claim
Does a good score make us compliant with the EU AI Act or DORA?
No. Shield produces evidence that supports your obligations: test results, verified fixes, a record of what was done and when. Compliance is a conclusion your organisation, and in some cases an authority or a notified body, reaches. Methodology
Running Shield
Where do the chatbot's answers go?
To this instance, and to the LLM judge your administrator configured. Anything the chatbot leaks during a test therefore reaches that judge too. Shield's publisher receives nothing: there is no licence server and no telemetry. Data the test sends out
What does it cost to run a scan?
Shield itself is licensed software, under the terms your organisation agreed with the publisher. On top of that, each scan uses your LLM provider: about one judge call per attack that runs, plus the votes of a fix verification. Shield does not cap that spending, so your administrator sets a budget at the provider. See the operator guide docs/license-operator-guide.md.
Who can see my scans?
You see the scans, schedules, custom tests and API keys of your own account. Administrators also have a view across accounts in the Admin Panel.
How do I get an account?
Ask your administrator. Depending on how the instance is set up, you sign in with your company's single sign-on, or the administrator creates your account. Operator guides
My API key stopped working.
It may have expired (you choose an expiry when you create a key) or been revoked. Create a new one under Settings > API Keys and run shield-llm login again. An account can have up to five active keys. Connect the CLI