bash-classify

v0.14.1 safe
2.3
Low Risk

Classify bash commands as READONLY, WRITE, DANGEROUS, or UNKNOWN

πŸ“¦ Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present β€” 16 test file(s) found

  • Test runner config found: conftest.py
  • 16 test file(s) detected (e.g. conftest.py)
β—ˆ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/fprochazka/bash-classify/blob/main/SPEC.m
  • Detailed PyPI description (21814 chars)
β—‹ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
β—ˆ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 707 type-annotated function signatures detected in source
β—‹ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

πŸ”¬ Heuristic Checks

βœ“ Outbound Network Calls

No suspicious network call patterns found

βœ“ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 6.0

Found 3 shell execution pattern(s)

  • _EMPTY_CONFIG_DIR} return subprocess.run( [sys.executable, "-m", "bash_classify", *args],
  • : "/tmp/.ssh"} proc = subprocess.run( [sys.executable, "-m", "bash_classify"],
  • str(tmp_path)} proc = subprocess.run( [sys.executable, "-m", "bash_classify"],
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • . `sh -c '/usr/bin/touch /etc/passwd'` hands a command line over as a single token, and a sc
  • el command is: in `sh -c 'cat /etc/hosts && touch x'` the `cat` sits below `LOCAL_EFFECTS` and i
  • `LOCAL_EFFECTS` and its `/etc/hosts` is not a hit, exactly as in the bare spelling. """
  • till runs; in `yarn chmod 777 /etc/passwd --help` it is # the child command's; and `docker run -v
  • rule: `/etc/./shadow` opens `/etc/shadow` but has no two adjacent segments that spell it. `..` i
  • ssify_expression("command cat /etc/hosts", database=database) assert result.classification =
βœ“ Typosquatting

No typosquatting candidates detected

βœ“ Registered Email Domain

Email domain looks legitimate: fprochazka.cz>

βœ“ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
βœ“ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

πŸ’‘ AI App Starter Prompt

Use this prompt to build a project with bash-classify
Build a simple Python application using the bash-classify package to demonstrate its core features.

πŸ’¬ Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!