oliver-zehentleitner / maity
cli and web: file writes under a placement skip tool config dirs; strict route parsing; only known forge errors are shown
tsk-nxsayz6f2mk9 Open
Three low hardening points.
maity files get -ounder a placement (cli/src/maity/inclone.py, create) may write into tool and editor configuration in the clone (.claude/, .vscode/, .idea/, .git*), which the harness sandbox write-protects for the agent. Refuse those paths, reusing the adapters' deny-write list. Tests.- The web route parser (web/js/app.js parseRoute and movedTo, api.js projectPath) lets an encoded
..through into an API path. Validate owner and slug against the handle and slug patterns and encode each segment with encodeURIComponent. Smoke case. - The forge settings page (web/js/forge.js) shows an unknown
?error=value verbatim as an alert next to the token form. Show only the known reasons, with a generic text otherwise. Smoke case.
Two vendor legs.