npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

praxis-sec

v1.2.4

Published

Praxis security CLI: 28 built-in scanners for AI apps, agents, MCP and code; local static analysis, optional LLM-assisted fixes, verification, threat intelligence and CI gates.

Readme

Praxis

Praxis scans AI applications and codebases, helps you review fixes, and verifies the changes. Its 28 built-in scanners cover LLM integrations, agents, MCP servers, RAG pipelines, model files, secrets, and common code vulnerabilities. Static analysis runs locally; optional LLM analysis and live probes extend the workflow.

[!IMPORTANT] For a local static scan, run praxis scan . --no-ai --no-deps. Default scans audit dependencies over the network and may classify findings with a configured LLM provider. Deep analysis, LLM fixes, feed updates, credential verification, Git clones, and live probes can contact external services. Review provider configuration and proposed changes before using these features on sensitive projects.

Install

npm install -g praxis-sec
praxis --version

Requires Node.js 18 or newer. The npm package is praxis-sec; it installs the praxis command. Static scanning needs no account or API key. LLM features require a configured cloud or local provider.

GitHub releases and npm publication are separate. The 1.2.4 release notes describe this patch; the npm badge shows the version currently published to npm. To use a GitHub release before npm publication, install its attached package tarball, or check out the tag and run npm ci followed by node cli/bin/praxis.js --version.

Quick start

praxis scan . --no-ai --no-deps # local static audit
praxis scan .                  # full audit, including dependency CVEs
praxis scan ci . --fail-on high # fail on high/critical findings or an incomplete scan
praxis fix .                   # interactive LLM-guided fixes
praxis scan redteam . --no-ai   # static adversarial scanners
praxis agents audit .          # agent configuration audit
praxis web                     # local web UI
praxis rules list              # rule inventory
praxis intel update            # refresh threat feeds over the network

Scan roots must be directories. Use praxis --help and each command's --help for available options. Running praxis without arguments on a terminal opens the interactive REPL.

What it does

| Capability | Coverage | | --- | --- | | AI and agent scanning | Prompt injection, MCP tool abuse, agent memory, model deserialization, RAG, telemetry, agent configuration, and infrastructure inventory | | Code analysis | Patterns, JS/TS and Python parsing, lexical scopes, intra-file taint tracking, and guardrail detection | | Fix workflow | Proposed diffs, approval, atomic writes, available project checks, complete re-scans, failed-fix rollback, and an undo ledger | | Live testing | praxis redteam <endpoint> for LLM endpoint probes; praxis agents mcp --test-live for MCP runtime checks | | Threat intelligence | Cached advisory and exploit data, a bundled AI threatpack, and optional keyed providers | | Standards mapping | OWASP LLM/ML/Agentic, MITRE ATLAS, NIST AI 600-1, AVID, EU AI Act, ISO 42001, and Google SAIF references | | Reports | JSON, SARIF, HTML, Markdown, CSV, and print-rendered PDF | | CI integration | Severity/score gates, baseline and net-new PR comparison, SARIF upload, and PR summaries | | Portable rules | Pattern exports with a manifest describing features that cannot be represented as Semgrep rules |

Commands

praxis scan       full · git · secrets · changed · env · redteam · standard · ci
praxis fix        interactive · quick · from-report · rotate · undo · env-template
praxis agents     audit · skill · mcp · bom · serve
praxis intel      update · deps · advisories
praxis report     team · legal · checklist · sbom · benchmark
praxis project    init · doctor · hooks · guard · watch · baseline · memory · playbook · plugins · policy
praxis rules      list · export · import
praxis web        local scan UI

praxis scan redteam <directory> scans source code. praxis redteam <endpoint> sends probes to a live endpoint; use it only on targets you are authorized to test.

Scan status and interpretation

Full-scan JSON exposes scanComplete, scanErrors, and dependencyAudit. An incomplete scan exits unsuccessfully and cannot verify a fix. A deliberately skipped dependency audit is reported as skipped; it provides no dependency assurance.

A normal full scan can exit successfully while reporting findings. Use scan ci or --fail-below to enforce a gate. A score summarizes detected findings; it does not establish that a project is secure or compliant. Review evidence, false positives, exclusions, and enabled checks.

LLM configuration

Praxis loads a local .env automatically. A configured provider can be used for finding classification; --no-ai disables classification. --deep, LLM fixes, and swarm analysis are separate features and can still use a provider.

OPENAI_API_KEY=replace-with-your-key
OPENAI_BASE_URL=https://your-gateway.example/v1/chat/completions
PRAXIS_LLM_MODEL=your-model
PRAXIS_LLM_REASONING=high

See the environment template and provider configuration. Keep real credentials out of version control. Check configuration with praxis project doctor.

GitHub Action

The Action runs the code selected by its Git ref, independently of the npm latest version.

name: Security
on: [push, pull_request]
permissions:
  contents: read
  security-events: write
  pull-requests: write
jobs:
  praxis:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: Ganron007/[email protected]
        with:
          threshold: '80'
          net-new: 'true'
          fail-on-new: 'high'
          always-fail-on: 'critical'
          sarif: 'true'
          comment: 'true'

On pull requests, net-new compares the base and head scans. Existing findings are excluded from the introduced-finding gate, but always-fail-on and scan failures still fail the job. On other events, the regular gate applies. SARIF and PR comments need their respective write permissions; repository settings and fork PR restrictions can limit them. Disable either integration if those permissions are unavailable.

Pin a release tag or commit for reproducibility. The floating v1 tag tracks the maintained release line. See CI integration for inputs, outputs, and plain CLI examples.

Portable rules

praxis rules list
praxis rules export -o ./rules
semgrep --config ./rules/praxis-rules.yaml .
praxis rules import ./rules/praxis-rules.json --write-plugin .praxis/agents

The export manifest identifies pattern rules and explains limitations for AST/taint dataflow, probe signatures, entropy checks, and LLM analysis. Imported plugins are executable code; enable them only after review. See custom plugins.

Documentation

Scope and limitations

Praxis combines static heuristics, intra-file analysis, optional LLM judgments, and live probes. Findings need review; a completed scan can miss vulnerabilities and can report false positives. Standards tags provide control references and evidence, not compliance certification. LLM verdicts are advisory, and verification depends on the available checks in the target project.

License

MIT. See LICENSE and third-party notices.