Skip to content

Releases

checkride 0.6.0

Choose a tag to compare

@PreethamNoelP PreethamNoelP released this 18 Oct 14:24
688ba78

Fixed (scores and verdicts can change)

  • Approval that can be skipped is no longer a gate. if trusted(p) or request_approval(p): rmtree(p) ran the body without asking; every operand of an or must now approve (and the same for the false side of an and guard).
  • A tool parameter copied into an approval-named variable (approved = ok, then if approved:) is the model approving itself, as if ok: already was.
  • Sinks handed over by reference are sites: asyncio.to_thread(subprocess.run, ...), loop.run_in_executor(None, shutil.rmtree, p), Thread(target=os.system), map(os.remove, paths).
  • Missing sink names: os.spawnle/spawnlp/spawnlpe/spawnve/spawnvp/spawnvpe, os.execlpe, os.startfile, builtins.eval/exec.
  • Reachability through a dispatch table or local alias: HANDLERS[name](p), HANDLERS.get(name)(p) and f = do_rm; f(p) now reach the helper instead of reporting its sink as "not agent-reachable".

Fixed (found by scanning real MCP servers)

  • repo_path = Path(arguments["repo_path"]) followed by validate_repo_path(repo_path, ...) is validated. Wrapping the argument in Path(), str(), int(), float() or os.fspath() no longer makes a checked input look unchecked.
  • target_timezone, dest_currency and the like are not locations. target_path still is.
  • (git_dir / "MERGE_HEAD").unlink() is not a model-chosen delete. A pathlib .unlink() whose last component is a string literal is no longer a critical file-delete site.

Packaging

  • The sdist now carries tests/fixtures, the benchmark and the documents the README links to, so the test suite runs from the unpacked archive; CI builds the sdist, unpacks it and runs the tests there.
  • CI checks that the wheel is byte-for-byte reproducible.
  • Added the Typing :: Typed classifier.

Fixed

  • SARIF file locations are percent-encoded, so paths containing a space, # or % resolve in code scanning.
  • A JSON MCP config named directly as the target is no longer also parsed as Python.

Documentation

  • The README's code-scanning example uses upload-sarif@v4.
  • The README explains how to scan a framework or SDK repository without its tests, docs and examples dominating the score.

Full changelog: https://github.com/PreethamNoelP/checkride/blob/main/CHANGELOG.md