AgentStack
SKILL unreviewed MIT Self-run

Supply Chain Security

skill-shieldnet-360-secure-vibe-supply-chain-security · by ShieldNet-360

Defend against typosquats, dependency confusion, and malicious package contributions — Applies to: when AI is asked to add a dependency; when reviewing PRs that modify package manifests; when setting up a new project that uses internal namespaces; before publishing a package to a public registry

No reviews yet
0 installs
8 views
0.0% view→install

Install

$ agentstack add skill-shieldnet-360-secure-vibe-supply-chain-security

Open-source listing — not yet scanned by AgentStack. Follow the source repository for install instructions.

Security review

⚠ Flagged

1 finding(s); flagged for manual review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures
  • high Pipes remote content directly into a shell (remote code execution).

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Supply Chain Security? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Supply Chain Security

Defend against typosquats, dependency confusion, and malicious package contributions

ALWAYS

  • Compute Levenshtein distance against the top-1000 list for the relevant ecosystem whenever proposing a new dependency. Flag any candidate with distance ≤ 2 from a popular package (axois vs axios, urlib3 vs urllib3, colours vs colors, python-dateutil vs dateutil vs dateutils).
  • Verify that internal-namespace packages (@yourco/*, com.yourco.*) are pulled from the internal registry, not the public one. Configure .npmrc / pip.conf / settings.gradle with the internal scope explicitly.
  • Pin the registry URL in lockfiles to prevent registry redirection attacks.
  • Check that any newly added package has a verified maintainer (npm provenance, sigstore signature, or GPG-signed git tag) when published in the last 90 days.
  • Treat install scripts (postinstall, preinstall, setup.py arbitrary code, build.rs) as high-risk surface and flag them in the PR description for human review.
  • Secure your application's own update / release channel, not just third-party deps. Require authentication and a release-manager role on the endpoint that publishes a release, and have the client verify a signature (or pinned checksum) over the downloaded artifact before executing it. The publish-then-clients-auto-download path is a supply chain too: poison one release and every client runs it.

NEVER

  • Add a public package whose name matches an internal namespace pattern.
  • Trust a package whose repository URL on the registry page does not match its actual source repo.
  • Recommend a freshly-published package with low download counts for a security-critical use case (auth, crypto, HTTP, DB drivers).
  • Disable the package manager's integrity check (--no-package-lock, --ignore-scripts = false when defending against it, npm config set audit false in production).
  • Auto-merge dependency-bump PRs without a reviewer when the bump crosses a major version.
  • Suggest installing tools via curl | sh patterns from untrusted sources.
  • Let any authenticated user — or, worse, an unauthenticated request — publish or overwrite a release artifact that other users' clients auto-download, or have the client execute an update without verifying a signature / pinned checksum. Either one is a one-poison-many-RCE supply-chain break.

KNOWN FALSE POSITIVES

  • Legitimate orgs forking and republishing maintained packages with a -fork or -community suffix; verify the fork's repo URL before flagging.
  • Beta / alpha releases of well-known packages (e.g. next@canary) appear "newly published" but are part of a known release cadence.
  • Internal namespace packages (@yourco/internal-tools) intentionally not on the public registry — these are fine when the .npmrc is configured correctly.
  • Auto-update frameworks that verify a signature by default (Sparkle, electron-updater with a pinned public key, Omaha) are the correct pattern — flagging "the app auto-updates" is an FP; the control is signature / checksum verification, not the absence of auto-update.
  • A staging / dev update feed without signing is acceptable when it's gated behind an env flag or internal network and never serves production clients.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.