feat: host audit and clipboard exfil detection (am-i-compromised 1.2.0) - #23
Merged
Merged
Conversation
Audit Chromium-family extension permissions (desktopCapture, tabCapture, debugger, ...) to identify which extension can hold a screen-recording stream, since the OS indicator names only the app. Adds macOS daemon/TCC capture context and Linux camera-device context, a severity floor, and strict mode. Runs on macOS and Linux; wired as 'mise run am-i-being-recorded'.
Tighten the heuristics so a scan of a real repo reports actionable findings instead of noise (54 findings down to 4 on a monorepo that was used as the benchmark). Add an inline suppression comment, `am-i-compromised-ignore: <reason>`; a reason is required, and suppressed findings are listed in the report rather than hidden. Also fix findings suppressing the report footer, and a BSD sed crash on macOS. Tests grow from 62 to 92; two tests that encoded the old broad matching are rewritten.
…klist Bump am-i-compromised to 1.1.0. Add mise publish and dry-run tasks for all three packages, a per-package release checklist (docs/RELEASING.md), and ignore Python bytecode.
|
Skipping CodeAnt AI review — this PR is a back-merge between long-lived branches ( If you want to analyze this anyway (e.g. you resolved conflicts with new logic), comment |
🏁 CodeAnt Quality Gate ResultsCommit: ✅ Overall Status: PASSEDQuality Gate Details
|
…d detection, release 1.2.0 Extends 'am-i-compromised host' (launchd, rc files, AI-tool config, processes) to cover every indicator from the clipboard-to-Telegram LaunchAgent incident, adds capture+exfil source detection to the scanner, fixes MCP field parsing and rc sourcing, and documents the incident.
…nd launchd plists
…okens, semgrep false positives, HOME fallback
…g (CI ignores nosemgrep)
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds test cases based on a realistic compromise scenario: a clipboard-to-Telegram LaunchAgent because it only read source trees.
Adds
am-i-compromised host(launchd, shell startup files, AI tool config, processes) and capture + exfil detection in the scanner, with a test for each indicator from that incident. Bumps to 1.2.0, not published yet.