conduct-cli 0.7.0__tar.gz → 0.7.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/PKG-INFO +1 -1
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/pyproject.toml +1 -1
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/guard.py +3 -3
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/README.md +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/setup.cfg +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/setup.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/hooks/__init__.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/hooks/base.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/hooks/posttooluse.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/hooks/precompact.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/hooks/pretooluse.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/hooks/session_parser.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/hooks/session_start.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/hooks/stop.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/log_util.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/main.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/mcp_server.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/memory.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli/paxel.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/src/conduct_cli.egg-info/top_level.txt +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/tests/test_advisory_and_hook.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/tests/test_bash_operator_signature.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/tests/test_command_word_matcher.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/tests/test_guard_policy.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/tests/test_guard_savings.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/tests/test_hook_syntax.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/tests/test_journal_drain.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/tests/test_log_util.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/tests/test_proxy_env.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/tests/test_signed_policy.py +0 -0
- {conduct_cli-0.7.0 → conduct_cli-0.7.1}/tests/test_switch.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "conduct-cli"
|
|
7
|
-
version = "0.7.
|
|
7
|
+
version = "0.7.1"
|
|
8
8
|
description = "CLI for Conduct AI — secure, govern, install agents, manage projects, run tests"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
@@ -2448,7 +2448,7 @@ def cmd_guard_debug_hook(args):
|
|
|
2448
2448
|
|
|
2449
2449
|
# ── OWASP Agentic Top 10 mapping ──────────────────────────────────────────────
|
|
2450
2450
|
|
|
2451
|
-
_PRIV_KEYWORDS = ["privilege", "escalat", "role_abuse", "admin_access", "
|
|
2451
|
+
_PRIV_KEYWORDS = ["privilege", "escalat", "role_abuse", "admin_access", "no-sudo", "nosudo", "runasroot"]
|
|
2452
2452
|
|
|
2453
2453
|
_OWASP_MAP: list[tuple[list[str], str, str]] = [
|
|
2454
2454
|
(["prompt_inject", "injection", "jailbreak", "override_system", "indirect_prompt"],
|
|
@@ -2457,7 +2457,7 @@ _OWASP_MAP: list[tuple[list[str], str, str]] = [
|
|
|
2457
2457
|
"A02", "Sensitive Information Disclosure"),
|
|
2458
2458
|
(["supply_chain", "dependency", "package", "malicious_package", "unsigned"],
|
|
2459
2459
|
"A03", "Supply Chain Vulnerabilities"),
|
|
2460
|
-
(["excessive_agency", "scope", "overreach", "unauthorized_action", "out_of_scope"],
|
|
2460
|
+
(["excessive_agency", "no-rm-rf", "norms", "rmrf", "scope", "overreach", "unauthorized_action", "out_of_scope", "shell_destruct"],
|
|
2461
2461
|
"A04", "Excessive Agency"),
|
|
2462
2462
|
(["model_theft", "model_extract", "weights"],
|
|
2463
2463
|
"A05", "Model Theft"),
|
|
@@ -2539,7 +2539,7 @@ def cmd_verify(args) -> None:
|
|
|
2539
2539
|
rule_id = ev.get("rule_id") or ev.get("rule_message") or ""
|
|
2540
2540
|
owasp_code, owasp_title = _map_owasp(rule_id)
|
|
2541
2541
|
findings.append({
|
|
2542
|
-
"timestamp": ev.get("timestamp"
|
|
2542
|
+
"timestamp": (ev.get("timestamp") or ev.get("created_at") or "")[:19].replace("T", " ") or "—",
|
|
2543
2543
|
"tool": ev.get("ai_tool") or "—",
|
|
2544
2544
|
"action": (ev.get("tool_call") or "—")[:40],
|
|
2545
2545
|
"decision": decision,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|