WealthFromAI commited on
Commit
23b418c
Β·
verified Β·
1 Parent(s): 616a763

FORGE-X: Upload source (92c63f11-vscode-extension.zip)

Browse files
92c63f11/CHANGELOG.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Changelog
2
+
3
+ ## [1.0.0]
4
+ - Initial release of Security Audit Code Snippets VS Code Extension
92c63f11/LICENSE ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Digital Forge
92c63f11/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Security Audit Code Snippets VS Code Extension
2
+
3
+ > VS Code extension providing 250+ security-focused code snippets for DevSecOps engineers and security researchers. Covers SQL injection prevention patterns, XSS sanitization, CSRF token generation, JWT validation, bcrypt and Argon2 hashing, rate limiting middleware, input validation schemas, secrets management with environment variables, TLS configuration, CORS security headers, authentication flows, authorization middleware, encryption utilities, and security audit logging. Supports Python, Node.js, Go, Java, and Rust. Each snippet follows OWASP guidelines with security annotations. Includes snippet search by vulnerability type, CWE tagging, and CVSS severity indicators.
4
+
5
+ ## Features
6
+
7
+ - Core functionality
8
+
9
+ ## Installation
10
+
11
+ ### From VS Code Marketplace
12
+ 1. Open VS Code
13
+ 2. Press `Ctrl+P` (or `Cmd+P` on Mac)
14
+ 3. Type `ext install digitalforge.92c63f11`
15
+ 4. Press Enter
16
+
17
+ ### From VSIX file
18
+ 1. Download the `.vsix` file
19
+ 2. In VS Code: `Extensions > Β·Β·Β· > Install from VSIX`
20
+ 3. Select the downloaded file
21
+
22
+ ## Usage
23
+
24
+ Press `Ctrl+Shift+P` and search for `Security Audit Code Snippets VS Code Extension` to see all available commands.
25
+
26
+ **Keyboard shortcut:** `Ctrl+Shift+Alt+A` (or `Cmd+Shift+Alt+A` on Mac)
27
+
28
+ ## Settings
29
+
30
+ | Setting | Default | Description |
31
+ |---------|---------|-------------|
32
+ | `92c63f11.enabled` | `true` | Enable/disable the extension |
33
+ | `92c63f11.autoRun` | `false` | Auto-run on file open |
34
+ | `92c63f11.logLevel` | `"info"` | Log verbosity |
35
+
36
+ ## Requirements
37
+
38
+ - VS Code 1.74.0 or higher
39
+
40
+ ## Contributing
41
+
42
+ Found a bug? [Open an issue](https://github.com/digitalforge/92c63f11/issues).
43
+
44
+ ## License
45
+
46
+ MIT β€” see [LICENSE](LICENSE) for details.
92c63f11/out/extension.js ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.activate = activate;
4
+ exports.deactivate = deactivate;
5
+ const vscode = require("vscode");
6
+
7
+ /**
8
+ * Security Audit Code Snippets VS Code Extension
9
+ *
10
+ * Features:
11
+
12
+ */
13
+
14
+ let outputChannel;
15
+ let statusBarItem;
16
+
17
+ function activate(context) {
18
+ outputChannel = vscode.window.createOutputChannel('Security Audit Code Snippets VS Code Extension');
19
+ outputChannel.appendLine(`Security Audit Code Snippets VS Code Extension v1.0.0 activated`);
20
+
21
+ // Status bar
22
+ statusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Right, 100);
23
+ statusBarItem.text = '$(zap) 92c63f11';
24
+ statusBarItem.tooltip = 'Security Audit Code Snippets VS Code Extension';
25
+ statusBarItem.command = '92c63f11.activate';
26
+ statusBarItem.show();
27
+ context.subscriptions.push(statusBarItem);
28
+
29
+ // Register commands
30
+ let cmd0 = vscode.commands.registerCommand('92c63f11.activate', () => {
31
+ vscode.window.showInformationMessage('Security Audit Code Snippets VS Code Extension: Security Audit Code Snippets VS Code Extension: Activate executed');
32
+ outputChannel.appendLine(`[INFO] Command executed: Security Audit Code Snippets VS Code Extension: Activate`);
33
+ });
34
+ let cmd1 = vscode.commands.registerCommand('92c63f11.settings', () => {
35
+ vscode.window.showInformationMessage('Security Audit Code Snippets VS Code Extension: Security Audit Code Snippets VS Code Extension: Open Settings executed');
36
+ outputChannel.appendLine(`[INFO] Command executed: Security Audit Code Snippets VS Code Extension: Open Settings`);
37
+ });
38
+ let cmd2 = vscode.commands.registerCommand('92c63f11.run', () => {
39
+ vscode.window.showInformationMessage('Security Audit Code Snippets VS Code Extension: Security Audit Code Snippets VS Code Extension: Run executed');
40
+ outputChannel.appendLine(`[INFO] Command executed: Security Audit Code Snippets VS Code Extension: Run`);
41
+ });
42
+ context.subscriptions.push(cmd0);
43
+ context.subscriptions.push(cmd1);
44
+ context.subscriptions.push(cmd2);
45
+
46
+ // Configuration change listener
47
+ context.subscriptions.push(
48
+ vscode.workspace.onDidChangeConfiguration(e => {
49
+ if (e.affectsConfiguration('92c63f11')) {
50
+ const config = vscode.workspace.getConfiguration('92c63f11');
51
+ const enabled = config.get('enabled', true);
52
+ if (enabled) {
53
+ statusBarItem.show();
54
+ } else {
55
+ statusBarItem.hide();
56
+ }
57
+ outputChannel.appendLine(`[INFO] Configuration updated`);
58
+ }
59
+ })
60
+ );
61
+
62
+ outputChannel.appendLine(`[INFO] Security Audit Code Snippets VS Code Extension ready`);
63
+ vscode.window.showInformationMessage('Security Audit Code Snippets VS Code Extension is now active!');
64
+ }
65
+
66
+ function deactivate() {
67
+ outputChannel?.appendLine('Security Audit Code Snippets VS Code Extension deactivated');
68
+ outputChannel?.dispose();
69
+ statusBarItem?.dispose();
70
+ }
92c63f11/package.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "92c63f11",
3
+ "displayName": "Security Audit Code Snippets VS Code Extension",
4
+ "description": "VS Code extension providing 250+ security-focused code snippets for DevSecOps engineers and security researchers. Covers SQL injection prevention patterns, XSS sanitization, CSRF token generation, JWT validation, bcrypt and Argon2 hashing, rate limiting middleware, input validation schemas, secrets management with environment variables, TLS configuration, CORS security headers, authentication flows, authorization middleware, encryption utilities, and security audit logging. Supports Python, Node.js, Go, Java, and Rust. Each snippet follows OWASP guidelines with security annotations. Includes snippet search by vulnerability type, CWE tagging, and CVSS severity indicators.",
5
+ "version": "1.0.0",
6
+ "engines": {
7
+ "vscode": "^1.74.0"
8
+ },
9
+ "categories": [
10
+ "Other"
11
+ ],
12
+ "publisher": "digitalforge",
13
+ "activationEvents": [
14
+ "onStartupFinished"
15
+ ],
16
+ "main": "./out/extension",
17
+ "contributes": {
18
+ "commands": [
19
+ {
20
+ "command": "92c63f11.activate",
21
+ "title": "Security Audit Code Snippets VS Code Extension: Activate"
22
+ },
23
+ {
24
+ "command": "92c63f11.settings",
25
+ "title": "Security Audit Code Snippets VS Code Extension: Open Settings"
26
+ },
27
+ {
28
+ "command": "92c63f11.run",
29
+ "title": "Security Audit Code Snippets VS Code Extension: Run"
30
+ }
31
+ ],
32
+ "configuration": {
33
+ "title": "Security Audit Code Snippets VS Code Extension",
34
+ "properties": {
35
+ "92c63f11.enabled": {
36
+ "type": "boolean",
37
+ "default": true,
38
+ "description": "Enable/disable Security Audit Code Snippets VS Code Extension"
39
+ },
40
+ "92c63f11.autoRun": {
41
+ "type": "boolean",
42
+ "default": false,
43
+ "description": "Automatically run on file open"
44
+ },
45
+ "92c63f11.logLevel": {
46
+ "type": "string",
47
+ "enum": [
48
+ "error",
49
+ "warn",
50
+ "info",
51
+ "debug"
52
+ ],
53
+ "default": "info",
54
+ "description": "Log verbosity level"
55
+ }
56
+ }
57
+ },
58
+ "keybindings": [
59
+ {
60
+ "command": "92c63f11.activate",
61
+ "key": "ctrl+shift+alt+a",
62
+ "mac": "cmd+shift+alt+a",
63
+ "when": "editorTextFocus"
64
+ }
65
+ ]
66
+ },
67
+ "scripts": {
68
+ "vscode:prepublish": "npm run compile",
69
+ "compile": "tsc -p ./",
70
+ "watch": "tsc -watch -p ./",
71
+ "pretest": "npm run compile",
72
+ "lint": "eslint src --ext ts"
73
+ },
74
+ "devDependencies": {
75
+ "@types/vscode": "^1.74.0",
76
+ "@types/node": "^18.x",
77
+ "typescript": "^5.0.0"
78
+ },
79
+ "keywords": [
80
+ "security_audit",
81
+ "productivity",
82
+ "automation"
83
+ ],
84
+ "license": "MIT",
85
+ "icon": "icon.png",
86
+ "galleryBanner": {
87
+ "color": "#1e1e2e",
88
+ "theme": "dark"
89
+ },
90
+ "repository": {
91
+ "type": "git",
92
+ "url": "https://github.com/digitalforge/92c63f11"
93
+ },
94
+ "bugs": {
95
+ "url": "https://github.com/digitalforge/92c63f11/issues"
96
+ }
97
+ }
92c63f11/src/extension.ts ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as vscode from 'vscode';
2
+
3
+ /**
4
+ * Security Audit Code Snippets VS Code Extension
5
+ *
6
+ * Features:
7
+
8
+ */
9
+
10
+ let outputChannel: vscode.OutputChannel;
11
+ let statusBarItem: vscode.StatusBarItem;
12
+
13
+ export function activate(context: vscode.ExtensionContext) {
14
+ outputChannel = vscode.window.createOutputChannel('Security Audit Code Snippets VS Code Extension');
15
+ outputChannel.appendLine(`Security Audit Code Snippets VS Code Extension v1.0.0 activated`);
16
+
17
+ // Status bar
18
+ statusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Right, 100);
19
+ statusBarItem.text = '$(zap) 92c63f11';
20
+ statusBarItem.tooltip = 'Security Audit Code Snippets VS Code Extension';
21
+ statusBarItem.command = '92c63f11.activate';
22
+ statusBarItem.show();
23
+ context.subscriptions.push(statusBarItem);
24
+
25
+ // Register commands
26
+ let cmd0 = vscode.commands.registerCommand('92c63f11.activate', () => {
27
+ vscode.window.showInformationMessage('Security Audit Code Snippets VS Code Extension: Security Audit Code Snippets VS Code Extension: Activate executed');
28
+ outputChannel.appendLine(`[INFO] Command executed: Security Audit Code Snippets VS Code Extension: Activate`);
29
+ });
30
+ let cmd1 = vscode.commands.registerCommand('92c63f11.settings', () => {
31
+ vscode.window.showInformationMessage('Security Audit Code Snippets VS Code Extension: Security Audit Code Snippets VS Code Extension: Open Settings executed');
32
+ outputChannel.appendLine(`[INFO] Command executed: Security Audit Code Snippets VS Code Extension: Open Settings`);
33
+ });
34
+ let cmd2 = vscode.commands.registerCommand('92c63f11.run', () => {
35
+ vscode.window.showInformationMessage('Security Audit Code Snippets VS Code Extension: Security Audit Code Snippets VS Code Extension: Run executed');
36
+ outputChannel.appendLine(`[INFO] Command executed: Security Audit Code Snippets VS Code Extension: Run`);
37
+ });
38
+ context.subscriptions.push(cmd0);
39
+ context.subscriptions.push(cmd1);
40
+ context.subscriptions.push(cmd2);
41
+
42
+ // Configuration change listener
43
+ context.subscriptions.push(
44
+ vscode.workspace.onDidChangeConfiguration(e => {
45
+ if (e.affectsConfiguration('92c63f11')) {
46
+ const config = vscode.workspace.getConfiguration('92c63f11');
47
+ const enabled = config.get<boolean>('enabled', true);
48
+ if (enabled) {
49
+ statusBarItem.show();
50
+ } else {
51
+ statusBarItem.hide();
52
+ }
53
+ outputChannel.appendLine(`[INFO] Configuration updated`);
54
+ }
55
+ })
56
+ );
57
+
58
+ outputChannel.appendLine(`[INFO] Security Audit Code Snippets VS Code Extension ready`);
59
+ vscode.window.showInformationMessage('Security Audit Code Snippets VS Code Extension is now active!');
60
+ }
61
+
62
+ export function deactivate() {
63
+ outputChannel?.appendLine('Security Audit Code Snippets VS Code Extension deactivated');
64
+ outputChannel?.dispose();
65
+ statusBarItem?.dispose();
66
+ }
92c63f11/tsconfig.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "compilerOptions": {
3
+ "module": "Node16",
4
+ "target": "ES2022",
5
+ "outDir": "out",
6
+ "lib": [
7
+ "ES2022"
8
+ ],
9
+ "sourceMap": true,
10
+ "rootDir": "src",
11
+ "strict": true
12
+ },
13
+ "exclude": [
14
+ "node_modules",
15
+ ".vscode-test"
16
+ ]
17
+ }
README.md CHANGED
@@ -1,13 +1,112 @@
1
  ---
2
- title: Security Audit Code Snippets Vs Code Extension 92c6
3
- emoji: 😻
4
- colorFrom: indigo
5
- colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 6.14.0
8
- python_version: '3.13'
9
  app_file: app.py
10
  pinned: false
 
 
 
 
 
 
 
 
 
11
  ---
 
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: "Security Audit Code Snippets VS Code Extension"
3
+ emoji: πŸ”’
4
+ colorFrom: red
5
+ colorTo: yellow
6
  sdk: gradio
7
+ sdk_version: 4.44.0
 
8
  app_file: app.py
9
  pinned: false
10
+ license: mit
11
+ tags:
12
+ - security
13
+ - audit
14
+ - compliance
15
+ - code-analysis
16
+ - code
17
+ - snippets
18
+ - security-audit
19
  ---
20
+ # Security Audit Code Snippets VS Code Extension
21
 
22
+ VS Code extension providing 250+ security-focused code snippets for DevSecOps engineers and security researchers.
23
+
24
+ This VS Code extension gives you everything you need for Security Audit Code Snippets β€” ready to use in minutes, no coding required.
25
+
26
+ Built for: security audit code snippets, visual studio code, vs code extension, code editor, code snippets, developer tool.
27
+
28
+ ## What's Included
29
+
30
+ - Integrated Security Audit Code Snippets inside VS Code
31
+ - Keyboard shortcuts for rapid workflow
32
+ - Status bar indicators and real-time feedback
33
+ - Works with all VS Code themes and configurations
34
+ - Compatible with Remote SSH, WSL, and Codespaces
35
+ - API integration for custom workflows
36
+
37
+ ## Who Is This For
38
+
39
+ - Security engineers who need Security Audit Code Snippets
40
+ - Penetration testers who need Security Audit Code Snippets
41
+ - Compliance auditors who need Security Audit Code Snippets
42
+ - CISOs who need Security Audit Code Snippets
43
+
44
+ ## How It Works
45
+
46
+ VS Code extension providing 250+ security-focused code snippets for DevSecOps engineers and security researchers.
47
+ This VS Code extension gives you everything you need for Security Audit Code Snippets β€” ready to use in minutes, no coding required.
48
+ Built for: security audit code snippets, visual studio code, vs code extension, code editor, code snippets, developer tool.
49
+ ## What's Included
50
+
51
+ - Integrated Security Audit Code Snippets inside VS Code
52
+ - Keyboard shortcuts for rapid workflow
53
+ - Status bar indicators and real-time feedback
54
+ - Works with all VS Code themes and configurations
55
+ - Compatible with Remote SSH, WSL, and Codespaces
56
+
57
+ ## Who Is This For
58
+
59
+ - Security engineers who need Security Audit Code Snippets
60
+ - Penetration testers who need Security Audit Code Snippets
61
+ - Compliance auditors who need Security Audit Code Snippets
62
+ - CISOs who need Security Audit Code Snippets
63
+
64
+ ## How It Works
65
+
66
+ VS Code extension providing 250+ security-focused code snippets for DevSecOps engineers and security researchers.
67
+
68
+ ## Frequently Asked Questions
69
+
70
+ **Q: What does this VS Code extension do?**
71
+ A: It provides a complete Security Audit Code Snippets solution that automates and streamlines your workflow, saving time and reducing manual effort.
72
+
73
+ **Q: How do I install this VS Code extension?**
74
+ A: Download the file, follow the included setup guide, and you'll be running in under 5 minutes. No coding required.
75
+
76
+ **Q: Is this a one-time purchase?**
77
+ A: Yes β€” pay once, own forever. All future updates included at no extra cost.
78
+
79
+ ## What You Get
80
+
81
+ - Instant digital download
82
+ - Complete VS Code extension with documentation
83
+ - Free updates for life
84
+ - Setup guide included
85
+
86
+ *Keywords: security audit code snippets, visual studio code, vs code extension, code editor, code snippets, developer tool, penetration testing, security audit, vscode plugin, audit*
87
+
88
+ ## πŸš€ Usage
89
+
90
+ 1. Click **Use in Spaces** above to run the demo directly
91
+ 2. Or clone the repository and run locally:
92
+
93
+ ```bash
94
+ git clone https://huggingface.co/spaces/WealthFromAI/security-audit-code-snippets-vs-code-extension-92c6
95
+ cd security-audit-code-snippets-vs-code-extension-92c6
96
+ pip install -r requirements.txt
97
+ python app.py
98
+ ```
99
+
100
+ ## πŸ’° Pricing
101
+
102
+ - **Demo**: Free on Hugging Face Spaces
103
+ - **Full Source Code**: $15.00
104
+ - Available on [Gumroad](https://gumroad.com) and [Whop](https://whop.com)
105
+
106
+ ## πŸ“„ License
107
+
108
+ MIT License β€” free to use, modify, and distribute.
109
+
110
+ ---
111
+
112
+ *Built with [FORGE-X](https://github.com/WealthFromAI) β€” automated digital product engine*