Tim Ren

Results comments of Tim Ren

Cross-referencing for architectural overlap — not proposing a public fix here, since @icysun has already asked for MSRC handling. This `FunctionTool._from_config()` → `exec(source_code)` sink belongs to the same family as...

Hi, I'd like to work on this issue. I'll submit a PR that: 1. Adds a `_sanitize_page_metadata()` function to strip control characters, collapse whitespace, remove markdown link syntax, and truncate...

Marking ready for review. cc @ekzhu — this is the opt-in sandbox flag implementation discussed in #7462 (alternative direction to #7467). Happy to iterate if you'd like a different surface...

@hanselhansel addressed your contract framing in 4df5f7a22a3779e35498c35654f0e9064c6598a1: replaced the silent platform fallback (Windows previously emitted a `UserWarning` and degraded to env-scrub-only) with an explicit `PlatformExecutionScopeError` raise at `__init__`, and rewrote...

Thanks @msaleme — "explicit-over-silent makes the security boundary inspectable" is exactly the framing I want this PR to land on. The `PlatformExecutionScopeError` raise-at-construction behavior in `5a0b2c8` should match that contract;...

@msaleme thanks again for the review feedback — glad the "explicit-over-silent makes the security boundary inspectable" framing landed. I believe the PR is now in its final shape: the opt-in...

Pushed `cd58017da` reverting the sandbox notice from `DeprecationWarning` back to `UserWarning`, per @Ilya0527's PEP 565 analysis on #7462. Library-level `DeprecationWarning` is silenced by stock filters (`default::DeprecationWarning:__main__ + ignore::DeprecationWarning`), so the...

Pushed `ce4c538` to make the branch match the discussion here: - the default unsandboxed path now emits `UserWarning` again, not `DeprecationWarning`, so library-level construction remains visible under Python's stock filters;...

Hi, I'd like to work on this issue. The suggested fix of upgrading from `UserWarning` to `DeprecationWarning` makes sense as a minimal, backward-compatible security improvement. I'll also add a `logger.warning()`...

@msaleme Great suggestions! I agree these would strengthen the security posture significantly. My PR #7467 focuses on the minimal backward-compatible fix (DeprecationWarning + logger.warning), but your points about requiring an...