AI provider credential detected in configuration.
config/service.env:19LLM - Groq API Keyconfig/service.env:191SARIFThe scanner reports the evidence; the developer decides whether the finding is valid in application context.
SecChecker inspects AI applications, agents, MCP tools and LLM integrations for security-sensitive code paths. Local. Deterministic. No LLM judge.
pip install secchecker
secchecker . --type llm
Give Claude Code, Codex, Cursor or another coding agent a repeatable security check it can run after making changes.
Use SecChecker as the deterministic security check for this repository. 1. If SecChecker is not available, install it with: pip install secchecker 2. Before completing changes that touch AI, agents, LLMs, MCP, prompts, tools, memory, model output, or AI credentials, run: secchecker . --type llm 3. When a machine-readable report is useful, run: secchecker . --type llm --format sarif --output secchecker_report.sarif 4. Treat SecChecker findings as deterministic evidence to inspect. Do not silently suppress, downgrade, or dismiss a finding without code evidence. 5. For each finding, explain: WHAT — what SecChecker detected WHY — why it matters WHERE — the file/location reported REVIEW — the smallest code area a developer should inspect 6. If you propose a fix, prefer the smallest safe change. Then rerun SecChecker and state whether the finding remains. SecChecker owns the scan result. Explanations and remediation suggestions are advisory.
Run SecChecker while you build or in CI. Findings stay close to the code and can be exported into the workflows your team already uses.
$ secchecker . --type llm --format sarif --verbose --output secchecker_report.sarif [*] Scanning: . [*] Scan type: llm [*] Format: sarif [*] 4 finding(s) across 4 file(s) [+] Report: secchecker_report.sarif
LLM - Groq API Key (1 occurrence)
A credential pattern was detected. Review the value and how it is stored.
Recorded from a real repository with SecChecker 0.5.1 on 20 September 2026. File paths are anonymized; credential values are not included. Playback does not run a scan in your browser. Download the anonymized SARIF report ↗
The default view stays concise. Experienced developers can inspect the exact evidence without changing tools.
config/service.env:19LLM - Groq API Keyconfig/service.env:191SARIFThe scanner reports the evidence; the developer decides whether the finding is valid in application context.
SecChecker produces repeatable static findings. An AI coding agent can explain a result or suggest a change, but it does not own the scan verdict.
Flags risky transitions where untrusted content can influence privileged AI context.
Checks tool descriptions, metadata and tool-result handling around sensitive actions.
Surfaces cases where AI-controlled output can flow into consequential execution paths.
Looks for unsafe persistence of user-controlled or otherwise untrusted content.
Highlights selected patterns that can make autonomous behaviour harder to constrain or review.
Identifies selected credential-handling risks around AI provider integrations.
SecChecker is tested against expected detections, safe counterparts, harder variations and real open-source code. These checks are kept distinct so one strong result cannot mask a weakness elsewhere.
Regression checks protect expected behaviour from silently breaking between releases.
Safe examples are used to catch obvious overreach and reduce noisy detections.
Adversarial variations are used to expose where deterministic rules stop generalising.
Real open-source AI code is checked to reveal practical false positives and coverage gaps.
SecChecker is designed for the pre-deployment path: fast enough to run while building, structured enough to use in review, and explicit about what still needs runtime controls.
Check the repository before opening a pull request.
$ secchecker . --type llm
Emit machine-readable findings and keep the result next to the code change.
SARIF · JSON · exit codes
SecChecker does not replace code review, threat modelling, red-team testing or runtime policy controls.
STATIC ANALYSIS ≠ RUNTIME ENFORCEMENT
pip install secchecker
Use the compact agent setup without changing who owns the security result.
SARIF · JSON · Markdown · XML · HTML
GITHUB ↗