Improve human output and contextualize Chromium sandbox setuid #5
Labels
No labels
Agent/Autonomous OK
Agent/Demeter
Agent/Hermes
Agent/Human
Agent/Needs Review
Area/API
Area/Auth
Area/CLI
Area/Data
Area/Docs
Area/Infra
Area/UI
CI/Failing
CI/Flaky
CI/Green
CI/Needs Runner
CI/Needs Workflow
Compat/Backward Compatible
Compat/Breaking
Compat/Migration
Deploy/Ansible
Deploy/Blocked
Deploy/Homelab
Deploy/Needs Config
Deploy/Needs Secret
Deploy/Ready
Deploy/Rollback
Kind/Bug
Kind/Chore
Kind/Design
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Refactor
Kind/Security
Kind/Spike
Kind/Testing
Ops/Backup
Ops/Incident
Ops/Maintenance
Ops/Monitoring
Ops/Upgrade
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Priority
Someday
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Risk
Critical
Risk
High
Risk
Low
Risk
Medium
Security/Auth
Security/Disclosure
Security/Hardening
Security/Secret
Size
L
Size
M
Size
S
Size
XL
Size
XS
Stack/Ansible
Stack/Docker
Stack/Forgejo
Stack/Hermes
Stack/Node
Stack/Postgres
Stack/Python
Stack/Systemd
Status
Abandoned
Status
Blocked
Status
In Progress
Status
In Review
Status
Need More Info
Status
Ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
2027a/paru-llm-audit#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observed behavior
A routine
brave-binupdate is hard-blocked becausechmod 4755 "$pkgdir/opt/brave-bin/chrome-sandbox"triggers the generic high-risk setuid rule. Luna correctly identifies the well-known Chromium sandbox helper, but policy intentionally prevents the LLM from lowering static risk. Human output is also difficult to scan and always emits a very long full-result JSON line.Intended behavior
$pkgdir/.../chrome-sandboxwith mode4755as medium review, never automatic low/allow. This keeps a human gate without a false hard block.--jsonand the saved report.Verification
Add regression tests for the Brave/Chromium case, generic setuid behavior, readable rendering, compact machine output, review prompt context, and existing exit-code/schema guarantees.
Pris en charge manuellement par Hephaistos dans cette session.
Correctif proposé dans la PR #6 : #6
Le cas exact, à cible unique,
brave-bin+chmod 4755 "$pkgdir/opt/brave-bin/chrome-sandbox"devient une revue medium avec confirmation explicite, pas un allow silencieux. Les autres opérations setuid/setgid/setcap restent high et bloquantes. La sortie interactive est structurée et compacte; une sortie redirigée conserve le résultat machine v1 complet, et les détails restent aussi dans le rapport et via--json.Vérifications : 35 tests passent, syntaxe des PKGBUILD validée, signature Forgejo du commit vérifiée.