Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.66 KB
/
Copy pathpackage.json
File metadata and controls
103 lines (103 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "agentguard",
"displayName": "AgentGuard — AI Agent Security Scanner",
"description": "Scan your AI agent code for OWASP ASI Top 10 vulnerabilities directly in VS Code.",
"version": "0.1.0",
"publisher": "dockfixlabs",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/dockfixlabs/agentguard-vscode"
},
"engines": {
"vscode": "^1.80.0"
},
"categories": ["Security", "Linters", "Other"],
"keywords": ["ai-security", "agent-security", "owasp-asi", "prompt-injection", "mcp", "llm-security"],
"icon": "media/icon.png",
"activationEvents": [
"onCommand:agentguard.scan",
"onCommand:agentguard.scanWorkspace",
"onLanguage:python",
"onLanguage:javascript",
"onLanguage:typescript"
],
"main": "./src/extension.js",
"contributes": {
"commands": [
{
"command": "agentguard.scan",
"title": "AgentGuard: Scan Current File",
"icon": "$(shield)"
},
{
"command": "agentguard.scanWorkspace",
"title": "AgentGuard: Scan Workspace",
"icon": "$(shield)"
},
{
"command": "agentguard.showRules",
"title": "AgentGuard: Show Detection Rules",
"icon": "$(list-unordered)"
}
],
"configuration": {
"title": "AgentGuard",
"properties": {
"agentguard.minSeverity": {
"type": "string",
"enum": ["CRITICAL", "HIGH", "MEDIUM", "LOW", "INFO"],
"default": "MEDIUM",
"description": "Minimum severity to report"
},
"agentguard.scanOnSave": {
"type": "boolean",
"default": false,
"description": "Automatically scan file on save"
},
"agentguard.pythonPath": {
"type": "string",
"default": "python",
"description": "Path to Python executable (must have dfx-agentguard installed)"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "agentguard",
"title": "AgentGuard",
"icon": "$(shield)"
}
]
},
"views": {
"agentguard": [
{
"id": "agentguard.findings",
"name": "Findings"
}
]
},
"menus": {
"editor/context": [
{
"command": "agentguard.scan",
"when": "editorTextFocus",
"group": "agentguard@1"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"package": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/vscode": "^1.80.0",
"@types/node": "^18.0.0",
"typescript": "^5.0.0"
}
}