Skip to main content

Guardrails CLI

Scan extensions installed in VS Code, Cursor, Windsurf, VSCodium, and VS Code Insiders without executing extension code. The CLI and scanner runtime are distributed together as one package.

Install

pipx install guardlens

The installed command is guardrails.

For Deep Scan providers:

pipx install "guardlens[analysis]"

Use

Open the interactive local scanner:

guardrails

Common commands:

guardrails scan --ide cursor --all --yes
guardrails scan --extension publisher.extension
guardrails scan --file extension.vsix
guardrails inventory --ide cursor --output team-inventory.json
guardrails report verify report.zip
guardrails help

Guardrails reports the decision, risk score, malware evidence score, analysis coverage, provider status, and detailed findings. Reports can be exported as HTML, ZIP, JSON, or Markdown.

Analysis profiles

  • standard: required local static and JavaScript analysis.
  • offline: local analysis without network checks.
  • deep: the website Deep Scan boundary when all required providers are available.

Missing required analysis produces INCOMPLETE, never ALLOW.

Engine integrity

The scanner runtime remains bundled inside Guardrails. Its exact source revision and file hashes are recorded in the package, and CI rejects unrecorded engine drift:

python scripts/sync_vendored_engine.py --check

Privacy

Installed extensions are analyzed from private temporary snapshots. Extension code is not executed or uploaded. Files remain local unless a report is explicitly exported.

Website: ide-scanner.vercel.app

License

Proprietary. Copyright © 2026 Preetham AK. All rights reserved.

Metadata

Release files for guardlens 0.2.1

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

Source distribution (sdist)

Source distribution for guardlens 0.2.1
File Size Uploaded
guardlens-0.2.1.tar.gz 459.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for guardlens 0.2.1
File Interpreter ABI Platform
guardlens-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 934.1 kB

Release files / guardlens-0.2.1.tar.gz

Download URL guardlens-0.2.1.tar.gz
Size 459.6 kB
Tags Source
SHA-256 checksum
How to use checksums
68e5b70faf55a298c1da43be116e8bef6dc62e6b157c52d10f6d8107cc592c6d
BLAKE2b-256 checksum
How to use checksums
be6ffb214c89cada2b1c3866a50585ce9753dbdfc6587dfcf45c826700d9262c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / guardlens-0.2.1-py3-none-any.whl

Download URL guardlens-0.2.1-py3-none-any.whl
Size 474.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1242317ee50a0195399bf593f1d10817f398aafcf7c9b5af476e1d778955918
BLAKE2b-256 checksum
How to use checksums
d0fd9ed0a6b1afa4baf87ce857e4f013f9bd5775bb7c49305e0dc2f7018de1dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release history Release notifications | RSS feed

0.2.3

2 release files

0.2.2

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

1 release file

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