Skip to main content

stillrunning-pre-commit

Pre-commit hook for scanning Python and Node.js dependencies against supply chain attacks.

PyPI version stillrunning

Installation

Add to your .pre-commit-config.yaml:

repos:
  - repo: https://github.com/johhnyg/stillrunning-pre-commit
    rev: v1.0.0
    hooks:
      - id: stillrunning

Then install:

pre-commit install

What It Scans

  • requirements.txt, requirements-dev.txt, etc.
  • package.json, package-lock.json
  • Pipfile
  • pyproject.toml
  • setup.py (install_requires)

Configuration

Create ~/.stillrunning/config.json:

{
  "token": "sr_your_token_here",
  "block_dangerous": true,
  "block_suspicious": false
}

Or set the STILLRUNNING_TOKEN environment variable.

Example Output

🛡️  stillrunning security scan
   Scanning 15 packages from requirements.txt

  ✅ CLEAN      requests==2.31.0
  ⚠️  SUSPICIOUS sketchy-lib==1.0.0 (score: 65)
     → Obfuscated code patterns detected
  🚫 DANGEROUS  evil-pkg==0.1.0 (score: 95)
     → Known malicious package (reverse shell)

❌ 1 dangerous package(s) found — commit blocked

Free vs Paid

Feature Free With Token
Known malicious packages Unlimited Unlimited
Threat feed database Unlimited Unlimited
AI analysis of unknown packages - 100-10000/day

Get a token at stillrunning.io/pricing

Options

The hook accepts these options in .pre-commit-config.yaml:

hooks:
  - id: stillrunning
    stages: [commit]  # or [push] for push-time scanning

Skip Hook

To skip the hook for a single commit:

SKIP=stillrunning git commit -m "message"

Manual Usage

pip install stillrunning-pre-commit
stillrunning-check requirements.txt package.json

License

MIT

Metadata

Release files for stillrunning-pre-commit 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stillrunning-pre-commit 1.0.0
File Size Uploaded Provenance Actions
stillrunning_pre_commit-1.0.0.tar.gz 5.3 kB Without provenance Details for stillrunning_pre_commit-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stillrunning-pre-commit 1.0.0
File Interpreter ABI Platform Actions
stillrunning_pre_commit-1.0.0-py3-none-any.whl Python 3 none any Details for stillrunning_pre_commit-1.0.0-py3-none-any.whl

Total release size: 11.1 kB

Release files / stillrunning_pre_commit-1.0.0.tar.gz

Download URL stillrunning_pre_commit-1.0.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9d6ef69754942ef829893bec55266d2cadc1249aa86373cd4b84a63be3c6fe73
BLAKE2b-256 checksum
How to use checksums
5ea95e4a16db80f20b37cbec9bcc457f89ef3e856d399a83f4d8d2e67117a4c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / stillrunning_pre_commit-1.0.0-py3-none-any.whl

Download URL stillrunning_pre_commit-1.0.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d69cb612e894302c56edd36a4bebf07b78adbee2d9e9c025ef3246ff8a1cfe3d
BLAKE2b-256 checksum
How to use checksums
a06920686946d647743802b45fec52fc164735ff05fe436fbb3c0c75d894547b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for stillrunning-pre-commit 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page