Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions reference/core/custom_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@

WHY THIS EXISTS
---------------
The 24 built-in tools are a closed set, and a workflow naming anything else fails
The built-in tools are a closed set, and a workflow naming anything else fails
validation outright. So a site with an internal taint engine, a house SAST tool or a
proprietary fuzzer has exactly one option: fork. A fork never receives the next
security fix -- the same argument that stops `LocalCheckout` from reimplementing CP-1's
directory walk. Leaving the set closed does not prevent custom tools; it just makes the
unsafe way the only way.

WHAT MAKES THE BUILT-IN 24 SAFE, SO THIS CAN BE HONEST ABOUT NOT INHERITING IT
------------------------------------------------------------------------------
WHAT MAKES THE BUILT-IN TOOLS SAFE, SO THIS CAN BE HONEST ABOUT NOT INHERITING IT
--------------------------------------------------------------------------------
Not confinement. Most of them run on the host with the host's full privilege --
`read_file` could open `~/.ssh/id_rsa`; nothing in the process prevents it. They are
safe because they ARE the enforcement: `read_file` is the containment for reads,
Expand Down