blueteam-log-analyzer

v1.5.0 safe
3.3
Low Risk

BlueTeam Log Analyzer - 蓝队应急响应日志分析工具

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 9 test file(s) found

  • Test runner config found: pyproject.toml
  • 9 test file(s) detected (e.g. _support.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (12333 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 660 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 score 8.0

Found 4 obfuscation pattern(s)

  • I) _DANGEROUS_COMMAND_RE = re.compile( r'(?:mimikatz|sekurlsa|lsadump|procdump|lsass|powershell|certutil|bitsadmin|' r'mshta|regsvr32|rundll32|wmic|psexec|curl|wget|nc\s|ncat|bash\s+-i|' r'/dev/tcp|chmod\s+\+x|
  • re.I, ) _APP_SECURITY_RE = re.compile( r'(?:jndi:|log4shell|fastjson|autoType|shiro|rememberme|struts2|ognl|' r'thinkphp|weblogic|spring4shell|classLoader|webshell|behinder|godzilla|' r'cmd=|exec=|shell_exec|Runtime\.getRuntime|ProcessBuilder|反序列化|越权)', re.I, ) _
  • > 动态升级级别 _DANGEROUS_CMDS = re.compile( r'mimikatz|meterpreter|cobalt.?strike|empire|powersploit|invoke-mimikatz|' r'invoke-expression.*download|net\.webclient|downloadstring|downloadfile|' r'bypass.*execution|encodedcommand|-enc\s|base64.*decode|' r'lsadump|s
  • ) expected_hash = __import__("hashlib").sha256(input_path.read_bytes()).hexdigest() exp
⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • (command) completed = subprocess.run( args, stdout=subprocess.PIPE,
  • out: completed = subprocess.run( args, stdout=out,
  • ", " ".join(args)) return subprocess.run(args, cwd=ROOT, text=True, check=check) def _version() ->
  • IP ranges") completed = subprocess.run( [sys.executable, "bla_cli.py", "--version"],
  • .tags ''' completed = subprocess.run( [str(venv_python), "-c", smoke], cw
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • {len(linux_secret_reads)} 条读取 /etc/shadow、SSH key 或授权密钥的命令痕迹", level=ThreatLevel.HIGH, ca
  • 作价值的路径。 优先放行包含可疑关键字的路径(``/etc/passwd``、``/.git/``、``..`` 等), 再剔除显式 boring 前缀,剩余路径仍然保留,让蓝队在 I
  • mitre = "T1003.008" if "/etc/shadow" in lower or "/etc/gshadow" in lower else "T1552.004"
  • e|' rf'{_COMMAND_EXEC_RE}|/etc/passwd|' r'\b(select|union)\b.{0,40}\b(select|from)\b|' r'
  • '"GET /download.php?file=../../etc/passwd HTTP/1.1" 200 10 "-" "Mozilla/5.0"\n' ) (du
  • '"GET /download.php?file=../../etc/passwd HTTP/1.1" 200 10 "-" "curl/8"\n', encoding="utf
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ 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 2.0

1 maintainer concern(s) found

  • Author "Hackerchen716" 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 blueteam-log-analyzer
Build a simple Python application using the blueteam-log-analyzer package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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