Closed Bug 2018787 Opened 6 months ago Closed 5 months ago

Track security flags for automatically added initial chat content

Categories

(Core :: Machine Learning: General, task)

task

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox150 + fixed
firefox151 --- fixed

People

(Reporter: simonf, Assigned: simonf)

References

Details

(Whiteboard: [genai][security])

Attachments

(4 files, 1 obsolete file)

We currently proactively provide the open tab and - if there are matching ones - memories about the user to the LLM. This requires setting the tracking flags correctly.

Assignee: nobody → rconcepcion
Whiteboard: [genai]

Sets conversation securityProperties (untrusted_input, private_data) when
initial chat content is automatically injected in generatePrompt(). Tab
metadata from content pages (http/https) is treated as untrusted and
private. Internal pages (about:, chrome:) stay clean unless memories or
@mentions are also injected. Flags are monotonic and only set when content
is actually included. Tracking only, no tool gating changes.

Blocks: 2019693
Type: defect → task
Status: NEW → ASSIGNED
No longer blocks: swsecmvp
Blocks: 2013488
Depends on: 2016727
Whiteboard: [genai] → [genai][security]
Whiteboard: [genai][security] → [genai][performance]
Whiteboard: [genai][performance] → [genai][security]
Blocks: swsecmvp
Attachment #9548035 - Attachment is obsolete: true
Assignee: rconcepcion → sfriedberger

Backout for causing xpcshell failures at ChatConversation.js

Backout link
Push with failure
Failure log
Failure log for TV
Failure line TEST-UNEXPECTED-FAIL | browser/components/aiwindow/ui/test/xpcshell/test_ChatConversation.js | xpcshell return code: 0

Flags: needinfo?(sfriedberger)
Flags: needinfo?(sfriedberger)
Pushed by sfriedberger@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/bbe0c99ebbc1 https://hg.mozilla.org/integration/autoland/rev/6e7412772dd1 Init security flags on conversation start r=thasan,ai-frontend-reviewers,rconcepcion,jlewis
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch

[Tracking Requested - why for this release]:
We'll want this for 150 to make sure security stuff for smart window chats works correctly

Attachment #9560700 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: This is a required security behavior for the Smart Window MVP.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: This risk is lower, as the feature still needs to be turned on.
  • String changes made/needed?: None
  • Is Android affected?: no
Attachment #9560701 - Flags: approval-mozilla-beta?
Attachment #9560700 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9560701 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Blocks: 2024028
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: