Skip to content

Scan Modes

LLM Armor has three scan modes that control what is flagged and what is shown.

Terminal window
llmarmor scan ./src

Focuses on high-confidence findings only. Minimises false positives so every result is actionable.

Terminal window
llmarmor scan ./src --strict

Flags everything that could be a risk, including borderline patterns. Recommended for pre-release security audits and compliance reviews.

Additional findings in strict mode:

PatternSeverityRationale
Tainted variable as system role contentMEDIUMUser controls the entire system instruction
Tainted variable as user role contentLOWConsider input validation and content filtering
Hardcoded system prompt in source codeMEDIUMMay leak proprietary instructions
json.loads() with LLM-named variableMEDIUMDeserialising unvalidated LLM output is risky
Broad agent tool descriptionsMEDIUMMay indicate missing explicit allowlist
Terminal window
llmarmor scan ./src --verbose

Shows all findings including INFO and LOW severity. Useful for getting a complete picture during security audits.

Terminal window
# Maximum coverage and visibility
llmarmor scan ./src --strict --verbose