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

codesentinel-cli

v1.0.2

Published

Code Sentinel AST & AI Security Auditor CLI - Scan local repositories, SD cards, live URLs, and GitHub repos for security flaws and hardcoded secrets.

Readme

CodeSentinel-Cli JavaScript SDK & CLI

Official AST & AI Security Auditor for Node.js, Termux & Cloud CI — the zero-dependency security platform

npm package node license


Installation

Run instantly with NPX (no installation needed):

npx codesentinel-cli scan

Install globally on desktop, server, or Termux:

npm install -g codesentinel-cli
sentinel scan

Note: This is a high-performance, zero-dependency security scanner. It runs natively in Node.js on local workspaces, Android Termux, Docker containers, and CI/CD pipelines without third-party npm package overhead.


Quickstart

1. Audit Current Workspace

sentinel scan

2. Audit Mobile / Android SD Card Paths (Termux)

termux-setup-storage
sentinel scan /sdcard/Download/my-project

3. Inspect Live Target Web App Security Headers

sentinel scan --url https://your-domain.com

4. Audit Remote Public GitHub Repositories

sentinel scan --url github https://github.com/facebook/react

5. Auto-Patch Hardcoded Secrets to process.env

sentinel fix

Command Reference & API

| Command | Description | | :--- | :--- | | sentinel scan [path] | Audit local workspace or custom directory path | | sentinel scan --url <https://...> | Inspect live web app HTTP security headers & TLS | | sentinel scan --url github <repo_url> | Remote security audit of public GitHub repository | | sentinel secrets [path] | Execute deep credential, RSA, and token leak scanner | | sentinel fix [path] | Auto-rewrite code, binding secrets to process.env | | sentinel ai prompt <query> | Query embedded AI Security Assistant for threat modeling | | sentinel help | Display terminal CLI usage manual |


Features & Detection Rules

  • SEC-01: Exposed API Keys: Scans for sk-*, AIzaSy*, AKIA*, and hardcoded cloud tokens.
  • SEC-02: Hardcoded JWT Signatures: Identifies unencrypted JWT secrets and session keys.
  • SEC-03: Unsafe Code Execution: Detects dangerous usages of eval() and new Function().
  • SEC-04: Async Promise Rejections: Catches unhandled promise rejections and missing catch blocks.
  • HTTP Header Security Compliance: Audits Content-Security-Policy, HSTS, X-Frame-Options, and X-Content-Type-Options.

Termux & Mobile Environment Setup

  1. Update Termux packages:
    pkg update && pkg upgrade -y
  2. Install Node.js and Git:
    pkg install nodejs git -y
  3. Grant storage permissions:
    termux-setup-storage
  4. Run Code Sentinel:
    npx codesentinel-cli scan /sdcard/Download/my-project

Continuous Integration (CI/CD)

GitHub Actions Workflow (.github/workflows/security.yml)

name: Code Sentinel Security Audit
on: [push, pull_request]
jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: '18'
      - run: npx codesentinel-cli scan

GitLab CI/CD Configuration (.gitlab-ci.yml)

security_audit:
  image: node:18-alpine
  script:
    - npx codesentinel-cli scan

License

Distributed under the MIT License. Copyright (c) Code Sentinel Security Team. All rights reserved.