T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/recalc.py:19- Finding
Persistent Modification and Potential Overwrite of the User-Wide LibreOffice Macro Profile
- Content
View full analysis
Sub RecalculateAndSave() ThisComponent.calculateAll() ThisComponent.store() ThisComponent.close(True) End Sub """ try: with open(macro_file, "w") as f: f.write(macro_content) return True except Exception: return False ``` ### Technical Analysis The recalculation helper installs a macro into LibreOffice's global per-user `Standard` macro library. This location is shared by unrelated LibreOffice documents and sessions and persists after the Skill finishes. The Skill only needs to recalculate a specific workbook. Permanently changing the user's application profile is therefore broader than the minimum access required for that function. T ...[truncated 1872 chars]- Remediation
View remediation
