Discussion about this post

User's avatar
JP's avatar

The shell-instructions-execute-before-reasoning point is underappreciated and your base64 example demonstrates exactly why real shell access in skills is fundamentally unsound. There's a tool called just-bash from Vercel that takes the opposite approach; bash commands are TypeScript functions with no real shell underneath. curl doesn't even exist unless you configure network access. Wouldn't stop a malicious skill from trying but there'd be nothing real to execute. Wrote about it here: https://reading.sh/vercels-cto-built-a-fake-bash-and-it-s-pure-genius-a79ae1500f34?sk=9207a885db38088fa9147ce9c4082e9d

Volodymyr Styran's avatar

Was thinking about this for a while, thanks for breaking it down

No posts

Ready for more?