coding-agent-audit 0.6.0__tar.gz → 0.6.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.
Files changed (24) hide show
  1. {coding_agent_audit-0.6.0/src/coding_agent_audit.egg-info → coding_agent_audit-0.6.1}/PKG-INFO +4 -2
  2. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/README.md +3 -1
  3. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/pyproject.toml +1 -1
  4. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/agentaudit/__init__.py +1 -1
  5. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/agentaudit/mcp_server.py +19 -3
  6. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1/src/coding_agent_audit.egg-info}/PKG-INFO +4 -2
  7. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/LICENSE +0 -0
  8. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/setup.cfg +0 -0
  9. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/agentaudit/checks.py +0 -0
  10. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/agentaudit/cli.py +0 -0
  11. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/agentaudit/configscan.py +0 -0
  12. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/agentaudit/findings.py +0 -0
  13. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/agentaudit/iocs.py +0 -0
  14. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/agentaudit/phantomdeps.py +0 -0
  15. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/coding_agent_audit.egg-info/SOURCES.txt +0 -0
  16. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/coding_agent_audit.egg-info/dependency_links.txt +0 -0
  17. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/coding_agent_audit.egg-info/entry_points.txt +0 -0
  18. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/coding_agent_audit.egg-info/requires.txt +0 -0
  19. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/src/coding_agent_audit.egg-info/top_level.txt +0 -0
  20. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/tests/test_checks.py +0 -0
  21. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/tests/test_cli.py +0 -0
  22. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/tests/test_configscan.py +0 -0
  23. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/tests/test_mcp_server.py +0 -0
  24. {coding_agent_audit-0.6.0 → coding_agent_audit-0.6.1}/tests/test_phantomdeps.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: coding-agent-audit
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: Scan your machine for known AI-coding-assistant supply-chain backdoor indicators (Claude Code / Cursor / Windsurf extensions, MCP servers) plus risky hook/permission config patterns. Usable as a CLI or as an MCP server.
5
5
  Author-email: StackScribe AI <survivalagent320@gmail.com>
6
6
  License: MIT
@@ -23,6 +23,8 @@ Dynamic: license-file
23
23
 
24
24
  <!-- mcp-name: io.github.stackscribe-ai/coding-agent-audit -->
25
25
 
