New analyser suppression suppression_introducedA suppression marker (nosec, NOSONAR, lgtm or codeql[...], nosemgrep, noqa: S..., eslint-disable on a security rule, usedforsecurity=False, ...) appears more often than before. Counted per marker kind, so editing a line that was already suppressed is not flagged. In Python, comment markers count only in real comments, which is where bandit 1.7.3+, Sonar and CodeQL read them; a marker inside a string literal, such as fake-fix test data, is not counted. bandit 1.7.0-1.7.2 did honour one there, so the analyser extra requires 1.7.3. noqa and nosemgrep still count anywhere on the line, because flake8 and semgrep match the raw line. A word glued to a marker (nosecure) counts, because bandit reads it as a bare marker, and so does a marker that only shows after decoding the declared source encoding. usedforsecurity set to anything but True counts. A marker moved onto code that had none, while the number of markers stays the same, is reported too (in Python, per statement). Python that does not tokenize is counted as text. In change gating only markers that silence a security analyser block; a bare noqa counts as one on a statement that makes a call bandit reports (subprocess, eval, yaml.load, md5, pickle, ...), usedforsecurity does on password material, and other type and style markers become a warning. In JavaScript and TypeScript, block comments count as well, an ESLint directive without a rule list counts as a security suppression where it covers a line that holds a risky call (eval, new Function, child_process, fs, innerHTML, ...), a marker moved onto another line is reported, and a TypeScript directive is a warning. | mechanical | Any file | Blocks | verify, diff |
Type/style suppression added suppression_addedA type-checker or style suppression (type: ignore, ts-ignore, pylint disable, ...) was added in a change. Not blocking: this is ordinary engineering, but worth a glance. | mechanical | Any file | Warns | diff |
Analyser config referenced in output analyser_config_touchedThe proposed output names an analyser configuration file (.bandit, pyproject.toml, .semgrepignore, ...) that the input did not. Suppression moved out of band is still suppression. | mechanical | Any file | Blocks | verify |
Security analyser configuration weakened analyser_config_weakenedIn a changed config file: new skips under [tool.bandit], security rules ignored in ruff/flake8 (S rules, except S101 which only warns), new .semgrepignore / .gitleaksignore entries, security ESLint rules switched off, Sonar exclusions, gosec disabled. Comments and unrelated keys are ignored. | mechanical | Analyser configuration | Blocks | diff |
Linter configuration relaxed linter_config_relaxedA style or type linter was relaxed in a config file. Not a security analyser, so it only warns. | mechanical | Analyser configuration | Warns | diff |
Changed file could not be checked content_not_checkedThe new version of a changed file in a language Saikou checks (by its extension or, for a script without a recognised one, by its #! line), or of an analyser configuration file, could not be checked: it has a NUL byte in its first 8 KB (UTF-16 and UTF-32 with a byte-order mark are read as text), it is larger than 1,000,000 bytes, it could not be read from the work tree, or the path is now a symbolic link or a submodule. Change gating blocks such a file instead of skipping it. Otherwise one NUL byte in a comment, padding past the size limit, or a symlink swapped for a file would let any change in it through unchecked. When only the old version is unreadable, the new one is checked as if the file were new. A file that is meant to be like this, such as a large vendored bundle, can be left out with a pathspec (-- . ':(exclude)vendor/bundle.js'); --warn-only content_not_checked demotes the check for every file. Files in languages Saikou does not check are still skipped and listed. | mechanical | Any file | Blocks | diff |
Dropped code marker elided_outputThe output contains a phrase like 'rest unchanged', 'implementation here' or '// ... existing code ...'. Applying it would delete the omitted code. Markers inside string literals and docstrings are ignored. 'keep the existing code' counts only when it ends the clause or is followed by here, below, unchanged or as is; in prose such as 'keep the existing code style' it does not. In change gating, only strong markers block. | mechanical | Any file | Blocks | verify, diff |
Reads like dropped code elision_phraseNew text such as 'same as above' or 'for brevity'. Usually prose, so it only warns. | mechanical | Any file | Warns | diff |
Function body emptied body_guttedA function or class that had statements now has only '...' or 'pass'. The implementation was dropped. A bare '...' that was already there (a Protocol stub) is fine. | parser | Python | Blocks | verify, diff |
Output contains no code empty_outputThe proposed output is empty. In change gating a newly added empty file (such as tests/__init__.py) is ordinary and not reported. | mechanical | Any file | Blocks | verify, diff |
Output may be cut off truncated_outputThe last line ends in the middle of an expression. | mechanical | Any file | Warns | verify, diff |
Unclosed brackets unbalanced_delimitersMore opening than closing brackets (a raw count, so string literals can cause noise). | mechanical | Any file | Warns | verify, diff |
Output far shorter than input size_collapseA complete module was requested but the output has under 60% of the input's non-blank lines. | mechanical | Any file | Warns | verify |
Nothing changed no_changeThe output is identical to the input, so nothing was fixed. Only checked when a fix is claimed; an ordinary change may leave a file as it was. | mechanical | Any file | Blocks | verify |
Only comments or whitespace changed cosmetic_only_changeThe syntax tree is identical before and after: the edit was comments only, so no executable behaviour changed. | parser | Python | Blocks | verify |
Output no longer parses parse_failureThe input parsed as Python but the output does not. It cannot be verified and would break at import. Code that nests too deeply for Python to parse or analyse (a very long chain of +, say, where Python raises RecursionError or MemoryError) blocks too, in either version and in both modes, because it was not analysed. | parser | Python | Blocks | verify, diff |
Neither version parses parse_skippedBoth versions fail to parse as Python (a template, Python 2, or a fragment). AST checks were skipped; only text checks ran. | parser | Python | Warns | verify, diff |
shell=True sink_shell_trueA call runs its command through a shell, so injected text becomes commands: shell= is true (True, 1, not False, ...), also when passed in **{...} or **dict(...). Values count as the file itself fixes them: constants and what is computed from them (not, and/or, comparisons, arithmetic, x if c else y, bool(), int(), len(), indexing), and names bound only by plain assignment, in every binding to the same truth (also a = b = v and a, b = v, w, a class constant, and a function called through such a name or getattr, as in _e = eval). A value Saikou cannot establish (a parameter without a default, an attribute, a call result, a name bound by a loop, or a **mapping that may set the keyword) fails closed: when a fix for that threat class is claimed it blocks, because the fix cannot be verified; otherwise it is a warning when it is new. from m import *, globals() and locals() make every name unknown. A sink that is new in the output always blocks. One that was already there blocks only when a fix for that threat class was claimed; otherwise it is a warning naming what was left alone. | parser | Python | Depends (see text) | verify, diff |
TLS verification off sink_tls_verify_offCertificate checking is switched off: verify= is false (False, 0, None, bool(0), ...) in a call, also via **{...}, or an HTTP session or client gets it (session.verify = False, setattr, vars(session), a Session subclass); None does not count there. A CA bundle path, certifi.where() or an SSL context counts as on. Values count as the file itself fixes them: constants and what is computed from them (not, and/or, comparisons, arithmetic, x if c else y, bool(), int(), len(), indexing), and names bound only by plain assignment, in every binding to the same truth (also a = b = v and a, b = v, w, a class constant, and a function called through such a name or getattr, as in _e = eval). A value Saikou cannot establish (a parameter without a default, an attribute, a call result, a name bound by a loop, or a **mapping that may set the keyword) fails closed: when a fix for that threat class is claimed it blocks, because the fix cannot be verified; otherwise it is a warning when it is new. from m import *, globals() and locals() make every name unknown. A sink that is new in the output always blocks. One that was already there blocks only when a fix for that threat class was claimed; otherwise it is a warning naming what was left alone. | parser | Python | Depends (see text) | verify, diff |
debug=True sink_debug_trueA web app runs in debug mode, exposing an interactive console: run(...) with debug= true. Values count as the file itself fixes them: constants and what is computed from them (not, and/or, comparisons, arithmetic, x if c else y, bool(), int(), len(), indexing), and names bound only by plain assignment, in every binding to the same truth (also a = b = v and a, b = v, w, a class constant, and a function called through such a name or getattr, as in _e = eval). A value Saikou cannot establish (a parameter without a default, an attribute, a call result, a name bound by a loop, or a **mapping that may set the keyword) fails closed: when a fix for that threat class is claimed it blocks, because the fix cannot be verified; otherwise it is a warning when it is new. from m import *, globals() and locals() make every name unknown. A sink that is new in the output always blocks. One that was already there blocks only when a fix for that threat class was claimed; otherwise it is a warning naming what was left alone. | parser | Python | Depends (see text) | verify, diff |
eval/exec on a variable sink_dynamic_execeval() or exec() on something that is not a literal, under any spelling (an alias, builtins.eval, getattr(builtins, 'eval'), from builtins import eval as ev). eval or exec used as a value (map(eval, ...), assertRaises(E, eval, s), a default argument) cannot be established and fails closed as described below. A method that happens to be called eval (model.eval) counts only when called directly with a non-literal. Values count as the file itself fixes them: constants and what is computed from them (not, and/or, comparisons, arithmetic, x if c else y, bool(), int(), len(), indexing), and names bound only by plain assignment, in every binding to the same truth (also a = b = v and a, b = v, w, a class constant, and a function called through such a name or getattr, as in _e = eval). A value Saikou cannot establish (a parameter without a default, an attribute, a call result, a name bound by a loop, or a **mapping that may set the keyword) fails closed: when a fix for that threat class is claimed it blocks, because the fix cannot be verified; otherwise it is a warning when it is new. from m import *, globals() and locals() make every name unknown. A sink that is new in the output always blocks. One that was already there blocks only when a fix for that threat class was claimed; otherwise it is a warning naming what was left alone. | parser | Python | Depends (see text) | verify, diff |
SQL built by interpolation sink_sql_interpolatedA query string is built with an f-string, % or + and passed to execute(). Values count as the file itself fixes them: constants and what is computed from them (not, and/or, comparisons, arithmetic, x if c else y, bool(), int(), len(), indexing), and names bound only by plain assignment, in every binding to the same truth (also a = b = v and a, b = v, w, a class constant, and a function called through such a name or getattr, as in _e = eval). A value Saikou cannot establish (a parameter without a default, an attribute, a call result, a name bound by a loop, or a **mapping that may set the keyword) fails closed: when a fix for that threat class is claimed it blocks, because the fix cannot be verified; otherwise it is a warning when it is new. from m import *, globals() and locals() make every name unknown. A sink that is new in the output always blocks. One that was already there blocks only when a fix for that threat class was claimed; otherwise it is a warning naming what was left alone. | parser | Python | Depends (see text) | verify, diff |
SQL without parameters sink_sql_nonparameterisedexecute() receives a computed string and no parameter argument, or an empty one ((), [], {}, None, tuple(), *()). A constant query is never counted: a string, a name bound only to strings, a class constant, text('...'). A query that is the surrounding function's parameter is checked where that function is called. Values count as the file itself fixes them: constants and what is computed from them (not, and/or, comparisons, arithmetic, x if c else y, bool(), int(), len(), indexing), and names bound only by plain assignment, in every binding to the same truth (also a = b = v and a, b = v, w, a class constant, and a function called through such a name or getattr, as in _e = eval). A value Saikou cannot establish (a parameter without a default, an attribute, a call result, a name bound by a loop, or a **mapping that may set the keyword) fails closed: when a fix for that threat class is claimed it blocks, because the fix cannot be verified; otherwise it is a warning when it is new. from m import *, globals() and locals() make every name unknown. A sink that is new in the output always blocks. One that was already there blocks only when a fix for that threat class was claimed; otherwise it is a warning naming what was left alone. | parser | Python | Depends (see text) | verify, diff |
Weak hash over a password sink_weak_hash_secretMD5 or SHA-1 applied to password-class data. Use a password KDF (scrypt, argon2, PBKDF2). Values count as the file itself fixes them: constants and what is computed from them (not, and/or, comparisons, arithmetic, x if c else y, bool(), int(), len(), indexing), and names bound only by plain assignment, in every binding to the same truth (also a = b = v and a, b = v, w, a class constant, and a function called through such a name or getattr, as in _e = eval). A value Saikou cannot establish (a parameter without a default, an attribute, a call result, a name bound by a loop, or a **mapping that may set the keyword) fails closed: when a fix for that threat class is claimed it blocks, because the fix cannot be verified; otherwise it is a warning when it is new. from m import *, globals() and locals() make every name unknown. A sink that is new in the output always blocks. One that was already there blocks only when a fix for that threat class was claimed; otherwise it is a warning naming what was left alone. | parser | Python | Depends (see text) | verify, diff |
Hardcoded key, salt or secret hardcoded_secret_materialA secret-sounding name (password, api_key, secret_key, ...) is assigned a literal that looks like real key material. Labels, paths, environment-variable names and dotted identifiers are not flagged. Blocks, except when gating a change to a test file (under test/, tests/ or testing/, or test_*.py, *_test.py, conftest.py, tests.py): fixture tokens are test data, so there it is a warning, unless the value is a recognisable provider key (AWS, GitHub, Slack, Stripe live, Google, OpenAI, Anthropic) or a private key. Absolute paths and paths with .. never count as test files. Verifying a claimed fix always blocks. | parser | Python | Depends (see text) | verify, diff |
Validation computed but never used guard_computed_but_unusedA value from a validation/sanitising call (sanitize_*, validate_*, os.path.basename, realpath, ...) is never read, so the unsanitised value still reaches the sink. Blocks when new or when a fix was claimed; otherwise a warning. | parser | Python | Depends (see text) | verify, diff |
Interpolated string reaches a raw sink via a wrapper shared_sink_injection_pathA helper forwards its argument into a raw sink, and a caller passes it an interpolated string. Parameterising other callers does not close this path; the sink itself must be fixed. | parser | Python | Depends (see text) | verify, diff |
Validation computed but never used (JS/TS) js_guard_computed_but_unusedconst safe = sanitize(x) appears once in the file and is never referenced again. Structural check (no parser). A ternary on a guard is not flagged. | mechanical | JavaScript, TypeScript | Depends (see text) | verify, diff |
Async guard used without await js_async_guard_in_booleanA function defined async in this file is used as a condition without await. A Promise is always truthy, so the guard never rejects. | mechanical | JavaScript, TypeScript | Depends (see text) | verify, diff |
Async guard left floating js_floating_guard_promiseassertAllowed(x).catch(log): the code continues before the guard resolves. | mechanical | JavaScript, TypeScript | Depends (see text) | verify, diff |
Minified or bundled file skipped js_generated_skippedStructural guard checks assume human-written, line-based code, so generated files are skipped with this warning. Harden the source, not the build output. | mechanical | JavaScript, TypeScript | Warns | verify, diff |
Public API broken api_breakWith strict API on: public symbols removed, or a signature changed so that an old call no longer works. Adding an optional parameter is compatible and not flagged. | parser | Python | Blocks | verify, diff |
Protected symbol altered must_preserve_violatedA symbol you marked must-preserve was removed or changed. | parser | Python | Blocks | verify, diff |
Analyser findings hidden, not fixed findings_suppressed_not_fixedbandit is run twice, normally and with --ignore-nosec. Findings visible only in the suppression-blind run were silenced, never counted as fixed. Needs bandit installed. | tool | Python | Blocks | verify, diff |
New analyser findings new_analyser_findingsbandit reports findings that were not present before the change. | tool | Python | Warns | verify, diff |
Model reported nothing left unfixed empty_deferred_listOn non-trivial input an empty list of unfixed issues is usually a reporting failure. | mechanical | saikou harden results | Warns | verify |
Claimed fixes the analyser does not confirm unsupported_fix_claimsThe model claims fixes but the analyser confirms zero removals. Treat the claims as unverified. | mechanical | saikou harden results | Warns | verify |
Analyser findings not present in the input new_findingsThe hardened output has analyser findings the original did not. | mechanical | saikou harden results | Warns | verify |