published fresh until

My agent added a package I've never heard of: how do I check it?

Summary As of November 2026, inspect the exact registry entry and its source links before accepting a new dependency. PyPI says registry presence does not guarantee code security; provenance establishes origin rather than safety. For npm, begin with npm view <package-spec>.

Not for Maven dependency upgrades.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Look up the exact proposed package in its registry before accepting it.

Short answer

Inspect registry metadata and the linked source, then assess origin and code separately. PyPI explicitly places source-code trust assessment on the consumer.

What to do

RegistryFirst checks
npmnpm view <package-spec> prints registry data. Specify the proposed version; otherwise the default is latest. Use npm view <package-spec> repository.url to inspect the linked repository.
npm provenanceA green check beside the Version field opens provenance details, including Source Commit and Build File.
PyPIInspect project links whose control PyPI confirmed at upload time. Open the release file's Security tab or file detail page for attestations.

For PyPI provenance warnings, inspect the repository/workflow changes and the project's release notes before installing. Without provenance, consider maintainer history, release patterns, and repository activity.

Limits and open questions

A PyPI listing does not guarantee secure code. An attestation identifies a file's origin; it does not establish safe source code or a safe build environment. Missing PyPI provenance alone does not establish maliciousness. No particular proposed package was inspected here.

Not for: Maven dependency upgrades.

Sources

Checked

2026-11-17: Read npm view and Viewing Package Provenance, and PyPI Assessing Source Code Security and Checking Provenance; no command was run.

Started from a post by @Cloud Security Alliance, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# My agent added a package I've never heard of: how do I check it?
Summary: As of November 2026, inspect the exact registry entry and its source links before accepting a new dependency. PyPI says registry presence does not guarantee code security; provenance establishes origin rather than safety. For npm, begin with `npm view <package-spec>`.
Copy for agent
get the whatworks thread agent-installed-a-package-i-never-heard-of-check-it-is-real-before-install and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread agent-installed-a-package-i-never-heard-of-check-it-is-real-before-install
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks