Spaces:
Running
Running
| { | |
| "name": "cerberus", | |
| "publisher": "shravan-pandala", | |
| "displayName": "cerberus", | |
| "description": "Your AI-powered security co-pilot that does not just find vulnerabilities, it fixes them.", | |
| "version": "0.0.1", | |
| "engines": { | |
| "vscode": "^1.109.0" | |
| }, | |
| "categories": [ | |
| "Other" | |
| ], | |
| "activationEvents": [ | |
| "onStartupFinished" | |
| ], | |
| "main": "./out/extension.js", | |
| "contributes": { | |
| "configuration": { | |
| "title": "Cerberus", | |
| "properties": { | |
| "cerberus.backendUrl": { | |
| "type": "string", | |
| "default": "http://localhost:5000", | |
| "description": "Backend server URL for Cerberus. Use 'http://localhost:5000' for local development or 'https://mojo-maniac-cerberus.hf.space' for deployed HF Spaces backend.", | |
| "order": 0 | |
| } | |
| } | |
| }, | |
| "commands": [ | |
| { | |
| "command": "cerberus.scan", | |
| "title": "Scan for Vulnerabilities", | |
| "category": "Cerberus", | |
| "icon": "$(search)" | |
| }, | |
| { | |
| "command": "cerberus.fixVulnerability", | |
| "title": "Apply Fix", | |
| "category": "Cerberus", | |
| "icon": "$(wrench)" | |
| }, | |
| { | |
| "command": "cerberus.fixFile", | |
| "title": "Fix All in File", | |
| "category": "Cerberus", | |
| "icon": "$(replace-all)" | |
| }, | |
| { | |
| "command": "cerberus.viewResults", | |
| "title": "View Results", | |
| "category": "Cerberus" | |
| }, | |
| { | |
| "command": "cerberus.startRealTime", | |
| "title": "Start Real-Time Scanning", | |
| "category": "Cerberus", | |
| "icon": "$(play)" | |
| }, | |
| { | |
| "command": "cerberus.stopRealTime", | |
| "title": "Stop Real-Time Scanning", | |
| "category": "Cerberus", | |
| "icon": "$(debug-stop)" | |
| }, | |
| { | |
| "command": "cerberus.applyStoredFix", | |
| "title": "Apply Stored Fix", | |
| "category": "Cerberus", | |
| "icon": "$(save)" | |
| } | |
| ], | |
| "menus": { | |
| "view/title": [ | |
| { | |
| "command": "cerberus.scan", | |
| "when": "view == cerberus.vulnerabilityView", | |
| "group": "navigation" | |
| } | |
| ], | |
| "view/item/context": [ | |
| { | |
| "command": "cerberus.fixVulnerability", | |
| "when": "view == cerberus.vulnerabilityView && viewItem == vulnerability", | |
| "group": "inline" | |
| }, | |
| { | |
| "command": "cerberus.fixFile", | |
| "when": "view == cerberus.vulnerabilityView && viewItem == file", | |
| "group": "inline" | |
| } | |
| ] | |
| }, | |
| "views": { | |
| "cerberus-explorer": [ | |
| { | |
| "id": "cerberus.vulnerabilityView", | |
| "name": "Vulnerabilities", | |
| "icon": "$(shield)" | |
| } | |
| ] | |
| }, | |
| "viewsContainers": { | |
| "activitybar": [ | |
| { | |
| "id": "cerberus-explorer", | |
| "title": "Cerberus", | |
| "icon": "$(shield)" | |
| } | |
| ] | |
| } | |
| }, | |
| "scripts": { | |
| "vscode:prepublish": "npm run compile", | |
| "compile": "tsc -p ./", | |
| "watch": "tsc -watch -p ./", | |
| "pretest": "npm run compile && npm run lint", | |
| "lint": "eslint src", | |
| "test": "vscode-test", | |
| "server:start": "node server/server.js", | |
| "server:dev": "nodemon server/server.js", | |
| "dev:ext": "node scripts/watch-ext.js" | |
| }, | |
| "devDependencies": { | |
| "@types/mocha": "^10.0.10", | |
| "@types/node": "22.x", | |
| "@types/vscode": "^1.109.0", | |
| "@vscode/test-cli": "^0.0.12", | |
| "@vscode/test-electron": "^2.5.2", | |
| "eslint": "^9.39.2", | |
| "jest": "^29.7.0", | |
| "nodemon": "^3.0.2", | |
| "typescript": "^5.9.3", | |
| "typescript-eslint": "^8.54.0" | |
| }, | |
| "dependencies": { | |
| "axios": "^1.13.5", | |
| "cors": "^2.8.5", | |
| "dotenv": "^16.3.1", | |
| "express": "^4.18.2", | |
| "express-rate-limit": "^7.1.5", | |
| "glob": "^10.3.0" | |
| }, | |
| "overrides": { | |
| "diff": "^8.0.3", | |
| "serialize-javascript": "^7.0.3" | |
| } | |
| } |