@mlvscan/wasm-core 1.2.5 → 1.2.6

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.
Binary file
Binary file
Binary file
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "mainAssemblyName": "MLVScan.WASM.dll",
3
3
  "resources": {
4
- "hash": "sha256-FzlT9hDC47s9I17Fw9kG7R9j4l3cnvfSZ6t5jIopF20=",
4
+ "hash": "sha256-tFib8fSVGLibLMChnNdhiW6PwceSryKSIlBAVM8stmU=",
5
5
  "jsModuleNative": {
6
6
  "dotnet.native.js": "sha256-clxzGaAFwcQ6QWhwQ7dzpD9ktR/87yTache3B45gqoQ="
7
7
  },
@@ -20,13 +20,13 @@
20
20
  "icudt_no_CJK.dat": "sha256-L7sV7NEYP37/Qr2FPCePo5cJqRgTXRwGHuwF5Q+0Nfs="
21
21
  },
22
22
  "assembly": {
23
- "MLVScan.Core.wasm": "sha256-LYCOj6966QvBh8Vm/BB0UUYiOdASV0xjvd43ec5yV7Y=",
24
- "MLVScan.WASM.wasm": "sha256-phOrKEvLPQwwuLsrvdtzmXrZGX33Ya7J33plUwaHS74=",
23
+ "MLVScan.Core.wasm": "sha256-eyPG6qsSPnSgYzgp7L/wdWugqR4aBhc/nAUQlNq1EME=",
24
+ "MLVScan.WASM.wasm": "sha256-9W60mybLTnlbOcgpsezH9frz7LLQGCIfV5oVVfkRlXs=",
25
25
  "Mono.Cecil.wasm": "sha256-Wb+vzfNGLnGGDRhJupS658/i47mVwABGEw9O0N97dlY=",
26
26
  "System.Collections.Concurrent.wasm": "sha256-ku8RXpDvw6lVQsUFOoNfSNvuOUT+7s5dMuxJFQ46+48=",
27
27
  "System.Collections.wasm": "sha256-TRwwb/PWxTAKfplBNqMkn14z5rNLvuy459MunrnseDo=",
28
28
  "System.IO.Compression.wasm": "sha256-zPnVmOjOHN/V1tNLjZurM9T/xj1LXcVlKv+emtlb3gA=",
29
- "System.Linq.wasm": "sha256-flscKY3haTkSzPEhR0PvKDIk3FOzm4V6kRlFhaEv5HI=",
29
+ "System.Linq.wasm": "sha256-VUQnMdevTKLK+Cca4zN6KIEmc7bqQBpELEmVhTuR8ww=",
30
30
  "System.Memory.wasm": "sha256-csnkwt/JrsppyyW/C58TooGjK2jHvla7al1hV1pbTm4=",
31
31
  "System.Private.CoreLib.wasm": "sha256-T+0/i4UYwSq0tBPbsTEEWlAM3OcNdnrVSUO3ui60fhA=",
32
32
  "System.Private.Uri.wasm": "sha256-Bp03tn762qScySUTOuLj6kB8+wrYiW5mmtkkUunGdoE=",
package/dist/types.d.ts CHANGED
@@ -22,6 +22,8 @@ export interface ScanResult {
22
22
  dataFlows?: DataFlowChain[];
23
23
  /** Optional remediation guidance for developer mode. */
24
24
  developerGuidance?: DeveloperGuidance[];
25
+ /** Optional known malware family matches derived from threat-intel classification. */
26
+ threatFamilies?: ThreatFamily[];
25
27
  }
26
28
  /** Metadata about the scanner and this scan run. */
27
29
  export interface ScanMetadata {
@@ -119,6 +121,23 @@ export interface DeveloperGuidance {
119
121
  alternativeApis?: string[];
120
122
  isRemediable: boolean;
121
123
  }
124
+ export type ThreatMatchKind = 'ExactSampleHash' | 'BehaviorVariant';
125
+ export interface ThreatFamilyEvidence {
126
+ kind: string;
127
+ value: string;
128
+ }
129
+ export interface ThreatFamily {
130
+ familyId: string;
131
+ variantId: string;
132
+ displayName: string;
133
+ summary: string;
134
+ matchKind: ThreatMatchKind;
135
+ confidence: number;
136
+ exactHashMatch: boolean;
137
+ matchedRules: string[];
138
+ advisorySlugs: string[];
139
+ evidence: ThreatFamilyEvidence[];
140
+ }
122
141
  export interface DeepBehaviorAnalysisConfig {
123
142
  enableDeepAnalysis?: boolean;
124
143
  emitDiagnosticFindings?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlvscan/wasm-core",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "WebAssembly core for MLVScan - scanning Unity mods in the browser",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",