Scan your whole stack
From OX Research Newsroom
Are you using maunprekshak?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.22.0
maunprekshak was last scanned on 27 Nov 2026 at version 0.22.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.22.0 LATEST | 27 Nov 2026 | No rules fired |
| 0.21.0 | 24 Nov 2026 | No rules fired |
| 0.20.0 | 27 Oct 2026 | No rules fired |
| 0.19.0 | 19 Oct 2026 | Not shown |
| 0.18.0 | 19 Oct 2026 | Not shown |
Findings for v0.22.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.22.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
"The Silent Observer. Nothing hides from it."
MaunPrekshak (मौन = Silent, प्रेक्षक = Observer) is a fast, privacy-first Python security toolkit designed to catch vulnerabilities, exposed credentials, and insecure code patterns right in your terminal.
libs.versions.toml), Scala (build.sbt), Clojure (deps.edn, project.clj), Debian/Ubuntu (debian/control), PHP (Composer), .NET NuGet, Dart/Flutter Pub, Ruby (Gemfile, Gemfile.lock), Elixir (mix.exs, mix.lock), Swift (Package.swift, Package.resolved), C/C++ (Conan & vcpkg), Haskell (Hackage/Cabal/Stack), CocoaPods (Podfile, Podfile.lock), R CRAN (DESCRIPTION, renv.lock), Erlang Hex (rebar.lock), GitHub Actions CI/CD workflows (.github/workflows/*.yml), Julia (Project.toml, Manifest.toml), Homebrew (Brewfile), Conda (environment.yml, environment.yaml), Kubernetes Helm (Chart.yaml, Chart.lock), and OCaml (*.opam, opam) for deep transitive dependency tracking. CI fails as soon as any finding meets the selected severity threshold.TF001–TF030) for AWS, GCP, and Azure cloud resources (--only tf), including CloudWatch Log Group KMS keys & retention, ECR repository vulnerability scanning & tag immutability, Redshift cluster encryption at rest, Secrets Manager KMS keys, MSK Kafka in-transit TLS, ElastiCache replication group encryption, SNS HTTP endpoint protection, CloudFront viewer protocol policies, OpenSearch cluster encryption, API Gateway endpoint authorization, Lambda KMS key encryption, ALB/ELB TLS policies, S3 bucket versioning, EBS volume encryption, SQS/SNS KMS encryption, CloudTrail logging, RDS KMS encryption, VPC default security groups, and EKS public endpoint exposure.K8S001–K8S020) detecting host namespace sharing (net/pid/ipc), dangerous service exposure (NodePort/LoadBalancer), runtime socket mounts (docker.sock/containerd.sock), mutable/latest images, missing health probes, undropped NET_RAW capabilities, missing/unconfined Seccomp profiles, missing NetworkPolicies, and container escape vectors.--fix): 47+ automated remediations across Python SAST (RSA public exponent, cookie HTTPOnly/Secure/CSRF settings, Paramiko RejectPolicy, TLS minimum version, CORS credentials, weak key size, check_hostname, Celery serializers, JWT verify, YAML FullLoader, XML XXE entities, insecure cookies, disabled SSL hostname checks, NumPy pickle, PyTorch weights, YAML unsafe load, open chmod, SSL verify), Terraform IaC (ECR scan on push, Redshift cluster encryption, MSK Kafka TLS, ElastiCache encryption, CloudFront HTTPS redirection, OpenSearch encryption, S3 bucket versioning, EBS volume encryption, CloudTrail logging, storage encryption, public access blocks), Dockerfiles (apt-get --no-install-recommends, stripping insecure download flags --insecure/-k/--no-check-certificate, pip install --no-cache-dir, chmod 777 -> 755, ADD -> COPY, commenting out prohibited SSH EXPOSE 22), Kubernetes manifests (runAsNonRoot, privileged container, privilege escalation, root filesystem, host namespace sharing, unconfined seccomp, insecure pull policy), and GitHub Actions (workflow permissions).--notify-webhook <url> and --notify-on <fail|always>.--history and --commits <N> to uncover leaked credentials that were committed and later "deleted" in git log..maunprekshak-rules.yaml or --rules-file without modifying core code.MP001–MP104 crossing the Century 100-rule milestone including insecure RSA public exponent < 65537, insecure cookie session/CSRF settings, pandas read_sql SQL injection, predictable PRNG random.seed initialization, insecure yaml.dump Dumper=yaml.Dumper, shutil.unpack_archive Zip Slip, tempfile delete=False persistence, pbkdf2 iterations < 100k, Flask render_template_string SSTI, joblib.load unvalidated dynamic paths, socket.bind wildcard address, Paramiko AutoAddPolicy, regex re.DEBUG leakage, asyncio create_subprocess_shell injection, cursor PRAGMA/f-string SQL injection, insecure TLS minimum_version, Celery bound task global state mutation, zipfile Zip Slip extraction, ctypes dynamic library loading, unbounded PyMongo deletion, FastAPI/Starlette permissive CORS credentials, asyncssh known_hosts=None, multiprocessing IPC manager missing authkey, mmap W^X memory execution, unsafe reflection, weak key generation, check_hostname disabled, code.InteractiveInterpreter, insecure /tmp path formatting, Celery pickle deserialization, JWT signature bypass, raw SQL injection in ORM, subprocess with shell=True, YAML FullLoader, ReDoS backtracking, cookie flags, disabled SSL verification, GraphQL injection, password hashing, insecure PRNG, NumPy pickle, RSA key length, and path traversal), Dockerfile rules (DF001–DF020 including apt-get missing --no-install-recommends, insecure package install flags --trusted-host/--unsafe-perm/--ignore-engines, cryptographic keys/certificates in COPY/ADD, insecure curl/wget flags in RUN, sensitive directory recursive permissions, pip missing --no-cache-dir, SSH port/daemon exposure, curl/wget piped to shell), GitHub Actions security checks (GHA001–GHA008), and GitLab CI security checks (GLCI001–GLCI004).--output html.--staged, diff checks via --diff, and legacy debt suppression via --baseline.--output sonarqube), Code Climate / GitLab Code Quality (--output codeclimate), GitLab SAST v15 (--output gitlab), OASIS SARIF 2.1.0, CycloneDX 1.5, SPDX 2.3, HTML, JSON, or Markdown export.pip install maunprekshak
curl -sSL https://raw.githubusercontent.com/PramanKasliwal/maunprekshak/main/install.sh | bash
irm https://raw.githubusercontent.com/PramanKasliwal/maunprekshak/main/install.ps1 | iex
pip install maunprekshak
# or using pipx (recommended for Windows & Ubuntu 24.04+)
pipx install maunprekshak
pipx ensurepath
Windows Tip: If
mpis not recognized after a standardpip install, run directly via the Python module:python -m maunprekshak scan . # or using py launcher py -m maunprekshak scan .Or permanently add Python's
Scripts\folder to your user PATH via PowerShell:$scriptsDir = python -c "import sysconfig; print(sysconfig.get_path('scripts'))" [Environment]::SetEnvironmentVariable("PATH", "$([Environment]::GetEnvironmentVariable('PATH', 'User'));$scriptsDir", "User")
Basic Scan
Scan the current directory:
mp scan .
mp scan . --no-ai
# Export interactive standalone single-file HTML audit report (100% offline, zero CDN dependencies)
mp scan ./my-project --output html --output-file audit.html
# Export standard OASIS SARIF 2.1.0 for GitHub Code Scanning
mp scan ./my-project --output sarif --output-file results.sarif
# Export OASIS CycloneDX 1.5 JSON SBOM
mp scan ./my-project --output cyclonedx --output-file bom.cdx.json
# Export Linux Foundation SPDX 2.3 JSON SBOM
mp scan ./my-project --output spdx --output-file bom.spdx.json
# Export as JSON for pipelines
mp scan ./my-project --output json > report.json
# Export SonarQube Generic Issue Import JSON for sonar.externalIssuesReportPaths
mp scan ./my-project --output sonarqube --output-file sonar-issues.json
# Export Code Climate JSON for GitLab Code Quality / Code Climate CLI
mp scan ./my-project --output codeclimate --output-file codeclimate.json
# Export formatted Markdown
mp scan ./my-project --output markdown > SECURITY.md
--history)Detect credentials and tokens that were previously committed and subsequently deleted in git history:
# Scan git history for leaked credentials (default: last 50 commits)
mp scan . --history
# Deep-scan specific commit depth
mp scan . --history --commits 100
--rules-file)Define organization-specific secret patterns or custom SAST banned functions via .maunprekshak-rules.yaml:
custom_rules:
secrets:
- id: "ACME-001"
name: "Acme Corp Token"
regex: "acme_secret_[0-9a-f]{32}"
severity: "high"
sast:
- id: "ACME-002"
name: "Banned Legacy Function"
severity: "critical"
description: "myapp.legacy_eval is unsafe and deprecated."
recommendation: "Use secure parser module instead."
banned_calls: ["myapp.legacy_eval", "os.system"]
banned_imports: ["telnetlib"]
# Scan using explicit custom rules file (or auto-discovered .maunprekshak-rules.yaml)
mp scan . --rules-file .maunprekshak-rules.yaml
--fix)Automatically patch safe, deterministic anti-patterns without breaking application logic:
MP012 & MP036: yaml.load() / yaml.unsafe_load() -> yaml.safe_load(), unsafe Loader -> yaml.SafeLoaderMP031: torch.load() -> torch.load(..., weights_only=True) (prevents arbitrary pickle execution)MP023: tar.extractall() -> tar.extractall(filter='data') (prevents Zip Slip)MP014: tempfile.mktemp() -> tempfile.NamedTemporaryFile().nameMP015: Insecure HTTP SSL verification verify=False -> verify=TrueMP033: World-writable os.chmod(): 0o777 -> 0o700, 0o666 -> 0o600TF004: Terraform storage/database storage_encrypted = false -> trueTF005: Terraform database publicly_accessible = true -> falseTF006: Terraform S3 Public Access Block block_public_* = false -> trueTF009: Terraform S3 bucket key enabled: bucket_key_enabled = false -> trueDF002: Dockerfile missing non-root user -> injects USER 10001:10001 before CMD/ENTRYPOINTDF006: Dockerfile ADD -> COPY for local filesMP069: Jinja2 template autoescape: autoescape=False -> autoescape=TrueMP073: Flask interactive debugger on 0.0.0.0 -> binds host="127.0.0.1"mp scan . --fix
Suppress specific false-positives or approved patterns directly in code comments:
# Suppress all findings on this line:
result = eval(user_input) # maunprekshak: ignore
# or Bandit / flake8 compatible:
result = eval(user_input) # nosec
# Suppress specific rule ID:
result = eval(user_input) # maunprekshak: ignore[MP001]
result = eval(user_input) # nosec: MP001
# Disable entire file for a rule at the top of the file:
# maunprekshak: disable-file[MP001]
# Fail CI build if any CRITICAL issue is found
mp scan . --ci --fail-on critical
# Fail CI build on HIGH or CRITICAL issues
mp scan . --ci --fail-on high
# A single HIGH or CRITICAL finding is enough to fail; the risk score remains informational
Run MaunPrekshak in your GitHub workflow and get native inline alerts in GitHub's Security ➔ Code Scanning tab:
name: Security Scan
on: [push, pull_request]
jobs:
maunprekshak:
runs-on: ubuntu-latest
permissions:
security-events: write # Needed for SARIF upload
contents: read
steps:
- uses: actions/checkout@v4
- name: Run MaunPrekshak Security Scan
uses: PramanKasliwal/maunprekshak@v0.8.0
with:
fail-on: high
output: sarif
sarif-file: results.sarif
- name: Upload to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: results.sarif
Install MaunPrekshak directly into your repository's .git/hooks/pre-commit with a single command — no external dependencies needed:
# Install native pre-commit hook (automatically scans staged files before every commit)
mp hook install
# Uninstall hook and restore any previous backup
mp hook uninstall
Or using the standard .pre-commit-config.yaml framework:
repos:
- repo: https://github.com/PramanKasliwal/maunprekshak
rev: v0.8.0
hooks:
- id: maunprekshak
args: ["--staged", "--fail-on", "high"]
.maunprekshak.toml)Generate a starter configuration file with:
mp init
Or customize .maunprekshak.toml (or [tool.maunprekshak] in pyproject.toml):
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.