Repository navigation
feat: FP reduction, benchmarks, example, mooncakes publishing - #9
Merged
Merged
Conversation
CWE-22: Add API route, git ref, shell script, internal path, custom protocol, and string comparison filters. Reduces popular-project findings from 53 to 16 (~70% reduction, FP rate ~19%). CWE-113: Add safe variable tracking for let-bound sanitized and constant values. Recognize all-constant match branches. Keep is_constant_string as base check to avoid false negatives. Benchmarks: 23 cases across 6 CWE rules (CWE-22: 9, CWE-113: 5, CWE-248: 3, CWE-676: 2, CWE-704: 2, CWE-079: 2) with automated regression runner. Add examples/vulnerable_server.mbt with CWE-22 and CWE-113 demo. Add .moonignore to exclude non-library files for mooncakes publishing (40MB → 6.3MB). Add audit_hint disposition for CWE-248/676/704 rules. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
moon fmt formatting and moon info interface regeneration to pass CI checks. Update module_context_test assertions to expect 5 findings instead of 2, matching CWE-248 requirement change to "none". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Restore the project introduction, real-world results table, rule tables, CI integration, and architecture sections from the original README. Update for current state: 14 rules, FP reduction, mooncakes install, quick example, benchmarks. Condense semantic/verification/ workspace into a single optional section. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
scripts/detection_benchmark.py)examples/vulnerable_server.mbt) demonstrating CWE-22 and CWE-113 detectionTest plan
moon publish --dry-runsucceeds (202)🤖 Generated with Claude Code