Repository navigation
Releases
Releases · PreethamNoelP/checkride
checkride 0.6.0
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 anormust now approve (and the same for the false side of anandguard). - A tool parameter copied into an approval-named variable (
approved = ok, thenif approved:) is the model approving itself, asif 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)andf = 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 byvalidate_repo_path(repo_path, ...)is validated. Wrapping the argument inPath(),str(),int(),float()oros.fspath()no longer makes a checked input look unchecked.target_timezone,dest_currencyand the like are not locations.target_pathstill 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 :: Typedclassifier.
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