New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

opuspm

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opuspm

opus package manager - build npm packages from scratch using ai

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

opuspm

opus package manager - build npm packages from scratch using ai

instead of npm install lodash, you run opuspm install lodash

except it doesn't install anything. it builds the entire package from scratch using claude.

no supply chain attacks. just vibes.

inspiration

@weswinder's tweet:

"i really don't think we need npm anymore. opus 4.5 can duplicate basically anything from scratch and actually have full control over the code. easy way to avoid supply chain attacks"

built live on stream: https://x.com/caffeinum/status/1997095120362262918

install

bun add -g opuspm

usage

opuspm install lodash
opuspm i left-pad
opuspm install express

this will create a node_modules/<package> directory with a working implementation built entirely from scratch.

requirements

  • bun
  • one of these auth methods:
    • ANTHROPIC_API_KEY environment variable, or
    • CLAUDE_CODE_OAUTH_TOKEN for claude code oauth

cost

~$0.13 per package (varies by complexity)

why

  • no supply chain attacks
  • full control over the code
  • you know exactly what's in your dependencies
  • it's kinda funny

limitations

  • costs api credits
  • won't be 100% api compatible with original packages
  • complex packages may be simplified
  • no guarantees on correctness

license

mit

Keywords

npm

FAQs

Package last updated on 06 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts