Aartiq
Aartiq
Download
Back to Components

Desktop (Electron)

Security

Utility

Security

Lines

584

File

Security.ts

Last Modified

2026-07-22

Exports
Security
Source Path

aartiq-browser/src/Security.ts

Tags
Node.jsSecurityAISyncPDFmacOSWindows

Code Analysis

API / Library Usage
websocket
External Dependencies

No external dependencies

Internal Imports
./html-sanitizer./url-validator
Props / Types

Finding

PropTypeRequired
layerstringYes
patternstringYes
matchstringYes
positionnumberYes
severityFindingSeverityYes

AnalyzeResult

PropTypeRequired
matchedKnownPatternsbooleanYes
threatLevelThreatLevelYes
findingsFinding[]Yes
sanitizedContentstringYes
recommendationsstring[]Yes

ApprovalDecision

PropTypeRequired
requiresApprovalbooleanYes
reasonstringNo

AllowedAction

PropTypeRequired
namestringYes
handler(params: Record<string, unknown>) => Promise<unknown>Yes
requiresApproval'never' | 'always' | 'first-time-per-session'Yes

CapabilityController

No properties

Key Functions
opts()

Related Components

Browse all components in the Component Inventory

Auto-Generated Documentation

Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js