Scan your whole stack
Are you using jsspector?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.16
jsspector was last scanned on 29 Nov 2026 at version 0.1.16. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.16 LATEST | 29 Nov 2026 | No rules fired |
| 0.1.15 | 27 Nov 2026 | Not shown |
| 0.1.14 | 27 Nov 2026 | Not shown |
| 0.1.13 | 27 Nov 2026 | Not shown |
| 0.1.12 | 27 Nov 2026 | Not shown |
Findings for v0.1.16. 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.1.16; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
JSSpector is an auto-evolving security analyzer for JavaScript and TypeScript. It combines deterministic static analysis with dynamic verification to find vulnerabilities that are not only plausible in code, but demonstrably exploitable. It chains attack paths from an entry point, through data flow across functions and files, to a dangerous sink, then attempts to reproduce the effect in a disposable runtime.
JSSpector can also propose a minimal fix and validate it against the same exploit. A fix is accepted only when the exploit works before the change, stops working after it, becomes reproducible again when the vulnerable code is restored, and a benign control proves that the application still works.
The system improves across consecutive runs. Proven exploit and fix strategies can be recorded and
replayed deterministically, while jsspector evolve can use an AI repair agent to extend scanner
coverage when a benchmark exposes a blind spot. AI proposes candidates; it never decides what is
true. New scanner capabilities and fixes are promoted only after deterministic reproduction,
regression tests and precision holdouts pass. Validated generations are published by default so
other machines and later runs start from the improved capability; --no-push keeps one local.
Status: pre-alpha.
jsspector scan(taint findings, as text, JSON or SARIF, with baselines and a CI exit code),jsspector routes(entry-point inventory, OpenAPI 3.1) andjsspector explainwork today. Framework knowledge lives in YAML packs (packs/); the engine lowers each file to an owned IR, links modules across files (relative imports, monorepo workspace packages, barrels) and follows values through function summaries.
jsspector online
online opens a TUI and performs one resumable pass over public JavaScript repositories pushed in
the last 24 hours, with no minimum forks or stars and GitHub private vulnerability reporting
disabled. GitHub search is exhaustively partitioned by star count only to avoid its 1,000-result
ceiling; those partitions exclude no star count. Inside every resolved discovery batch,
repositories are sent to analysis from most-forked to least-forked, using forks as the proxy for
downstream usage.
Worker counts are sized for the machine online runs on. At startup it measures the CPUs, memory
and disk that are free right now (on macOS, those of the Docker VM) and plans for about 80% of the
whole host (--target-utilization): one concurrent Docker verification costs about one CPU and
1.5 GiB on average, while a one-thread static worker mostly waits on its git clone. On the 10-core,
32-GB Mac with 16 GB assigned to Docker that the former fixed defaults were tuned for, this
reproduces them: 12 static workers feed two deterministic verification workers and two Opus
5.5-ranked workers, with at most four Docker verifications at once and 24 retained checkouts. A
20-core Arm host with 120 GB gets about twelve Docker verifications, ten of them deterministic: the
Opus lane keeps its two workers and the deterministic lane takes the remaining slots. While the pass
runs, a governor samples the host every five seconds and moves the Docker slot limit to stay near
the target (memory first, by a quarter; CPU by one slot) without interrupting running
verifications, so a model server or build started mid-pass shrinks it. Explicit
--parallel-docker, --parallel-no-ai, --static-parallel and --max-checkouts are kept as
given; explicit lane counts or --no-governor keep the slots fixed. The retained-checkout budget
still bounds disk use, so a slow verification queue cannot consume the disk without bound.
jsspector online --estimate # what this host supports and why; runs nothing
jsspector online --calibrate # measure this host (about 35 minutes) and save its profile
--calibrate runs a real pass that never publishes, fixes or calls Opus. Every slot goes to the
deterministic lane, first at half the estimate and then at the estimate, for --calibrate-minutes
(30 by default, counted from the first verification). Fitting the sampled whole-host CPU and memory
against the number of running verifications yields this host's per-verification cost, which is
saved to ~/.config/jsspector/online-profile.json; later passes on the same hardware size
themselves from it. The same improvement metrics decide where a pass starts: never above the highest
level calibration ran, and at the lower level when the downloads that every clone, npm install and
image pull share levelled off (their ceiling is kept) or when more slots did not raise throughput
while Docker was the limit. The governor then climbs from there while CPU, memory and the link keep
headroom and verifications queue, which also covers what calibration cannot see, such as slots held
by Opus fix passes. A static-bound pass raises static workers, unless the clones share a saturated
link, and only timeouts that are significantly more frequent at the higher level (a one-sided Fisher
exact test, since repositories differ widely) set a hard cap. A smaller rise is reported, not acted on. Every sample also
records the bytes received on physical network interfaces. A calibration keeps its own state in its run directory, so the repositories it
touched remain eligible for real passes.
Discovery streams each
resolved batch directly into static analysis, so scanning and verification begin while GitHub
continues building the inventory.
Each repository gets one reusable shallow checkout (120-second default clone deadline), rather
than being cloned again for static analysis, exploitation, and fixing. Static analysis has a
ten-minute deadline. Strict exploitation gets 15 minutes, extended to 30 once the sink is reached or
part of the canary appears (a route that merely answers is not evidence); when it succeeds, the same
process and sandbox get a separate twenty-minute fix budget. Timeouts remain explicitly retryable
rather than being classified as clean. Every verification has its own Docker ownership label and is
garbage-collected before its worker slot is released. Database state uses tmpfs rather than
anonymous persistent volumes. Every eight completed verifications, the controller also removes
images and volumes created since this run began and bounds BuildKit cache to 20 GB. It preserves
images and volumes that existed before the run. A watchdog checks a 100-GiB host-disk reserve before
the pass and once per minute; if GC cannot restore that headroom, active work is stopped safely with
resumable state instead of filling the disk. These defaults can be tuned with
--docker-gc-every, --docker-cache-gb, and
--min-free-gb (--min-free-gb 0 disables only the disk guard).
The TUI shows discovery, static progress, both queues,
verified exploits with their average per hour, proven fixes, Satori synchronization, and the live
Docker slot limit with whole-host CPU and memory use. Its "Where to improve" panel keeps only
measurements that point at a change: where Docker slot time goes (verified, not reproduced, skipped
because the app never launched, timeout; and build/start versus probing), which stage limits the
pass (verification, checkouts, static/clone or discovery), and issues per slot-hour for each lane.
The same summary is saved as performance in each pass's online.json, so passes can be compared
before and after a change. + and - raise or lower the Docker verification slots while the pass
runs (the governor pauses; its memory guard still applies), a hands them back to the governor, and
h shows the keys and what each measurement means. Without the TUI, writing {"docker_slots": 12}
or {"docker_slots": "auto"} to control.json in the run directory does the same. Press q or Ctrl-C for a bounded stop;
finished work remains in runs/jsspector-online and the next run skips it. When a pass ends on its
own the dashboard stays open with a FINISHED, FAILED or INTERRUPTED badge, the exit status and the run
time, so a clean end is never mistaken for a crash; q closes it.
AI only orders candidates and proposes a best-effort fix. It cannot declare a vulnerability real.
Only a finding with exploitation.outcome == "verified" after strict dynamic reproduction becomes
a private Satori issue, and a path-traversal proof that demonstrates only file existence is kept
local rather than treated as material CIA impact. File-content disclosure, modification, or a
demonstrated availability effect still crosses the gate. A verified exploit gets one Opus fix
attempt in that same proof pass; only
a dynamically proven fix is learned, and failure to find a fix never hides the issue. Satori sync
promotes the materialized finding to a confirmed TP before counting it as visible in /issues.
Reports carry
security_advisories: enabled|disabled|unknown and the same Satori tag, so clients can enable the
Advisory action only when GitHub exposes that private channel. After cloning and before static
analysis, online mode resolves the effective SECURITY.md and extracts attributed public emails
from security policy files, package metadata and the GitHub owner/organization. A repository with
neither PVR nor an email is recorded as no-contact-channel and is not scanned. Verified reports
send the policy URL and the deduplicated email/source/confidence list to Satori; metadata lookups
are limited to admitted repositories rather than the full discovery inventory.
Nothing is filed or published on GitHub by this command.
Each AI-lane repository receives at most one Opus 5.5 ranking call. It has a 60-second deadline; timeout uses the original deterministic order instead of retrying or blocking a worker for minutes.
Use --local-only to disable Satori synchronization, --no-evolve to disable the post-proof fix
attempt, --repos-file FILE to replay a frozen inventory, and --no-tui for append-only logs in an
automation. Worker counts, stage deadlines and the discovery window remain individually
overrideable. The bundled
controller requires Python 3, authenticated gh, claude and satori-v2 CLIs, and Docker. GitHub
calls are spread over every token it finds — GITHUB_TOKENS, ~/.config/jsspector/github-tokens (one
per line; keep it chmod 600 and outside any checkout) and gh's — each with its own hourly budget. It has
no runtime dependency on jsspector-monitor or on a JSSpector source checkout. See
docs/ONLINE.md for the pipeline invariants and artifact layout.
python3 -m pip install jsspector
jsspector scan path/to/repo
PyPI installs the native binary for macOS or Linux (x86_64 or arm64) into the active Python
environment. For an isolated global CLI — required on distributions whose system Python refuses
pip installs (PEP 668, e.g. recent Debian and Ubuntu) — use pipx install jsspector. Either way,
jsspector update upgrades that same installation to the newest PyPI release, through
pipx upgrade when pipx owns it. Releases are built with
dist when a version tag is pushed: archives, checksums
and the shell installer remain available on
GitHub Releases. The shell installer is:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/satoridev01/JSSpector/releases/latest/download/jsspector-installer.sh | sh
From source: cargo install --git https://github.com/satoridev01/JSSpector --locked jsspector.
routes/files.js
❯❯❱ jsspector.path-traversal [HIGH] 5c1e0f6a2b9d4e7f
Data from `req.query` (http) is used as a file path without confinement.
in GET /invoice, auth: none-detected
15┆ fs.readFile(target, 'utf8', (err, data) => {
↳ source: routes/files.js:13
13┆ const filename = req.query.filename;
↳ through path.join(): routes/files.js:14
14┆ const target = path.join(INVOICE_DIR, filename);
⋮┆----------------------------------------
5 finding(s) in 7 file(s) scanned (0 skipped) in 0.01s
Each finding shows the sink, then every step from the source to it, across files, with the code line of each step. The hex string is the finding's fingerprint.
| Option | Meaning |
|---|---|
--min-severity critical\|high\|medium\|low |
Lowest severity reported (default low: everything) |
-f, --format text\|json\|sarif |
Readable list (default), the full JSON report, or SARIF 2.1.0 |
-o, --output FILE |
Write the report to a file |
--fail-on SEVERITY |
Exit with code 1 when a reported finding not in the baseline is at or above this |
--allow-incomplete |
Permit exit 0 when selected files could not be fully analyzed; reports still say complete: false |
--baseline FILE / --write-baseline FILE |
Report only findings not in FILE / record the current findings in FILE |
--exclude GLOB |
Skip paths (like .gitignore; repeatable) |
--no-inline-ignores |
Do not honor target-owned jsspector-ignore comments (automatic with --repo) |
--include tests,examples,docs,generated,vendor\|all |
Also scan these file classes (source files always are) |
--config FILE / --repo-config |
Read settings from FILE / from .jsspector.yml in the scanned directory (neither by default) |
--threads N |
Worker threads (default: all cores) |
The output is byte-identical for any thread count. A file that cannot be parsed is reported as
skipped, never a process crash. A scan with a skipped, panicked or depth-truncated selected file is
incomplete and exits 3 unless --allow-incomplete is explicit; JSON carries complete: false and
SARIF sets executionSuccessful: false. Exit codes: 0 = complete with no finding at --fail-on
(or no --fail-on), 1 = findings at or above it, 2 = usage or configuration error, 3 = engine,
I/O or incomplete-analysis error.
Settings are read only when asked for: from --config FILE, or with --repo-config from
.jsspector.yml in the scanned directory. A scanned repository's own file is ignored by default, so
it cannot exclude or disable what would report it. Command-line options win:
min_severity: high
fail_on: high
exclude: ["scripts/", "*.min.js"] # globs, like .gitignore
include: [tests] # extra file classes to scan
baseline: .jsspector-baseline.json
disable: [prototype-pollution] # classes not to report
packs: [security/our-orm.yaml] # extra packs, same schema as packs/*.yaml
auth:
require: [mustBeLoggedIn] # middleware/guard names that require a login
admin: [mustBeAdmin] # ... or an admin
jsspector explain sql-injection # the rule: CWE, what it means, how to fix, what counts as safe, sinks
jsspector explain 5c1e0f6a path/to/repo # one finding by fingerprint (or a unique prefix): code at every step
jsspector routes path/to/repo # table: method, full path, auth, handler, file:line, inputs
jsspector routes --json path/to/repo
jsspector routes --openapi path/to/repo # OpenAPI 3.1 of the HTTP routes 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.