{"package":"@posthog/agent","ecosystem":"npm","latest_version":"2.3.1759","description":"TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/PostHog/code#readme","repository":"https://github.com/PostHog/code","downloads_weekly":6005,"health":{"score":76,"risk":"moderate","breakdown":{"maintenance":25,"popularity":6,"security":25,"maturity":15,"community":5},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"2.3.1759","total_count":428,"recent":["2.3.1646","2.3.1656","2.3.1658","2.3.1672","2.3.1673","2.3.1674","2.3.1680","2.3.1698","2.3.1705","2.3.1712","2.3.1715","2.3.1719","2.3.1727","2.3.1734","2.3.1745","2.3.1747","2.3.1748","2.3.1753","2.3.1755","2.3.1759"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":22,"first_published":"2025-10-06T22:51:42.082Z","last_published":"2026-07-31T16:47:49.431Z","dependencies_count":27,"dependencies":["@agentclientprotocol/sdk","@anthropic-ai/claude-agent-sdk","@anthropic-ai/sdk","@earendil-works/pi-agent-core","@earendil-works/pi-ai","@earendil-works/pi-coding-agent","@hono/node-server","@openai/codex","@opentelemetry/api","@opentelemetry/api-logs","@opentelemetry/exporter-logs-otlp-http","@opentelemetry/exporter-trace-otlp-http","@opentelemetry/resources","@opentelemetry/sdk-logs","@opentelemetry/sdk-trace-base","@opentelemetry/semantic-conventions","@types/jsonwebtoken","commander","fflate","hono","jsonwebtoken","minimatch","@modelcontextprotocol/sdk","tar","uuid","yoga-wasm-web","zod"]},"github_stats":null,"bundle":null,"typescript":{"score":0,"has_types":false,"types_source":null,"types_package":null},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"2.3.1759","version_hint":null,"summary":"@posthog/agent@2.3.1759 is safe to use (health: 76/100)"},"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/%40posthog%2Fagent","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/%40posthog%2Fagent","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/%40posthog%2Fagent","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 47 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,"advisory_id":"MAL-2025-190748","summary":"Malicious code in @posthog/agent (npm)","action":"use_with_caution","affected_versions":["1.24.1"],"latest_version_safe":true,"note":"Advisory MAL-2025-190748: versions 1.24.1 are compromised. Current latest (2.3.1759) is safe."},"scorecard":{"available":false},"quality":{"available":false},"version_history_summary":{"total_versions":20,"first_release_age_days":null,"last_release_days_ago":3,"avg_days_between_releases":null,"release_velocity":"active"}}