Skip to content
shim-secPublic

About

Intercept risky package installs before they reach your project.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Shim

Make package installs safe by default.

Shim is a pre-install security layer for modern package managers.

It analyzes packages before installation to detect:

  • malicious install scripts
  • suspicious dependency changes
  • obfuscated code
  • vulnerable packages
  • suspicious install-time behavior

Shim works directly in the installation workflow to stop suspicious packages before code executes on your system.


Features

Current

  • Vulnerability scanning
  • Install script inspection
  • Dependency diff analysis
  • Suspicious metadata detection
  • npm / pnpm / yarn support
  • Local CLI workflow integration

Planned

  • Python ecosystem support
  • Git repository scanning
  • Unicode / obfuscation detection
  • AST-based heuristic scanning
  • CI/CD integrations
  • Optional sandboxed execution
  • Real-time vulnerability alerts

Supported Platforms

Platform Status
Linux ✅
macOS ✅
Windows ✅

Supported Package Managers

Package Manager Status
npm ✅ Supported
pnpm ✅ Supported
yarn ✅ Supported
bun 🚧 In Progress
pip 🚧 In Progress

Installation

Linux / macOS

curl -fsSL https://github.com/shim-sec/shim/releases/download/latest/install.sh | bash

Windows

powershell -c "irm https://github.com/shim-sec/shim/releases/download/latest/install.ps1 | iex"

Shim Commands

Help

Display all available Shim commands and flags.

shim help

Update

Update shim to the latest version.

shim update

Uninstall

Uninstall shim from the machine.

shim uninstall

Doctor

Verify Shim installation and ensure all components are working correctly.

shim doctor

About

Intercept risky package installs before they reach your project.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors