mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
fix(security): add base64 validation for all shell-interpolated values (#2988)
Previously only `settingsB64` had a validation check. Added the same `/^[A-Za-z0-9+/=]+$/` guard for wrapperB64, unitB64, and timerB64 before they are interpolated into shell commands, closing the consistency gap. Fixes #2986 Agent: security-auditor Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3b68a77526
commit
82ab6d35dc
2 changed files with 16 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@openrouter/spawn",
|
||||
"version": "0.26.1",
|
||||
"version": "0.26.2",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"spawn": "cli.js"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue