Repository navigation
Fixed
Soundness & Data Safety
- Close
Phoenix.Controllernarrowing bypasses (Behaviours,AbstractWalker): direct externalCtrl.action/2calls,&Ctrl.call/2and&Ctrl.action/2function captures, dynamic atom/module builders in project code, controllers referenced viaconfig/*.exsor dynamicApplication.get_env, 4-tuple route spoofing outside__match_route__/match, mixed bare controller refs inside__match_route__/match, and unattributed controller module references in the presence of unresolvedmod.call/2dispatch now preserve sound:potentially_reachableverdicts without breaking normalPhoenix.Router+Bandit/Cowboyprecision. Salted the.beamsummary cache key (walker-v5). - Preserve full dependency scopes in
MixProjectstaticmix.exsanalysis when callingdefp deps(:common)with literal env atoms (removing erroneous narrowing to[env_name]), merge duplicate dependencies across branches by unioningonly:/runtime:scopes, and resolve default arguments ondefp deps(env \\ Mix.env()). - Follow
import_configdirectives (static paths and"#{config_env()}.exs"/"#{Mix.env()}.exs"templates, with cycle detection, symlink-safe realpath root containment, and optionalFile.exists?guard handling), detect nested dynamic adapter expressions (keyword lists, maps, structs, tuples,Application.put_env/put_all_env), and propagateCode.eval_*/ dynamic atom and module constructors (String.to_existing_atom,Module.concat,binary_to_term,apply) fromconfig/*.exsintoAdapters,Behaviours, andSolver. - Check compiled artifact issues and dynamic escapes before dismissing
:build_only(runtime: false) dependencies inSolver, preventing false negatives when a build-only package is uncompiled or targeted by a package-level CVE. - Isolate
vulncheck feeds sync|status|bundle|import|prunefrom ambient scan-specific.vulncheck.exskeys (output,offline) sofeeds bundlenever overwrites the project's scan output file andfeeds syncnever fails due tooffline: truein.vulncheck.exs; expand relative bundle paths infeeds importagainst:cwd.
Configuration, Baselines, Suppressions & Parsers
- Canonicalize relative file paths from
.vulncheck.exs(output,sarif,sbom,vex,bundle,cache_dir,baseline) against the project root so--project-dirruns resolve paths consistently and overlapping output destinations are detected; acceptmax_feed_age_seconds: nilin.vulncheck.exs. - Stabilize
Diff.identity/1across pre-compile and post-compile scans by hashing lockfiledeps(Package.lock_deps) rather than.app-enriched dependency lists. - Match
.vulncheck.ignorerules and baselines case-insensitively by advisory ID, alias, or CVE ID, normalize case inIgnore.new_suppressions/2, and report an explicit policy violation when--forbid-new-suppressionspoints to an ignore file outside the Git repository. - Fix
Semverpessimistic~>operator upper bounds for 3+ version segments (~> 25.3.2now enforces< 25.4instead of< 26). - Extend
MFA.parse_routine/1to parse Elixir/Erlang operators (==/2,../2,..//3),MACRO-*compiler-generated macro names, and single-quoted Erlang function names. - Harden
HTTPredirect SSRF checks to reject IPv6 zone identifiers (%), IPv4 multicast/reserved (224.0.0.0/4,240.0.0.0/4), IPv4-compatible IPv6 (::a.b.c.d), deprecated IPv6 site-local (fec0::/10), and IPv6 multicast (ff00::/8). - Reuse
GitUrl.github_repo/1inCycloneDXso non-GitHub hosts (e.g.,not-github.com) never emitpkg:github/PURLs and.GITsuffixes are stripped case-insensitively. - Omit
physicalLocationwhenfileis empty and clampstartLine >= 1inSARIF; merge multi-package findings sharing anadvisory_idinto combined rule metadata (help,fullDescription,cwes,level,precision). - Preserve all detected adapters per family as a list in
vulncheck init(adapter_lines/2), reject extra arguments after--version/-v/version, and parsehelp?/1viaOptionParserso--diff -h/--output -hare not intercepted as help flags. - Preserve full tag versions (stripping leading
v) instead of truncating to 12 characters for{git, Url, {tag, Tag}}entries inRebarLock. - Support leading
+, underscores in based integers and floats,\b/\d/\f/\v/\xHH/\x{HEX}/octal escapes, and binary segment:size//typespecifiers inErlTerm. - Add
@max_depth 128, CRLF multiline handling, strict hex validation on\b/\f/\uXXXX/\UXXXXXXXXescapes, backslash line-ending trimming, embedded quotes before closing"""/''', and literal-string newline rejection toToml. - Escape pipes in Markdown
suppressedandunreachabletable cells, makeReport.GitHub.render/2pure (movingGITHUB_STEP_SUMMARYwriting with error warnings intoCLI.write_outputs/3), document single-letter sigil atom bounds inLiteral, sync documentation andCIOTP 28/29 matrix, and silence intentional crash logs inExtractorTest.
Full Changelog: v1.0.2...v1.0.3