Closed
Bug 2003214
Opened 9 months ago
Closed 8 months ago
Phase 2 POC - Part 2: Implement Security Logger
Categories
(Core :: Machine Learning: General, enhancement)
Core
Machine Learning: General
Tracking
()
RESOLVED
FIXED
148 Branch
| Tracking | Status | |
|---|---|---|
| firefox148 | --- | fixed |
People
(Reporter: rconcepcion, Assigned: rconcepcion)
References
(Blocks 1 open bug)
Details
(Whiteboard: [genai])
Attachments
(1 file)
NOTES
- Please refer to Jira Ticket for more details: https://mozilla-hub.atlassian.net/browse/GENAI-2395
- This is dependent/builds on https://phabricator.services.mozilla.com/D274523
Acceptance Criteria
- All policy decisions logged to NDJSON file with correct schema, including hashed sensitive data
- Log file created at <profile>/aiwindow/security/audit.log
- Size-based log rotation works correctly (10 MB limit, single .old backup)
- Logger respects browser.aiwindow.security.logging.enabled pref
- Logging is non-blocking
| Assignee | ||
Comment 1•9 months ago
|
||
Implements NDJSON-based security audit logging for policy decisions with:
- Hash.sys.mjs: SHA-256 hashing for privacy-preserving logs
- SecurityLogger.sys.mjs: File logging with size-based rotation (10 MB)
- Pref-gated via browser.aiwindow.security.logging.enabled
- Sensitive fields (URLs, args) hashed before writing to disk
- All policy decisions logged (allow, deny, kill switch, no policies)
Updated•8 months ago
|
Attachment #9530201 -
Attachment description: Bug 2003214 - Add security audit logger to AI Window security layer. r?tarek,#ai-ondevice-reviewers → Bug 2003214 - Add security audit logger to AI Window security layer r?tarek,#ai-ondevice-reviewers
Pushed by rconcepcion@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/a8d061235f78
https://hg.mozilla.org/integration/autoland/rev/dcae6c3a140b
Add security audit logger to AI Window security layer r=ai-ondevice-reviewers,gregtatum
Comment 3•8 months ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 months ago
status-firefox148:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
Updated•7 months ago
|
QA Whiteboard: [qa-triage-done-c149/b148]
You need to log in
before you can comment on or make changes to this bug.
Description
•