26
+ [![M8ven Score](https://m8ven.ai/badge/mcp/stackscribe-ai-coding-agent-audit-1xiuww?v=c2c77be885b345ce5ac975e42a68268d)](https://m8ven.ai/mcp/stackscribe-ai-coding-agent-audit-1xiuww?s=readme)
27
+
26
28
  A small, open-source CLI that scans your machine for:
27
29
 
28
30
  1. **Known indicators of compromise (IOCs)** from publicly documented
@@ -227,7 +229,7 @@ scan for free; this just packages it for sharing.
227
229
 
228
230
  If your agent runtime supports the open `SKILL.md` standard (Claude Code,
229
231
  Cursor, and others), a packaged version of this scan is live on the
230
- [Agensi skill marketplace](https://www.agensi.io/skills/coding-agent-security-audit)
232
+ [Agensi skill marketplace](https://www.agensi.io/r/STACKSCRIBEAI?to=/skills/coding-agent-security-audit)
231
233
  as "coding agent security audit" (free) — source in
232
234
  [`agensi-skill/`](agensi-skill/). It's a zero-dependency, single-file port of
233
235
  the same checks below, meant to be loaded by an agent directly rather than
@@ -2,6 +2,8 @@
2
2
 
3
3
  <!-- mcp-name: io.github.stackscribe-ai/coding-agent-audit -->
4
4
 
5
+ [![M8ven Score](https://m8ven.ai/badge/mcp/stackscribe-ai-coding-agent-audit-1xiuww?v=c2c77be885b345ce5ac975e42a68268d)](https://m8ven.ai/mcp/stackscribe-ai-coding-agent-audit-1xiuww?s=readme)
6
+
5
7
  A small, open-source CLI that scans your machine for:
6
8
 
7
9
  1. **Known indicators of compromise (IOCs)** from publicly documented
@@ -206,7 +208,7 @@ scan for free; this just packages it for sharing.
206
208
 
207
209
  If your agent runtime supports the open `SKILL.md` standard (Claude Code,
208
210
  Cursor, and others), a packaged version of this scan is live on the
209
- [Agensi skill marketplace](https://www.agensi.io/skills/coding-agent-security-audit)
211
+ [Agensi skill marketplace](https://www.agensi.io/r/STACKSCRIBEAI?to=/skills/coding-agent-security-audit)
210
212
  as "coding agent security audit" (free) — source in
211
213
  [`agensi-skill/`](agensi-skill/). It's a zero-dependency, single-file port of
212
214
  the same checks below, meant to be loaded by an agent directly rather than
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "coding-agent-audit"
7
- version = "0.6.0"
7
+ version = "0.6.1"
8
8
  description = "Scan your machine for known AI-coding-assistant supply-chain backdoor indicators (Claude Code / Cursor / Windsurf extensions, MCP servers) plus risky hook/permission config patterns. Usable as a CLI or as an MCP server."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -3,4 +3,4 @@ for AI coding assistants (Claude Code, Cursor, Windsurf, VS Code forks, MCP
3
3
  servers).
4
4
  """
5
5
 
6
- __version__ = "0.6.0"
6
+ __version__ = "0.6.1"
@@ -14,6 +14,7 @@ from pathlib import Path
14
14
  from typing import Optional
15
15
 
16
16
  from mcp.server.mcpserver import MCPServer
17
+ from mcp.types import ToolAnnotations
17
18
 
18
19
  from . import __version__
19
20
  from .checks import run_all_ioc_checks
@@ -53,7 +54,22 @@ def _render(findings: list[Finding]) -> str:
53
54
  return "\n".join(lines)
54
55
 
55
56
 
56
- @server.tool()
57
+ _LOCAL_READ_ONLY = ToolAnnotations(
58
+ readOnlyHint=True,
59
+ destructiveHint=False,
60
+ idempotentHint=True,
61
+ openWorldHint=False,
62
+ )
63
+
64
+ _NETWORK_READ_ONLY = ToolAnnotations(
65
+ readOnlyHint=True,
66
+ destructiveHint=False,
67
+ idempotentHint=True,
68
+ openWorldHint=True,
69
+ )
70
+
71
+
72
+ @server.tool(annotations=_LOCAL_READ_ONLY)
57
73
  def scan_for_known_backdoors() -> str:
58
74
  """Scan this machine for known, publicly-documented indicators of
59
75
  compromise from AI-coding-assistant supply-chain attacks (SSH backdoor
@@ -62,7 +78,7 @@ def scan_for_known_backdoors() -> str:
62
78
  return _render(run_all_ioc_checks())
63
79
 
64
80
 
65
- @server.tool()
81
+ @server.tool(annotations=_LOCAL_READ_ONLY)
66
82
  def scan_mcp_config(project_dir: Optional[str] = None) -> str:
67
83
  """Scan this machine's Claude Code / Claude Desktop / MCP config files
68
84
  for risky patterns: hooks that pipe a remote download into a shell,
@@ -80,7 +96,7 @@ def scan_mcp_config(project_dir: Optional[str] = None) -> str:
80
96
  return _render(scan_paths(paths))
81
97
 
82
98
 
83
- @server.tool()
99
+ @server.tool(annotations=_NETWORK_READ_ONLY)
84
100
  def scan_phantom_dependencies(project_dir: str) -> str:
85
101
  """Check a project's package.json / requirements.txt / pyproject.toml
86
102
  dependencies against the npm/PyPI registries and flag any package name
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: coding-agent-audit
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: Scan your machine for known AI-coding-assistant supply-chain backdoor indicators (Claude Code / Cursor / Windsurf extensions, MCP servers) plus risky hook/permission config patterns. Usable as a CLI or as an MCP server.
5
5
  Author-email: StackScribe AI <survivalagent320@gmail.com>
6
6
  License: MIT
@@ -23,6 +23,8 @@ Dynamic: license-file
23
23
 
24
24
  <!-- mcp-name: io.github.stackscribe-ai/coding-agent-audit -->
25
25
 
26
+ [![M8ven Score](https://m8ven.ai/badge/mcp/stackscribe-ai-coding-agent-audit-1xiuww?v=c2c77be885b345ce5ac975e42a68268d)](https://m8ven.ai/mcp/stackscribe-ai-coding-agent-audit-1xiuww?s=readme)
27
+
26
28
  A small, open-source CLI that scans your machine for:
27
29
 
28
30
  1. **Known indicators of compromise (IOCs)** from publicly documented
@@ -227,7 +229,7 @@ scan for free; this just packages it for sharing.
227
229
 
228
230
  If your agent runtime supports the open `SKILL.md` standard (Claude Code,
229
231
  Cursor, and others), a packaged version of this scan is live on the
230
- [Agensi skill marketplace](https://www.agensi.io/skills/coding-agent-security-audit)
232
+ [Agensi skill marketplace](https://www.agensi.io/r/STACKSCRIBEAI?to=/skills/coding-agent-security-audit)
231
233
  as "coding agent security audit" (free) — source in
232
234
  [`agensi-skill/`](agensi-skill/). It's a zero-dependency, single-file port of
233
235
  the same checks below, meant to be loaded by an agent directly rather than