{"uid":"cap_HiP1JN8vJJAApfT6oyq7d","slug":"paket-package-source-project-resolver-ba6e1fae","name":"Paket Package Source Project Resolver","description":"Resolves a package to the source projects it declares, with the provenance of each link stated. This is the honest way to answer whether two packages belong together: names repeat across ecosystems and mean different things there, and that gap is exactly what dependency confusion attacks aim at.","url":"https://paket.halowerk.com/v1/package-match","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"type":"string","maxLength":300,"minLength":1},"system":{"enum":["npm","pypi","maven","go","cargo","nuget","rubygems"],"type":"string"},"version":{"type":"string","maxLength":60,"description":"Defaults to the registry default version."},"compare_name":{"type":"string","maxLength":300},"compare_system":{"enum":["npm","pypi","maven","go","cargo","nuget","rubygems"],"type":"string","description":"Second package to compare against."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_USx5Vuh1-jCo1jIHHZPjp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a package name to the source projects it declares, with provenance for each link, to determine whether packages truly belong together across ecosystems.","exampleAgentPrompt":"Can you check whether the npm package 'requests' and the PyPI package 'requests' actually resolve to the same source project, and tell me the provenance of each link?","exampleUseCases":[{"title":"Dependency confusion attack detection","prompt":"We have an internal package called 'acme-utils' — can you check if that name also exists in npm or PyPI and whether those public packages resolve to a completely different source project than ours?"},{"title":"Cross-ecosystem package ownership verification","prompt":"I need to know if the 'flask' package on PyPI and any package named 'flask' on npm point back to the same upstream source — can you resolve both and show me the provenance?"},{"title":"Supply chain audit before adding dependency","prompt":"Before we add 'chalk' as a dependency, can you resolve it and confirm the source project it declares matches the well-known terminal styling library, with full provenance details?"}],"resultDescription":"Returns the source projects declared by the given package(s), each link annotated with provenance metadata explaining how the connection was established, allowing the caller to determine whether packages sharing a name truly belong to the same project or represent a potential confusion attack.","failureModes":["Package name not found in the specified ecosystem — returns empty or null result","Ambiguous package name with multiple candidate source projects — returns multiple matches with confidence scores","Ecosystem not supported — returns validation error","No source project declared by the package — returns empty provenance links","Rate limit or payment failure — returns 402 or 429 error"],"whenToPreferThis":"Choose this endpoint when you need to authoritatively resolve whether a package name maps to a legitimate source project and whether the same name across different ecosystems refers to the same thing. It is especially valuable for dependency confusion attack detection, supply chain audits, and cross-ecosystem package ownership verification — scenarios where simply comparing names is insufficient because ecosystems have independent namespaces.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:45:45.957Z","isFirstParty":false}