Skip to content

fix(monitor): extend high-FP set after auditing the residual verdicts (#30)#35

Merged
Ap6pack merged 1 commit into
mainfrom
claude/project-audit-modernize-lda8id
Jul 17, 2026
Merged

fix(monitor): extend high-FP set after auditing the residual verdicts (#30)#35
Ap6pack merged 1 commit into
mainfrom
claude/project-audit-modernize-lda8id

Conversation

@Ap6pack

@Ap6pack Ap6pack commented Jul 17, 2026

Copy link
Copy Markdown
Owner

What

Completes the residual single-rule MALICIOUS audit from #30. Ran each remaining
rule against benign inputs; six more over-flag legitimate content and now
get the verify-or-downgrade treatment (join HIGH_FP_RULES):

Rule Confirmed false positive on
CMD-002 3 legit npx -y @mcp/... setup lines → MALICIOUS
CRED-002 onboarding prose ("enter your API key", "paste your token")
EXFIL-001 skill-tooling reads of ~/.claude/ and .cursor/
EXFIL-003 curl -X POST -d "$(cat file)" (normal API upload)
PI-001 security/detection skills that quote injection phrases
HIJACK-001 roleplay/persona skills ("you are now…", "your new role is")

Held up and stay confident on a single hit (no FP in testing):
PERSIST-001 (cron/systemd/.bashrc), EXFIL-002 (crypto-wallet access),
FRAUD-002 (agentic front-running).

Impact

  • Recall preserved: all rules still fire on the malicious fixtures; corroborated
    (2+ rule) verdicts unaffected.
  • On the current snapshot, the unverified single-rule MALICIOUS tier drops from
    39 → 20 (now only PERSIST-001 ×15, EXFIL-002 ×4, FRAUD-002 ×1 — all on
    rules that did not over-flag).
  • Full unit suite: 1445 passing; ruff + mypy clean.

Closes the audit item of #30

The remaining 20 sit on rules with no demonstrated FP surface. Other #30 items
(detector novelty logic, human-approval gate, dry-run mode) are still open.

🤖 Generated with Claude Code


Generated by Claude Code

…#30)

Completed the residual single-rule MALICIOUS audit. Ran each remaining rule
against benign inputs; six more over-flag legitimate content and now get the
verify-or-downgrade treatment:

- MALWAR-CMD-002   3 legit 'npx -y @mcp/...' setup lines -> MALICIOUS
- MALWAR-CRED-002  onboarding prose ('enter your API key', 'paste your token')
- MALWAR-EXFIL-001 skill-tooling reads of ~/.claude/ and .cursor/
- MALWAR-EXFIL-003 'curl -X POST -d "$(cat file)"' (normal API upload)
- MALWAR-PI-001    security/detection skills that quote injection phrases
- MALWAR-HIJACK-001 roleplay/persona skills ('you are now...', 'your new role is')

Held up and stay confident on a single hit (no FP in testing): PERSIST-001
(cron/systemd/.bashrc), EXFIL-002 (crypto-wallet), FRAUD-002 (front-running).

Recall preserved: all still fire on the malicious fixtures; corroborated
(2+ rule) verdicts unaffected. On the current snapshot this leaves only 20
unverified single-rule MALICIOUS (PERSIST-001 x15, EXFIL-002 x4, FRAUD-002 x1),
all on rules that did not over-flag. Full unit suite (1445) passes.

Co-Authored-By: Claude <noreply@anthropic.com>
@Ap6pack
Ap6pack merged commit 4ccaa89 into main Jul 17, 2026
5 checks passed
@Ap6pack
Ap6pack deleted the claude/project-audit-modernize-lda8id branch July 17, 2026 09:31
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