Skip to content

KC-1462: Validate record ownership in audit-log command - #2377

Open
sshrushanth-ks wants to merge 2 commits into
KC-1462from
KC-1462-int
Open

sshrushanth-ks wants to merge 2 commits into
KC-1462from
KC-1462-int

Conversation

@sshrushanth-ks

Copy link
Copy Markdown
Contributor

Summary

Prevent shared records from being used as audit-log export destination. Only operator-owned records are now eligible, preventing attackers from hijacking the export by sharing a malicious record with matching title.

Changes

  • keepercommander/commands/aram.py:
    • Add ownership check to audit-log record lookup to skip shared records with notification
    • Add break statement for deterministic record selection
    • Display selected record UID and title before export

Prevent shared records from being used as audit-log export destination.
Only operator-owned records are now eligible, preventing attackers from
hijacking the export by sharing a malicious record with matching title.
@sshrushanth-ks sshrushanth-ks self-assigned this Sep 18, 2026
@sshrushanth-ks
sshrushanth-ks marked this pull request as ready for review September 18, 2026 07:11
Add helper function with fallback to meta_data_cache. Remove TLS
verification bypass from Splunk exports. Add 4 test cases covering
ownership validation, fallback behavior, and safe defaults.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants