Skip to content

feat: host audit and clipboard exfil detection (am-i-compromised 1.2.0) - #23

Merged
IsaacBell merged 9 commits into
mainfrom
release/am-i-compromised-1.1.0
Sep 26, 2026
Merged

IsaacBell merged 9 commits into
mainfrom
release/am-i-compromised-1.1.0

Conversation

@IsaacBell

@IsaacBell IsaacBell commented Sep 25, 2026 •

Copy link
Copy Markdown
Owner

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.

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.
@codeant-ai

codeant-ai Bot commented Sep 25, 2026

Copy link
Copy Markdown

Skipping CodeAnt AI review — this PR is a back-merge between long-lived branches (release/am-i-compromised-1.1.0 → main). The diff here has already been reviewed when the underlying commits landed on the source branch, so re-running analysis would produce duplicate findings on already-reviewed code.

If you want to analyze this anyway (e.g. you resolved conflicts with new logic), comment @codeant-ai : review and CodeAnt will start a review.

@codeant-ai

codeant-ai Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

🏁 CodeAnt Quality Gate Results

Commit: 675dd0f4
Scan Time: 2026-09-26 03:08:08 UTC

✅ Overall Status: PASSED

Quality Gate Details

Quality Gate Status Details
Secrets ✅ PASSED 0 secrets found, 5 false positive secrets suppressed
Duplicate Code ✅ PASSED 0.0% duplicated
SAST ✅ PASSED No security issues
IAC ✅ PASSED Rating S: No issues
SCA (Dependencies) ✅ PASSED Rating S: No vulnerabilities

View Full Results

Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
…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.
Comment thread apps/am-i-compromised/test/scanner.bats Fixed
Comment thread apps/am-i-compromised/test/scanner.bats Fixed
Comment thread apps/am-i-compromised/test/scanner.bats Fixed
Comment thread apps/am-i-compromised/test/scanner.bats Fixed
Comment thread apps/am-i-compromised/test/host-audit.bats Fixed
Comment thread apps/am-i-compromised/test/host-audit.bats Fixed
Comment thread apps/am-i-compromised/test/host-audit.bats Fixed
@IsaacBell IsaacBell changed the title release: am-i-compromised 1.1.0 (fewer false positives, inline ignores), publish tasks feat: host audit and clipboard exfil detection (am-i-compromised 1.2.0) Sep 25, 2026
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
Comment thread apps/am-i-being-recorded/bin/am-i-being-recorded.sh Fixed
@IsaacBell
IsaacBell merged commit 378741c into main Sep 26, 2026
19 of 20 checks passed

This branch was successfully deployed

1 active deployment
staging — 675dd0f4 Deployed Sep 26, 2026 by IsaacBell via Run CodeAnt CI scan #58
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