agent-security-scanner-mcp 2.0.0 → 2.0.1
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.
- package/ast_parser.py +3 -0
- package/package.json +1 -1
package/ast_parser.py
CHANGED
|
@@ -26,6 +26,9 @@ try:
|
|
|
26
26
|
HAS_TREE_SITTER = True
|
|
27
27
|
except ImportError:
|
|
28
28
|
HAS_TREE_SITTER = False
|
|
29
|
+
# Define stub types for type hints when tree-sitter not installed
|
|
30
|
+
Parser = None
|
|
31
|
+
Language = None
|
|
29
32
|
|
|
30
33
|
|
|
31
34
|
# Language registry - maps file extensions to tree-sitter languages
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-security-scanner-mcp",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"mcpName": "io.github.sinewaveai/agent-security-scanner-mcp",
|
|
5
5
|
"description": "MCP server for AST-based security scanning with tree-sitter, AI agent prompt security & package hallucination detection. Works with Claude Desktop, Claude Code, OpenCode, Kilo Code. Detects SQL injection, XSS, secrets, prompt attacks, and AI-invented packages.",
|
|
6
6
|
"main": "index.js",
|