Spaces:
Sleeping
Sleeping
Commit History
-
docs: add comprehensive project description documenting SBOM features and modifications
HsiehMinChieh +1: Claude Opus 4.6- Document SBOM checking feature with OSV.dev integration - Explain hybrid online/offline vulnerability database architecture - Document Mermaid 11 compatibility fixes (node ID collision resolution) - Include CDN URL parsing patterns and version matching logic - Provide usage instructions and technical architecture overview - Add development notes and future improvement suggestions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>a17f847
-
Add OSV.dev online vulnerability DB with static fallback
HsiehMinChieh +1: Claude Opus 4.6SBOM analysis now refreshes its vulnerability data from OSV.dev on every startup, querying tracked npm packages concurrently. Per-package failures fall back to the bundled static database, so the tool still works offline. The SBOM tab now shows the active data source and refresh timestamp. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>d8f8d2b -
Add SBOM tab with offline CVE check for external dependencies
HsiehMinChieh +1: Claude Opus 4.6Detects external <script>/<link> dependencies, extracts package names and versions from common CDN URL patterns, and matches them against a curated offline vulnerability database for jQuery, Bootstrap, Lodash, Moment, Axios and AngularJS. Surfaced as a new tab in both the Gradio app and the exported HTML report. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>6293b85 -
Use sequential node IDs in Mermaid to avoid parser crashes
HsiehMinChieh +1: Claude Opus 4.6Function names like "constructor" collide with Object.prototype keys and "end" is a Mermaid reserved word, both crashing the flowchart parser. Node IDs are now n0, n1, ... with the real name kept only in the label. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>e7a570c -
Fix Mermaid syntax error on Gradio (Mermaid 11 compatibility)
HsiehMinChieh +1: Claude Opus 4.6Quote edge labels and remove stray blank line to fix "Syntax error in text" when rendering flowcharts in Gradio's Mermaid 11.12.2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>9afee94 -
Add hint when flowchart has nodes but no edges
HsiehMinChieh +1: Claude Opus 4.6Show "所有函式皆獨立運作,無互相呼叫或共享變數關係" when main functions exist but have no call or shared-variable relationships. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>2162f8e -
Fix f-string backslash syntax error on Python 3.10
HsiehMinChieh +1: Claude Opus 4.6Pre-build HTML fragments before the f-string template to avoid backslashes inside f-string expressions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>2f131b5 -
Add empty state messages for main function list and flowchart
HsiehMinChieh +1: Claude Opus 4.6When all functions are classified as UI/anonymous, show helpful messages instead of blank content in the report and Mermaid tabs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>ebe764a -
Pin tree-sitter <0.22 for tree-sitter-languages compatibility
HsiehMinChieh +1: Claude Opus 4.6tree-sitter 0.22+ changed Language.__init__() signature, breaking tree-sitter-languages 1.10.2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>eb29020 -
Remove gradio upper bound to fix HF Spaces build
HsiehMinChieh +1: Claude Opus 4.6HF Spaces force-installs gradio==6.14.0 which conflicts with <6.0.0. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b88f402 -
Fix security, correctness, and quality issues across all modules
HsiehMinChieh +1: Claude Opus 4.6- Fix XSS: html.escape all user-derived strings in HTML report - Fix empty UI tab in HTML export: classify_functions() shared across paths - Fix TemporaryDirectory deleting files before Gradio serves them - Stop Exporter from mutating input ReportData - Extract mermaid_gen.py with edge dedup, deterministic ordering, execution classDef - Centralize constants: SIDE_EFFECT_ICONS, IGNORE_READS, SIDE_EFFECTS_REVERSE - Use script.sourceline, O(n) caller index, remove unused imports - Relax requirements.txt version pins Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>6242218 -
Update export_html.py
Verified signature274ff34 -
Update app.py
Verified signature543e466 -
Update analyzer.py
Verified signature396b462 -
Update app.py
Verified signature53e33ef -
Update analyzer.py
Verified signature909cb1b -
Update analyzer.py
Verified signature0546a6e -
Update export_html.py
Verified signaturec7b68bf -
Update export_html.py
Verified signature3db1167 -
Update export_html.py
Verified signaturece97546 -
Update app.py
Verified signature9a16267 -
Create export_html.py
Verified signature3358541 -
Update analyzer.py
Verified signaturea2b67f5 -
Update analyzer.py
Verified signatureb65cba1 -
Update analyzer.py
Verified signature8b6c59c -
Update app.py
Verified signaturec38d89a -
Update README.md
Verified signaturec53eef1 -
Update README.md
Verified signaturefbad5a5 -
Update README.md
Verified signature5c4d3cc -
Update README.md
Verified signature807592c -
Create analyzer.py
Verified signature5f3028e -
Create app.py
Verified signature79ad010 -
Create requirements.txt
Verified signature86b4c0d -
initial commit
Verified signaturef097fe7