Conversation
…nal quality 8 engine improvements derived from oktsec IPI Arena benchmark analysis. Validated against 28,207 real MCP skills from Aguara Watch with zero regressions. 550 tests, 0 lint issues. New features: - Additional decoders: URL encoding, Unicode escapes, HTML entities, hex escapes - NLP analysis for JSON/YAML tool descriptions (MCP tool poisoning detection) - Aggregate RiskScore (0-100) on ScanResult with diminishing returns - Proximity weighting in NLP classifier (FP reduction on long docs) - Dynamic confidence scores (0.50-0.95 based on signal quality) - Configurable cross-rule dedup (DeduplicateSameRuleOnly for library consumers) - Cross-file toxicflow correlation (TOXIC_CROSS_001/002/003) - Library-mode rug-pull state API (WithStateDir option) API additions (non-breaking): - aguara.WithDeduplicateMode() - aguara.WithStateDir() - aguara.ScanResult.RiskScore - aguara.DeduplicateMode type
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
8 engine improvements for evasion prevention, signal quality, and library consumer API. Derived from oktsec IPI Arena benchmark analysis (95 attacks, 14 missed by deterministic layer).
WithDeduplicateMode(DeduplicateSameRuleOnly)preserves cross-rule findings for library consumersWithStateDir()enables hash-based change detection for library consumersValidation
-race, 0 lint issuesAPI additions (non-breaking)
Test plan
make build && make test && make vet && make lintall pass