{"package":"@torbeck/heap","ecosystem":"npm","latest_version":"4.3.14","description":"Min/Max Heap & Heap Sort implementation in javascript","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/datastructures-js/heap#readme","repository":"https://github.com/datastructures-js/heap","downloads_weekly":345,"health":{"score":40,"risk":"high","breakdown":{"maintenance":25,"popularity":3,"security":15,"maturity":3,"community":3},"deprecated":false,"max_score":100},"vulnerabilities":{"count":1,"critical":1,"high":0,"medium":0,"low":0,"details":[{"vuln_id":"MAL-2026-10405","severity":"critical","summary":"Malicious code in @torbeck/heap (npm)","affected_versions":"=4.3.14|=4.3.11|=4.3.10","fixed_version":null,"source":"osv","published_at":"2026-07-13T06:53:07Z"}],"actively_exploited_count":0,"likely_exploited_count":0},"versions":{"latest":"4.3.14","total_count":5,"recent":["4.3.8","4.3.10","4.3.11","4.3.12","4.3.14"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2026-06-21T01:33:50.972Z","last_published":"2026-07-12T21:14:42.344Z","dependencies_count":0,"dependencies":[]},"github_stats":{"stars":100,"forks":18,"open_issues":0,"is_archived":false,"pushed_at":"2025-10-12T01:44:46Z","subscribers_count":2},"bundle":null,"typescript":{"score":10,"has_types":true,"types_source":"bundled","types_package":null},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"do_not_use","issues":["Moderate health score (40/100) — verify manually","1 critical vulnerabilities"],"use_version":"4.3.14","version_hint":null,"summary":"@torbeck/heap has critical vulnerabilities — do not use"},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/npm/%40torbeck%2Fheap","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/%40torbeck%2Fheap","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/%40torbeck%2Fheap","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate","hint_bulk":"You've called /api/check 61 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":0,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":false},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":false},"version_history_summary":{"total_versions":5,"first_release_age_days":42,"last_release_days_ago":20,"avg_days_between_releases":10,"release_velocity":"active"}}