Skip to content

v0.11.1

Latest

Choose a tag to compare

@sunilmehta-si sunilmehta-si released this 04 Nov 05:51
· 4 commits to main since this release

A patch release for one false positive that a sweep of Inspect AI turned up. ACR-APP-003 (dynamic code execution)
reported 1,124 findings there, nearly all of them calls to Inspect's own eval() function.

It now skips a Python eval or exec that the file imports, defines or assigns itself (such as
from inspect_ai import eval), and a call shown inside a string, a docstring or an f-string. A call to the builtin
still fires, and JavaScript is unchanged. On Inspect AI the rule went from 1,124 findings to 8: seven call the builtin
and one is a JavaScript template string.