Skip to content

Staging#205

Merged
ahmad-ajmal merged 53 commits intomainfrom
staging
Apr 17, 2026
Merged

Staging#205
ahmad-ajmal merged 53 commits intomainfrom
staging

Conversation

@ahmad-ajmal
Copy link
Copy Markdown
Collaborator

No description provided.

zfoong and others added 30 commits April 13, 2026 13:15
…dential storage, prompt injection)

- Fix reflected XSS in OAuth callback by HTML-escaping error parameter
- Add OAuth state parameter validation to prevent CSRF attacks
- Add SSRF protection to http_request action (block private IPs, cloud metadata)
- Add path traversal protection to read_file/write_file actions (block sensitive dirs)
- Set restrictive file permissions (0600) on stored credentials
- Make prompt sanitizer actually strip detected injection patterns instead of just logging

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Undo changes for write_file action
zfoong and others added 23 commits April 15, 2026 18:57
Undo changes on read_file
undo changes on prompt_sanitizer
Reset max actions per task to normal rate.
Tasks now track the platform they were started on (Task.source_platform),
and do_chat/do_chat_with_attachments resolve the outbound platform from
that field via session_id, falling back to the user's Preferred Messaging
Platform (read from USER.md, defaulting to "CraftBot Interface"). When a
running task receives a new message from a different platform, it switches
source_platform so subsequent replies follow the user. Also fixes the
USER.md template which was missing the Preferred Messaging Platform
placeholder, causing onboarding to silently drop the selected value.
@ahmad-ajmal ahmad-ajmal merged commit 3d987b3 into main Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants