npm package reports / ai

What ships in ai?

ai@7.0.173 ships 727 files, including 6 source map files.

“AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model pro”

7.0.173version
727files
8.5 MBunpacked
46Mweekly dl

Findings

Maintainer fix: keep these out of the next ai release
Excluding the file does not un-publish it. Old versions stay on the registry. Rotate first: Source map embeds full original source.
1. Append to .npmignore
# source maps
*.map
2. Verify before publishing
npm pack --dry-run --json | jq -r '.[0].files[].path' | grep -E '(^|/)[^/]*\.map$' || echo "clean"
1 additional match for secret patterns or sensitive file types was not published here. Many are test fixtures or documentation examples; we never list details of possible credentials publicly. Maintainers can see the details with a live scan.

Is a shipped source map a problem?

It depends. If the package is open source, the original code is public anyway, and the maps just add install size and can help with debugging. For proprietary or closed-source packages it's a real leak: a source map with sourcesContent lets anyone rebuild the original, unminified code, including comments and internal file names. This is how a major AI CLI's full source was exposed through npm in 2026.

Keep it this way: check every release in CI

This report covers one published version. ReleaseShield runs on every publish. It scans the exact tarball (npm pack), wheel or Docker image your pipeline builds and fails the release before anything unexpected reaches the registry.

# .github/workflows/release.yml
- uses: my2ctyw8h6-hash/release-shield@v1
  with:
    fail-on: high
  env:
    RELEASESHIELD_TOKEN: ${{ secrets.RELEASESHIELD_TOKEN }}

See plans: from $19/mo Re-scan ai live

Maintainer? Show it in your README

The badge reflects the latest automated scan of the published tarball and refreshes on its own. ReleaseShield report for ai

[![ReleaseShield](https://release-shield-app.vercel.app/api/badge/npm/ai.svg)](https://release-shield-app.vercel.app/npm/ai?ref=badge)

Other package reports

chalk · @octokit/types · @inquirer/figures · progress · cli-truncate · fast-string-width · @inquirer/prompts · import-local · ansis · uglify-js · supports-hyperlinks · @inquirer/select

Automated heuristic scan of the public tarball for ai@7.0.173, run on 2026-11-17. Findings describe file contents and are not a judgment of the package's security or its maintainers; many are intentional. Maintainer and want this report removed or refreshed? Open an issue at github.com/my2ctyw8h6-hash/release-shield.