Repository navigation
v0.2.2
What's new in v0.2.2
Fixes every parser edge case, docstring-masking bug, false positive, false negative, and Docker --run observer defect surfaced during Benchmark v2 (benchmark/REPOS2.md).
Static Analysis & --fix Improvements
- Manifest & lockfile traversal (
manifests.go,main.go):- Supports
[tool.uv] default-groups,[dependency-groups]group traversal (skippingdev/test/lint/docs), and[tool.setuptools.dynamic.optional-dependencies]. - Follows optional-extra roots in
uv.lock/poetry.lockBFS (spacyviaunstructured,huggingface-hub/tiktokenvialitellm). - Parses multi-document
pnpm-lock.yamlv9 (importers:+snapshots:+packages:) and skipspeerDependenciesMeta.*.optionaldev-satisfied edges and test-runner packages (@playwright/test,vitest,jest,cypress), eliminatingdify'snext -> playwrightfalse positive. - Suppresses
spacywhen a pinned model wheel URL (en-core-web-sm) is declared; excludes LLM token-limit config keys (*TOKEN_LIMIT*,*BATCH_TOKENS*) from.envsecret findings.
- Supports
- Masking, FP guards & new rules (
rules.go,remediate.go):- Fixes Python multiline expression triple-quote inversion (
MODEL_INFO_URL = """...""") inBuildNonCodeLineMask. - Adds adjacent string concatenation joining, multiline
subprocess.run(["git", "clone", ...]), Go/Python hash-verification table filtering (expectedBpeHashes), Vertex AITextEmbeddingModel.from_pretrainedexclusion, non-runtime script/eval/test filtering (scripts/,eval/,conftest.py,download_deps.py), nestedfrontend/browser_clienttagging, and UI placeholder /<a href>/window.open/.credential.tsexclusions. - Adds rules for
gtts/gtts.gTTS(),tesseract.js,kokoro-js,langchainhub(hub.pull()),spacy.load(), runtime pricing/update checks (models.dev,pypi.org, GitHub releases,updates.*), direct stdlib telemetry endpoints (eu.i.posthog.com,otel.*,api.openai.com/v1/traces/ingest), andOPENAI_AGENTS_DISABLE_TRACING=1+CHROMA_TELEMETRY_IMPL=nonein--fix.
- Fixes Python multiline expression triple-quote inversion (
Docker --run Observer Hardening (dynamic.go)
- Overrides image
ENTRYPOINT(--entrypoint ""), uses named containers + host bind-mountedfsync-flushedattempts.jsonl, and runsdocker rm -fon timeout (TIMEOUT_EXCEEDED_IN_AIRGAP) while preserving pre-timeout egress attempts. - Decodes Python
byteshost arguments (b'...'), polls/procup to 1 s for detachedatexitchild telemetry processes, emitsSILENT_EGRESS_ATTEMPTED_AND_DROPPEDonexit=0runs with outbound attempts, and filters traceback documentation URLs (errors.pydantic.dev,cloud.google.com,sharp.pixelplumbing.com) out ofruntime_error_url.
Benchmark & Verification Notes
- Out-of-sample baseline (
v0.2.1, frozen at47b2ddcinbenchmark/REPOS2.md): Evaluated with independent(b)quickstart/import/straceruns underdocker run --rm --network nonealongside(a)static probes across 10 pre-registered repositories + Backup B1AutoGPT(ragflowcontainer build blocked at the 20-minute cap):- Pre-registered Primary 10:
42 TP / 6 FP / 17 FN(87.5% precision, 71.2% recall) - Executable 10 (with B1
AutoGPTsubstitutingragflowcontainer):48 TP / 4 FP / 19 FN(92.3% precision, 71.6% recall) - All 11 Scanned:
48 TP / 9 FP / 19 FN(84.2% precision, 71.6% recall)
- Pre-registered Primary 10:
- Post-diagnosis
v0.2.2verification (NOT out-of-sample): Static re-scan across the same 11 Benchmark v2 repositories scores67 TP, 0 FP, 0 FNagainst the Benchmark v2 ground truth (in-sample only).--runfixes were verified ingo test -v ./...(18/18tests passing, including realdocker run --rm --network nonecontainers); the 46 upstream Benchmark v2 application containers were not re-run onv0.2.2.
Commits: 8f3d711 (analyzer fixes & docs), ed88ad4 (install.sh version bump)