@vibesdotdev/security 0.0.0-stage → 1.0.0-rc.5
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/LICENSE +18 -0
- package/README.md +109 -2
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +2 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/plugin.d.ts +15 -0
- package/dist/cli/plugin.d.ts.map +1 -0
- package/dist/cli/plugin.js +25 -0
- package/dist/cli/plugin.js.map +1 -0
- package/dist/cli/read-lockfile.d.ts +4 -0
- package/dist/cli/read-lockfile.d.ts.map +1 -0
- package/dist/cli/read-lockfile.js +74 -0
- package/dist/cli/read-lockfile.js.map +1 -0
- package/dist/cli/report-output.d.ts +20 -0
- package/dist/cli/report-output.d.ts.map +1 -0
- package/dist/cli/report-output.js +27 -0
- package/dist/cli/report-output.js.map +1 -0
- package/dist/cli/shield.cli-group.descriptor.d.ts +9 -0
- package/dist/cli/shield.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/shield.cli-group.descriptor.js +16 -0
- package/dist/cli/shield.cli-group.descriptor.js.map +1 -0
- package/dist/cli/shield.deps.cli-group.descriptor.d.ts +9 -0
- package/dist/cli/shield.deps.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/shield.deps.cli-group.descriptor.js +17 -0
- package/dist/cli/shield.deps.cli-group.descriptor.js.map +1 -0
- package/dist/cli/shield.deps.gate.descriptor.d.ts +10 -0
- package/dist/cli/shield.deps.gate.descriptor.d.ts.map +1 -0
- package/dist/cli/shield.deps.gate.descriptor.js +25 -0
- package/dist/cli/shield.deps.gate.descriptor.js.map +1 -0
- package/dist/cli/shield.deps.gate.impl.consumer.d.ts +18 -0
- package/dist/cli/shield.deps.gate.impl.consumer.d.ts.map +1 -0
- package/dist/cli/shield.deps.gate.impl.consumer.js +42 -0
- package/dist/cli/shield.deps.gate.impl.consumer.js.map +1 -0
- package/dist/cli/shield.deps.scan.descriptor.d.ts +10 -0
- package/dist/cli/shield.deps.scan.descriptor.d.ts.map +1 -0
- package/dist/cli/shield.deps.scan.descriptor.js +25 -0
- package/dist/cli/shield.deps.scan.descriptor.js.map +1 -0
- package/dist/cli/shield.deps.scan.impl.consumer.d.ts +16 -0
- package/dist/cli/shield.deps.scan.impl.consumer.d.ts.map +1 -0
- package/dist/cli/shield.deps.scan.impl.consumer.js +35 -0
- package/dist/cli/shield.deps.scan.impl.consumer.js.map +1 -0
- package/dist/helpers/constant-time.d.ts +18 -0
- package/dist/helpers/constant-time.d.ts.map +1 -0
- package/dist/helpers/constant-time.js +49 -0
- package/dist/helpers/constant-time.js.map +1 -0
- package/dist/helpers/filename-sanitizer.d.ts +2 -0
- package/dist/helpers/filename-sanitizer.d.ts.map +1 -0
- package/dist/helpers/filename-sanitizer.js +18 -0
- package/dist/helpers/filename-sanitizer.js.map +1 -0
- package/dist/helpers/forwardable-auth-headers.d.ts +8 -0
- package/dist/helpers/forwardable-auth-headers.d.ts.map +1 -0
- package/dist/helpers/forwardable-auth-headers.js +44 -0
- package/dist/helpers/forwardable-auth-headers.js.map +1 -0
- package/dist/helpers/index.d.ts +7 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/index.js +7 -0
- package/dist/helpers/index.js.map +1 -0
- package/dist/helpers/ip-range.d.ts +3 -0
- package/dist/helpers/ip-range.d.ts.map +1 -0
- package/dist/helpers/ip-range.js +55 -0
- package/dist/helpers/ip-range.js.map +1 -0
- package/dist/helpers/mime-classifier.d.ts +3 -0
- package/dist/helpers/mime-classifier.d.ts.map +1 -0
- package/dist/helpers/mime-classifier.js +29 -0
- package/dist/helpers/mime-classifier.js.map +1 -0
- package/dist/helpers/pattern-matcher.d.ts +13 -0
- package/dist/helpers/pattern-matcher.d.ts.map +1 -0
- package/dist/helpers/pattern-matcher.js +29 -0
- package/dist/helpers/pattern-matcher.js.map +1 -0
- package/dist/implementations/cli-types.d.ts +2 -0
- package/dist/implementations/cli-types.d.ts.map +1 -0
- package/dist/implementations/cli-types.js +2 -0
- package/dist/implementations/cli-types.js.map +1 -0
- package/dist/implementations/encryption.d.ts +21 -0
- package/dist/implementations/encryption.d.ts.map +1 -0
- package/dist/implementations/encryption.js +154 -0
- package/dist/implementations/encryption.js.map +1 -0
- package/dist/implementations/errors.d.ts +17 -0
- package/dist/implementations/errors.d.ts.map +1 -0
- package/dist/implementations/errors.js +23 -0
- package/dist/implementations/errors.js.map +1 -0
- package/dist/implementations/keys.d.ts +24 -0
- package/dist/implementations/keys.d.ts.map +1 -0
- package/dist/implementations/keys.js +114 -0
- package/dist/implementations/keys.js.map +1 -0
- package/dist/implementations/redaction-admission.d.ts +24 -0
- package/dist/implementations/redaction-admission.d.ts.map +1 -0
- package/dist/implementations/redaction-admission.js +44 -0
- package/dist/implementations/redaction-admission.js.map +1 -0
- package/dist/implementations/redaction.d.ts +32 -0
- package/dist/implementations/redaction.d.ts.map +1 -0
- package/dist/implementations/redaction.js +47 -0
- package/dist/implementations/redaction.js.map +1 -0
- package/dist/implementations/redactor.inprocess.impl.d.ts +30 -0
- package/dist/implementations/redactor.inprocess.impl.d.ts.map +1 -0
- package/dist/implementations/redactor.inprocess.impl.js +26 -0
- package/dist/implementations/redactor.inprocess.impl.js.map +1 -0
- package/dist/implementations/redactor.subprocess.impl.d.ts +25 -0
- package/dist/implementations/redactor.subprocess.impl.d.ts.map +1 -0
- package/dist/implementations/redactor.subprocess.impl.js +42 -0
- package/dist/implementations/redactor.subprocess.impl.js.map +1 -0
- package/dist/implementations/scanner.impl.d.ts +7 -0
- package/dist/implementations/scanner.impl.d.ts.map +1 -0
- package/dist/implementations/scanner.impl.js +166 -0
- package/dist/implementations/scanner.impl.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/kinds/auditor.kind.d.ts +31 -0
- package/dist/kinds/auditor.kind.d.ts.map +1 -0
- package/dist/kinds/auditor.kind.js +48 -0
- package/dist/kinds/auditor.kind.js.map +1 -0
- package/dist/kinds/dep-scanner.kind.d.ts +27 -0
- package/dist/kinds/dep-scanner.kind.d.ts.map +1 -0
- package/dist/kinds/dep-scanner.kind.js +29 -0
- package/dist/kinds/dep-scanner.kind.js.map +1 -0
- package/dist/kinds/freshness-policy.kind.d.ts +34 -0
- package/dist/kinds/freshness-policy.kind.d.ts.map +1 -0
- package/dist/kinds/freshness-policy.kind.js +47 -0
- package/dist/kinds/freshness-policy.kind.js.map +1 -0
- package/dist/kinds/index.d.ts +9 -0
- package/dist/kinds/index.d.ts.map +1 -0
- package/dist/kinds/index.js +9 -0
- package/dist/kinds/index.js.map +1 -0
- package/dist/kinds/ioc-feed.kind.d.ts +35 -0
- package/dist/kinds/ioc-feed.kind.d.ts.map +1 -0
- package/dist/kinds/ioc-feed.kind.js +36 -0
- package/dist/kinds/ioc-feed.kind.js.map +1 -0
- package/dist/kinds/policy.kind.d.ts +42 -0
- package/dist/kinds/policy.kind.d.ts.map +1 -0
- package/dist/kinds/policy.kind.js +23 -0
- package/dist/kinds/policy.kind.js.map +1 -0
- package/dist/kinds/redactor.kind.d.ts +30 -0
- package/dist/kinds/redactor.kind.d.ts.map +1 -0
- package/dist/kinds/redactor.kind.js +25 -0
- package/dist/kinds/redactor.kind.js.map +1 -0
- package/dist/kinds/scanner.kind.d.ts +35 -0
- package/dist/kinds/scanner.kind.d.ts.map +1 -0
- package/dist/kinds/scanner.kind.js +26 -0
- package/dist/kinds/scanner.kind.js.map +1 -0
- package/dist/schemas/AuditEvent.d.ts +30 -0
- package/dist/schemas/AuditEvent.d.ts.map +1 -0
- package/dist/schemas/AuditEvent.js +17 -0
- package/dist/schemas/AuditEvent.js.map +1 -0
- package/dist/schemas/RedactionRule.d.ts +16 -0
- package/dist/schemas/RedactionRule.d.ts.map +1 -0
- package/dist/schemas/RedactionRule.js +10 -0
- package/dist/schemas/RedactionRule.js.map +1 -0
- package/dist/schemas/SecurityPolicy.d.ts +21 -0
- package/dist/schemas/SecurityPolicy.d.ts.map +1 -0
- package/dist/schemas/SecurityPolicy.js +9 -0
- package/dist/schemas/SecurityPolicy.js.map +1 -0
- package/dist/schemas/ThreatReport.d.ts +25 -0
- package/dist/schemas/ThreatReport.d.ts.map +1 -0
- package/dist/schemas/ThreatReport.js +14 -0
- package/dist/schemas/ThreatReport.js.map +1 -0
- package/dist/schemas/contracts/auditor.d.ts +68 -0
- package/dist/schemas/contracts/auditor.d.ts.map +1 -0
- package/dist/schemas/contracts/auditor.js +13 -0
- package/dist/schemas/contracts/auditor.js.map +1 -0
- package/dist/schemas/contracts/card.d.ts +106 -0
- package/dist/schemas/contracts/card.d.ts.map +1 -0
- package/dist/schemas/contracts/card.js +73 -0
- package/dist/schemas/contracts/card.js.map +1 -0
- package/dist/schemas/contracts/dep-scanner.d.ts +91 -0
- package/dist/schemas/contracts/dep-scanner.d.ts.map +1 -0
- package/dist/schemas/contracts/dep-scanner.js +27 -0
- package/dist/schemas/contracts/dep-scanner.js.map +1 -0
- package/dist/schemas/contracts/freshness-policy.d.ts +99 -0
- package/dist/schemas/contracts/freshness-policy.d.ts.map +1 -0
- package/dist/schemas/contracts/freshness-policy.js +31 -0
- package/dist/schemas/contracts/freshness-policy.js.map +1 -0
- package/dist/schemas/contracts/ioc-feed.d.ts +85 -0
- package/dist/schemas/contracts/ioc-feed.d.ts.map +1 -0
- package/dist/schemas/contracts/ioc-feed.js +28 -0
- package/dist/schemas/contracts/ioc-feed.js.map +1 -0
- package/dist/schemas/contracts/misc.d.ts +11 -0
- package/dist/schemas/contracts/misc.d.ts.map +1 -0
- package/dist/schemas/contracts/misc.js +4 -0
- package/dist/schemas/contracts/misc.js.map +1 -0
- package/dist/schemas/contracts/policy.d.ts +93 -0
- package/dist/schemas/contracts/policy.d.ts.map +1 -0
- package/dist/schemas/contracts/policy.js +25 -0
- package/dist/schemas/contracts/policy.js.map +1 -0
- package/dist/schemas/contracts/redactor.d.ts +99 -0
- package/dist/schemas/contracts/redactor.d.ts.map +1 -0
- package/dist/schemas/contracts/redactor.js +34 -0
- package/dist/schemas/contracts/redactor.js.map +1 -0
- package/dist/schemas/contracts/scanner.d.ts +112 -0
- package/dist/schemas/contracts/scanner.d.ts.map +1 -0
- package/dist/schemas/contracts/scanner.js +40 -0
- package/dist/schemas/contracts/scanner.js.map +1 -0
- package/dist/schemas/contracts/widget.d.ts +19 -0
- package/dist/schemas/contracts/widget.d.ts.map +1 -0
- package/dist/schemas/contracts/widget.js +10 -0
- package/dist/schemas/contracts/widget.js.map +1 -0
- package/dist/schemas/encryption.d.ts +25 -0
- package/dist/schemas/encryption.d.ts.map +1 -0
- package/dist/schemas/encryption.js +35 -0
- package/dist/schemas/encryption.js.map +1 -0
- package/dist/schemas/index.d.ts +6 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +6 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/policy.d.ts +2 -0
- package/dist/schemas/policy.d.ts.map +1 -0
- package/dist/schemas/policy.js +2 -0
- package/dist/schemas/policy.js.map +1 -0
- package/dist/schemas/redactor.d.ts +2 -0
- package/dist/schemas/redactor.d.ts.map +1 -0
- package/dist/schemas/redactor.js +2 -0
- package/dist/schemas/redactor.js.map +1 -0
- package/dist/schemas/report-event.d.ts +29 -0
- package/dist/schemas/report-event.d.ts.map +1 -0
- package/dist/schemas/report-event.js +19 -0
- package/dist/schemas/report-event.js.map +1 -0
- package/dist/schemas/scanner.d.ts +2 -0
- package/dist/schemas/scanner.d.ts.map +1 -0
- package/dist/schemas/scanner.js +2 -0
- package/dist/schemas/scanner.js.map +1 -0
- package/dist/security-client/index.d.ts +3 -0
- package/dist/security-client/index.d.ts.map +1 -0
- package/dist/security-client/index.js +2 -0
- package/dist/security-client/index.js.map +1 -0
- package/dist/security-client/security-client.d.ts +34 -0
- package/dist/security-client/security-client.d.ts.map +1 -0
- package/dist/security-client/security-client.js +54 -0
- package/dist/security-client/security-client.js.map +1 -0
- package/dist/security.consumer.plugin.d.ts +3 -0
- package/dist/security.consumer.plugin.d.ts.map +1 -0
- package/dist/security.consumer.plugin.js +28 -0
- package/dist/security.consumer.plugin.js.map +1 -0
- package/dist/security.plugin.d.ts +16 -0
- package/dist/security.plugin.d.ts.map +1 -0
- package/dist/security.plugin.js +78 -0
- package/dist/security.plugin.js.map +1 -0
- package/dist/svelte/index.d.ts +3 -0
- package/dist/svelte/index.d.ts.map +1 -0
- package/dist/svelte/index.js +2 -0
- package/dist/svelte/security-svelte.plugin.d.ts +5 -0
- package/dist/svelte/security-svelte.plugin.d.ts.map +1 -0
- package/dist/svelte/security-svelte.plugin.js +49 -0
- package/dist/svelte/styles.css +8 -0
- package/dist/svelte/tool-widgets/SecurityToolCard.svelte +140 -0
- package/dist/svelte/tool-widgets/SecurityToolCard.svelte.d.ts +5 -0
- package/dist/svelte/tool-widgets/SecurityToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.d.ts +2 -0
- package/dist/svelte/tool-widgets/index.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.js +6 -0
- package/dist/tools/check-policy/check-policy.descriptor.d.ts +37 -0
- package/dist/tools/check-policy/check-policy.descriptor.d.ts.map +1 -0
- package/dist/tools/check-policy/check-policy.descriptor.js +21 -0
- package/dist/tools/check-policy/check-policy.descriptor.js.map +1 -0
- package/dist/tools/check-policy/check-policy.impl.consumer.d.ts +7 -0
- package/dist/tools/check-policy/check-policy.impl.consumer.d.ts.map +1 -0
- package/dist/tools/check-policy/check-policy.impl.consumer.js +21 -0
- package/dist/tools/check-policy/check-policy.impl.consumer.js.map +1 -0
- package/dist/tools/check-policy/index.d.ts +3 -0
- package/dist/tools/check-policy/index.d.ts.map +1 -0
- package/dist/tools/check-policy/index.js +2 -0
- package/dist/tools/check-policy/index.js.map +1 -0
- package/dist/tools/check-policy/schemas.d.ts +23 -0
- package/dist/tools/check-policy/schemas.d.ts.map +1 -0
- package/dist/tools/check-policy/schemas.js +13 -0
- package/dist/tools/check-policy/schemas.js.map +1 -0
- package/dist/tools/index.d.ts +10 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +6 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/redact-output/index.d.ts +3 -0
- package/dist/tools/redact-output/index.d.ts.map +1 -0
- package/dist/tools/redact-output/index.js +2 -0
- package/dist/tools/redact-output/index.js.map +1 -0
- package/dist/tools/redact-output/redact-output.descriptor.d.ts +42 -0
- package/dist/tools/redact-output/redact-output.descriptor.d.ts.map +1 -0
- package/dist/tools/redact-output/redact-output.descriptor.js +21 -0
- package/dist/tools/redact-output/redact-output.descriptor.js.map +1 -0
- package/dist/tools/redact-output/redact-output.impl.consumer.d.ts +7 -0
- package/dist/tools/redact-output/redact-output.impl.consumer.d.ts.map +1 -0
- package/dist/tools/redact-output/redact-output.impl.consumer.js +18 -0
- package/dist/tools/redact-output/redact-output.impl.consumer.js.map +1 -0
- package/dist/tools/redact-output/schemas.d.ts +28 -0
- package/dist/tools/redact-output/schemas.d.ts.map +1 -0
- package/dist/tools/redact-output/schemas.js +13 -0
- package/dist/tools/redact-output/schemas.js.map +1 -0
- package/dist/tools/report-event/index.d.ts +3 -0
- package/dist/tools/report-event/index.d.ts.map +1 -0
- package/dist/tools/report-event/index.js +2 -0
- package/dist/tools/report-event/index.js.map +1 -0
- package/dist/tools/report-event/report-event.descriptor.d.ts +43 -0
- package/dist/tools/report-event/report-event.descriptor.d.ts.map +1 -0
- package/dist/tools/report-event/report-event.descriptor.js +21 -0
- package/dist/tools/report-event/report-event.descriptor.js.map +1 -0
- package/dist/tools/report-event/report-event.impl.consumer.d.ts +24 -0
- package/dist/tools/report-event/report-event.impl.consumer.d.ts.map +1 -0
- package/dist/tools/report-event/report-event.impl.consumer.js +61 -0
- package/dist/tools/report-event/report-event.impl.consumer.js.map +1 -0
- package/dist/tools/report-event/schemas.d.ts +2 -0
- package/dist/tools/report-event/schemas.d.ts.map +1 -0
- package/dist/tools/report-event/schemas.js +3 -0
- package/dist/tools/report-event/schemas.js.map +1 -0
- package/dist/tools/scan-input/index.d.ts +3 -0
- package/dist/tools/scan-input/index.d.ts.map +1 -0
- package/dist/tools/scan-input/index.js +2 -0
- package/dist/tools/scan-input/index.js.map +1 -0
- package/dist/tools/scan-input/scan-input.descriptor.d.ts +49 -0
- package/dist/tools/scan-input/scan-input.descriptor.d.ts.map +1 -0
- package/dist/tools/scan-input/scan-input.descriptor.js +21 -0
- package/dist/tools/scan-input/scan-input.descriptor.js.map +1 -0
- package/dist/tools/scan-input/scan-input.impl.consumer.d.ts +7 -0
- package/dist/tools/scan-input/scan-input.impl.consumer.d.ts.map +1 -0
- package/dist/tools/scan-input/scan-input.impl.consumer.js +22 -0
- package/dist/tools/scan-input/scan-input.impl.consumer.js.map +1 -0
- package/dist/tools/scan-input/schemas.d.ts +36 -0
- package/dist/tools/scan-input/schemas.d.ts.map +1 -0
- package/dist/tools/scan-input/schemas.js +15 -0
- package/dist/tools/scan-input/schemas.js.map +1 -0
- package/dist/tools/security-tool-card.d.ts +13 -0
- package/dist/tools/security-tool-card.d.ts.map +1 -0
- package/dist/tools/security-tool-card.js +171 -0
- package/dist/tools/security-tool-card.js.map +1 -0
- package/dist/tools/security.docs.descriptor.d.ts +17 -0
- package/dist/tools/security.docs.descriptor.d.ts.map +1 -0
- package/dist/tools/security.docs.descriptor.js +49 -0
- package/dist/tools/security.docs.descriptor.js.map +1 -0
- package/dist/tui/index.d.ts +2 -0
- package/dist/tui/index.d.ts.map +1 -0
- package/dist/tui/index.js +2 -0
- package/dist/tui/index.js.map +1 -0
- package/dist/tui/security-tui.plugin.d.ts +3 -0
- package/dist/tui/security-tui.plugin.d.ts.map +1 -0
- package/dist/tui/security-tui.plugin.js +31 -0
- package/dist/tui/security-tui.plugin.js.map +1 -0
- package/dist/tui/tool-widgets/SecurityToolWidget.impl.consumer.d.ts +5 -0
- package/dist/tui/tool-widgets/SecurityToolWidget.impl.consumer.d.ts.map +1 -0
- package/dist/tui/tool-widgets/SecurityToolWidget.impl.consumer.js +37 -0
- package/dist/tui/tool-widgets/SecurityToolWidget.impl.consumer.js.map +1 -0
- package/docs/host-boundary.md +186 -0
- package/docs/scanner-work.md +29 -0
- package/package.json +245 -4
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Built-in scanner work bound
|
|
2
|
+
|
|
3
|
+
The admitted input is at most 262,144 UTF-16 units. The fixed rule set makes
|
|
4
|
+
O(n) work in input length, with constants determined by the shipped rules;
|
|
5
|
+
this claim does not extend to arbitrary redactor patterns.
|
|
6
|
+
|
|
7
|
+
- Credential and password rules start with fixed literal prefixes. Their
|
|
8
|
+
whitespace runs cannot contain another prefix. Credential value characters
|
|
9
|
+
are disjoint from delimiters and quotes. Password values have no failing
|
|
10
|
+
suffix and consume the entire non-whitespace run on success.
|
|
11
|
+
- Provider and GitHub tokens have fixed prefixes and fixed-length bodies.
|
|
12
|
+
- SSN and passport rules have fixed maximum match lengths.
|
|
13
|
+
- Email attempts inspect at most 64 local-part and 126 domain units before
|
|
14
|
+
the final dot. The trailing alphabetic run has no failing suffix: successful
|
|
15
|
+
matches consume it. Failed starts therefore inspect a fixed-size window.
|
|
16
|
+
- Instruction overrides start with a fixed verb and consume disjoint whitespace
|
|
17
|
+
and modifier words. Modifiers cannot contain another starting verb. The
|
|
18
|
+
repeated alternatives have distinct words; whitespace cannot match a word.
|
|
19
|
+
Persona and system-prompt rules likewise alternate distinct fixed words
|
|
20
|
+
and whitespace, which cannot contain another start.
|
|
21
|
+
- Markup uses a fixed opening-prefix search followed by one terminator search.
|
|
22
|
+
A success advances past the terminator; a missing terminator ends that rule.
|
|
23
|
+
Neither case retries the same unterminated suffix.
|
|
24
|
+
|
|
25
|
+
Rules use fresh match state per call. Category order, non-overlapping matches
|
|
26
|
+
within each rule, rule identifiers and original UTF-16 spans are preserved.
|
|
27
|
+
The public runtime scan tests exercise long nonmatches, incomplete instruction
|
|
28
|
+
sequences, credential prefixes, unterminated markup, and nested opening markup.
|
|
29
|
+
The work argument comes from these traversals, not timing measurements.
|
package/package.json
CHANGED
|
@@ -1,6 +1,247 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibesdotdev/security",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0-rc.5",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@vibesdotdev/logging": "^1.0.0-rc.5",
|
|
6
|
+
"zod": "^4.6.7",
|
|
7
|
+
"@vibesdotdev/crypto": "^1.0.0-rc.3"
|
|
8
|
+
},
|
|
9
|
+
"peerDependencies": {
|
|
10
|
+
"@opentui/react": "^0.5.17",
|
|
11
|
+
"@types/bun": "^1.4.3",
|
|
12
|
+
"@types/react": "^19.3.0",
|
|
13
|
+
"@vibesdotdev/cli": "^1.0.0-rc.0",
|
|
14
|
+
"@vibesdotdev/kit": "^1.0.0-rc.0",
|
|
15
|
+
"@vibesdotdev/paths": "^1.0.0-rc.0",
|
|
16
|
+
"@vibesdotdev/kernel": "^1.0.0-rc.0",
|
|
17
|
+
"@vibesdotdev/testing": "^1.0.0-rc.0",
|
|
18
|
+
"@vibesdotdev/tui": "^1.0.0-rc.0",
|
|
19
|
+
"react": "^19.3.1",
|
|
20
|
+
"svelte": "^5.57.2",
|
|
21
|
+
"typescript": "^6.0.3",
|
|
22
|
+
"@vibesdotdev/filesystem": "^1.0.0-rc.0"
|
|
23
|
+
},
|
|
24
|
+
"main": "./dist/index.js",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"bun": "./dist/index.js",
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js",
|
|
30
|
+
"default": "./dist/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./encryption": {
|
|
33
|
+
"bun": "./dist/implementations/encryption.js",
|
|
34
|
+
"types": "./dist/implementations/encryption.d.ts",
|
|
35
|
+
"import": "./dist/implementations/encryption.js",
|
|
36
|
+
"default": "./dist/implementations/encryption.js"
|
|
37
|
+
},
|
|
38
|
+
"./schemas/encryption": {
|
|
39
|
+
"bun": "./dist/schemas/encryption.js",
|
|
40
|
+
"types": "./dist/schemas/encryption.d.ts",
|
|
41
|
+
"import": "./dist/schemas/encryption.js",
|
|
42
|
+
"default": "./dist/schemas/encryption.js"
|
|
43
|
+
},
|
|
44
|
+
"./plugin": {
|
|
45
|
+
"bun": "./dist/security.plugin.js",
|
|
46
|
+
"types": "./dist/security.plugin.d.ts",
|
|
47
|
+
"import": "./dist/security.plugin.js",
|
|
48
|
+
"default": "./dist/security.plugin.js"
|
|
49
|
+
},
|
|
50
|
+
"./consumer.plugin": {
|
|
51
|
+
"bun": "./dist/security.consumer.plugin.js",
|
|
52
|
+
"types": "./dist/security.consumer.plugin.d.ts",
|
|
53
|
+
"import": "./dist/security.consumer.plugin.js",
|
|
54
|
+
"default": "./dist/security.consumer.plugin.js"
|
|
55
|
+
},
|
|
56
|
+
"./client": {
|
|
57
|
+
"bun": "./dist/security-client/index.js",
|
|
58
|
+
"types": "./dist/security-client/index.d.ts",
|
|
59
|
+
"import": "./dist/security-client/index.js",
|
|
60
|
+
"default": "./dist/security-client/index.js"
|
|
61
|
+
},
|
|
62
|
+
"./client/*": {
|
|
63
|
+
"bun": "./dist/security-client/*.js",
|
|
64
|
+
"types": "./dist/security-client/*.d.ts",
|
|
65
|
+
"import": "./dist/security-client/*.js",
|
|
66
|
+
"default": "./dist/security-client/*.js"
|
|
67
|
+
},
|
|
68
|
+
"./schemas": {
|
|
69
|
+
"bun": "./dist/schemas/index.js",
|
|
70
|
+
"types": "./dist/schemas/index.d.ts",
|
|
71
|
+
"import": "./dist/schemas/index.js",
|
|
72
|
+
"default": "./dist/schemas/index.js"
|
|
73
|
+
},
|
|
74
|
+
"./schemas/*": {
|
|
75
|
+
"bun": "./dist/schemas/*.js",
|
|
76
|
+
"types": "./dist/schemas/*.d.ts",
|
|
77
|
+
"import": "./dist/schemas/*.js",
|
|
78
|
+
"default": "./dist/schemas/*.js"
|
|
79
|
+
},
|
|
80
|
+
"./helpers": {
|
|
81
|
+
"bun": "./dist/helpers/index.js",
|
|
82
|
+
"types": "./dist/helpers/index.d.ts",
|
|
83
|
+
"import": "./dist/helpers/index.js",
|
|
84
|
+
"default": "./dist/helpers/index.js"
|
|
85
|
+
},
|
|
86
|
+
"./helpers/*": {
|
|
87
|
+
"bun": "./dist/helpers/*.js",
|
|
88
|
+
"types": "./dist/helpers/*.d.ts",
|
|
89
|
+
"import": "./dist/helpers/*.js",
|
|
90
|
+
"default": "./dist/helpers/*.js"
|
|
91
|
+
},
|
|
92
|
+
"./tools": {
|
|
93
|
+
"bun": "./dist/tools/index.js",
|
|
94
|
+
"types": "./dist/tools/index.d.ts",
|
|
95
|
+
"import": "./dist/tools/index.js",
|
|
96
|
+
"default": "./dist/tools/index.js"
|
|
97
|
+
},
|
|
98
|
+
"./tools/*": {
|
|
99
|
+
"bun": "./dist/tools/*/index.js",
|
|
100
|
+
"types": "./dist/tools/*/index.d.ts",
|
|
101
|
+
"import": "./dist/tools/*/index.js",
|
|
102
|
+
"default": "./dist/tools/*/index.js"
|
|
103
|
+
},
|
|
104
|
+
"./cli": {
|
|
105
|
+
"bun": "./dist/cli/index.js",
|
|
106
|
+
"types": "./dist/cli/index.d.ts",
|
|
107
|
+
"import": "./dist/cli/index.js",
|
|
108
|
+
"default": "./dist/cli/index.js"
|
|
109
|
+
},
|
|
110
|
+
"./cli/plugin": {
|
|
111
|
+
"bun": "./dist/cli/plugin.js",
|
|
112
|
+
"types": "./dist/cli/plugin.d.ts",
|
|
113
|
+
"import": "./dist/cli/plugin.js",
|
|
114
|
+
"default": "./dist/cli/plugin.js"
|
|
115
|
+
},
|
|
116
|
+
"./svelte": {
|
|
117
|
+
"bun": "./dist/svelte/index.js",
|
|
118
|
+
"types": "./dist/svelte/index.d.ts",
|
|
119
|
+
"svelte": "./dist/svelte/index.js",
|
|
120
|
+
"import": "./dist/svelte/index.js",
|
|
121
|
+
"default": "./dist/svelte/index.js"
|
|
122
|
+
},
|
|
123
|
+
"./svelte/plugin": {
|
|
124
|
+
"bun": "./dist/svelte/security-svelte.plugin.js",
|
|
125
|
+
"types": "./dist/svelte/security-svelte.plugin.d.ts",
|
|
126
|
+
"import": "./dist/svelte/security-svelte.plugin.js",
|
|
127
|
+
"default": "./dist/svelte/security-svelte.plugin.js"
|
|
128
|
+
},
|
|
129
|
+
"./svelte/styles.css": {
|
|
130
|
+
"style": "./dist/svelte/styles.css",
|
|
131
|
+
"bun": "./dist/svelte/styles.css",
|
|
132
|
+
"default": "./dist/svelte/styles.css"
|
|
133
|
+
},
|
|
134
|
+
"./svelte/tool-widgets": {
|
|
135
|
+
"bun": "./dist/svelte/tool-widgets/index.js",
|
|
136
|
+
"types": "./dist/svelte/tool-widgets/index.d.ts",
|
|
137
|
+
"svelte": "./dist/svelte/tool-widgets/index.js",
|
|
138
|
+
"import": "./dist/svelte/tool-widgets/index.js",
|
|
139
|
+
"default": "./dist/svelte/tool-widgets/index.js"
|
|
140
|
+
},
|
|
141
|
+
"./tui": {
|
|
142
|
+
"bun": "./dist/tui/index.js",
|
|
143
|
+
"types": "./dist/tui/index.d.ts",
|
|
144
|
+
"import": "./dist/tui/index.js",
|
|
145
|
+
"default": "./dist/tui/index.js"
|
|
146
|
+
},
|
|
147
|
+
"./tui/plugin": {
|
|
148
|
+
"bun": "./dist/tui/security-tui.plugin.js",
|
|
149
|
+
"types": "./dist/tui/security-tui.plugin.d.ts",
|
|
150
|
+
"import": "./dist/tui/security-tui.plugin.js",
|
|
151
|
+
"default": "./dist/tui/security-tui.plugin.js"
|
|
152
|
+
},
|
|
153
|
+
"./kinds": {
|
|
154
|
+
"bun": "./dist/kinds/index.js",
|
|
155
|
+
"types": "./dist/kinds/index.d.ts",
|
|
156
|
+
"import": "./dist/kinds/index.js",
|
|
157
|
+
"default": "./dist/kinds/index.js"
|
|
158
|
+
},
|
|
159
|
+
"./kinds/*": {
|
|
160
|
+
"bun": "./dist/kinds/*.js",
|
|
161
|
+
"types": "./dist/kinds/*.d.ts",
|
|
162
|
+
"import": "./dist/kinds/*.js",
|
|
163
|
+
"default": "./dist/kinds/*.js"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"files": [
|
|
167
|
+
"dist",
|
|
168
|
+
"README.md",
|
|
169
|
+
"LICENSE",
|
|
170
|
+
"docs/host-boundary.md",
|
|
171
|
+
"docs/scanner-work.md",
|
|
172
|
+
"!dist/**/__tests__/**",
|
|
173
|
+
"!dist/**/__stubs__/**",
|
|
174
|
+
"!dist/**/*.test.js",
|
|
175
|
+
"!dist/**/*.test.js.map",
|
|
176
|
+
"!dist/**/*.test.d.ts",
|
|
177
|
+
"!dist/**/*.test.d.ts.map",
|
|
178
|
+
"!dist/**/*.spec.js",
|
|
179
|
+
"!dist/**/*.spec.js.map",
|
|
180
|
+
"!dist/**/*.spec.d.ts",
|
|
181
|
+
"!dist/**/*.spec.d.ts.map",
|
|
182
|
+
"!dist/**/*.tsbuildinfo"
|
|
183
|
+
],
|
|
184
|
+
"scripts": {
|
|
185
|
+
"lint": "node ../node_modules/@vibesdotdev/internal-oxlint-toolchain/ratchet.mjs .",
|
|
186
|
+
"test": "${BUN:-bun} test src",
|
|
187
|
+
"check": "${BUN:-bun} --bun tsc -p config/tsconfig.check.json --noEmit && ${BUN:-bun} --bun svelte-check --tsconfig ./config/tsconfig.svelte.check.json",
|
|
188
|
+
"build": "rm -rf dist && tsc -p config/tsconfig.core.json && ${BUN:-bun} --bun svelte-package --input ./src/svelte --output ./dist/svelte --tsconfig ./tsconfig.json && rm -rf dist/svelte/__tests__ && find dist/svelte -name '*.test.*' -delete && find dist/svelte -name '*.spec.*' -delete"
|
|
189
|
+
},
|
|
190
|
+
"repository": {
|
|
191
|
+
"type": "git",
|
|
192
|
+
"url": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
|
|
193
|
+
"directory": "security"
|
|
194
|
+
},
|
|
195
|
+
"publishConfig": {
|
|
196
|
+
"registry": "https://packages.vibes.dev",
|
|
197
|
+
"access": "public"
|
|
198
|
+
},
|
|
199
|
+
"vibes": {
|
|
200
|
+
"visibility": "public",
|
|
201
|
+
"registry": {
|
|
202
|
+
"repositoryId": "4b1374d4-6830-4bfd-98e3-de66416368a8",
|
|
203
|
+
"directory": "security"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"type": "module",
|
|
207
|
+
"types": "./dist/index.d.ts",
|
|
208
|
+
"peerDependenciesMeta": {
|
|
209
|
+
"@opentui/react": {
|
|
210
|
+
"optional": true
|
|
211
|
+
},
|
|
212
|
+
"@types/bun": {
|
|
213
|
+
"optional": true
|
|
214
|
+
},
|
|
215
|
+
"@types/react": {
|
|
216
|
+
"optional": true
|
|
217
|
+
},
|
|
218
|
+
"@vibesdotdev/cli": {
|
|
219
|
+
"optional": true
|
|
220
|
+
},
|
|
221
|
+
"@vibesdotdev/kit": {
|
|
222
|
+
"optional": true
|
|
223
|
+
},
|
|
224
|
+
"@vibesdotdev/testing": {
|
|
225
|
+
"optional": true
|
|
226
|
+
},
|
|
227
|
+
"@vibesdotdev/tui": {
|
|
228
|
+
"optional": true
|
|
229
|
+
},
|
|
230
|
+
"react": {
|
|
231
|
+
"optional": true
|
|
232
|
+
},
|
|
233
|
+
"svelte": {
|
|
234
|
+
"optional": true
|
|
235
|
+
},
|
|
236
|
+
"typescript": {
|
|
237
|
+
"optional": true
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"license": "MIT",
|
|
241
|
+
"gitHead": "f1ff526c235b10c970497738beb16b0651c428c8",
|
|
242
|
+
"_vibes_source": {
|
|
243
|
+
"repo": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
|
|
244
|
+
"sha": "f1ff526c235b10c970497738beb16b0651c428c8",
|
|
245
|
+
"workspaceDigest": "sha256:a2386350963b841ec3821fc30caf13e0d0e846005949f33223eb0994f4187997"
|
|
246
|
+
}
|
|
247
|
+
}
|