@stackone/defender 0.3.0 → 0.4.0

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 ADDED
@@ -0,0 +1,560 @@
1
+ Server Side Public License
2
+ VERSION 1, OCTOBER 16, 2018
3
+
4
+ Copyright 2024 StackOne
5
+
6
+ Everyone is permitted to copy and distribute verbatim copies of this
7
+ license document, but changing it is not allowed.
8
+
9
+ TERMS AND CONDITIONS
10
+
11
+ 0. Definitions.
12
+
13
+ "This License" refers to Server Side Public License.
14
+
15
+ "Copyright" also means copyright-like laws that apply to other kinds of
16
+ works, such as semiconductor masks.
17
+
18
+ "The Program" refers to any copyrightable work licensed under this
19
+ License. Each licensee is addressed as "you". "Licensees" and
20
+ "recipients" may be individuals or organizations.
21
+
22
+ To "modify" a work means to copy from or adapt all or part of the work in
23
+ a fashion requiring copyright permission, other than the making of an
24
+ exact copy. The resulting work is called a "modified version" of the
25
+ earlier work or a work "based on" the earlier work.
26
+
27
+ A "covered work" means either the unmodified Program or a work based on
28
+ the Program.
29
+
30
+ To "propagate" a work means to do anything with it that, without
31
+ permission, would make you directly or secondarily liable for infringement
32
+ under applicable copyright law, except executing it on a computer or
33
+ modifying a private copy. Propagation includes copying, distribution (with
34
+ or without modification), making available to the public, and in some
35
+ countries other activities as well.
36
+
37
+ To "convey" a work means any kind of propagation that enables other
38
+ parties to make or receive copies. Mere interaction with a user through a
39
+ computer network, with no transfer of a copy, is not conveying.
40
+
41
+ An interactive user interface displays "Appropriate Legal Notices" to the
42
+ extent that it includes a convenient and prominently visible feature that
43
+ (1) displays an appropriate copyright notice, and (2) tells the user that
44
+ there is no warranty for the work (except to the extent that warranties
45
+ are provided), that licensees may convey the work under this License, and
46
+ how to view a copy of this License. If the interface presents a list of
47
+ user commands or options, such as a menu, a prominent item in the list
48
+ meets this criterion.
49
+
50
+ 1. Source Code.
51
+
52
+ The "source code" for a work means the preferred form of the work for
53
+ making modifications to it. "Object code" means any non-source form of a
54
+ work.
55
+
56
+ A "Standard Interface" means an interface that either is an official
57
+ standard defined by a recognized standards body, or, in the case of
58
+ interfaces specified for a particular programming language, one that is
59
+ widely used among developers working in that language.
60
+
61
+ The "System Libraries" of an executable work include anything, other than
62
+ the work as a whole, that (a) is included in the normal form of packaging
63
+ a Major Component, but which is not part of that Major Component, and (b)
64
+ serves only to enable use of the work with that Major Component, or to
65
+ implement a Standard Interface for which an implementation is available to
66
+ the public in source code form. A "Major Component", in this context,
67
+ means a major essential component (kernel, window system, and so on) of
68
+ the specific operating system (if any) on which the executable work runs,
69
+ or a compiler used to produce the work, or an object code interpreter used
70
+ to run it.
71
+
72
+ The "Corresponding Source" for a work in object code form means all the
73
+ source code needed to generate, install, and (for an executable work) run
74
+ the object code and to modify the work, including scripts to control those
75
+ activities. However, it does not include the work's System Libraries, or
76
+ general-purpose tools or generally available free programs which are used
77
+ unmodified in performing those activities but which are not part of the
78
+ work. For example, Corresponding Source includes interface definition files
79
+ associated with source files for the work, and the source code for shared
80
+ libraries and dynamically linked subprograms that the work is specifically
81
+ designed to require, such as by intimate data communication or control
82
+ flow between those subprograms and other parts of the work.
83
+
84
+ The Corresponding Source need not include anything that users can
85
+ regenerate automatically from other parts of the Corresponding Source.
86
+
87
+ The Corresponding Source for a work in source code form is that same work.
88
+
89
+ 2. Basic Permissions.
90
+
91
+ All rights granted under this License are granted for the term of
92
+ copyright on the Program, and are irrevocable provided the stated
93
+ conditions are met. This License explicitly affirms your unlimited
94
+ permission to run the unmodified Program, subject to section 13. The
95
+ output from running a covered work is covered by this License only if the
96
+ output, given its content, constitutes a covered work. This License
97
+ acknowledges your rights of fair use or other equivalent, as provided by
98
+ copyright law.
99
+
100
+ Subject to section 13, you may make, run and propagate covered works that
101
+ you do not convey, without conditions so long as your license otherwise
102
+ remains in force. You may convey covered works to others for the sole
103
+ purpose of having them make modifications exclusively for you, or provide
104
+ you with facilities for running those works, provided that you comply with
105
+ the terms of this License in conveying all material for which you do not
106
+ control copyright. Those thus making or running the covered works for you
107
+ must do so exclusively on your behalf, under your direction and control,
108
+ on terms that prohibit them from making any copies of your copyrighted
109
+ material outside their relationship with you.
110
+
111
+ Conveying under any other circumstances is permitted solely under the
112
+ conditions stated below. Sublicensing is not allowed; section 10 makes it
113
+ unnecessary.
114
+
115
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
116
+
117
+ No covered work shall be deemed part of an effective technological measure
118
+ under any applicable law fulfilling obligations under article 11 of the
119
+ WIPO copyright treaty adopted on 20 December 1996, or similar laws
120
+ prohibiting or restricting circumvention of such measures.
121
+
122
+ When you convey a covered work, you waive any legal power to forbid
123
+ circumvention of technological measures to the extent such circumvention
124
+ is effected by exercising rights under this License with respect to the
125
+ covered work, and you disclaim any intention to limit operation or
126
+ modification of the work as a means of enforcing, against the work's
127
+ users, your or third parties' legal rights to forbid circumvention of
128
+ technological measures.
129
+
130
+ 4. Conveying Verbatim Copies.
131
+
132
+ You may convey verbatim copies of the Program's source code as you
133
+ receive it, in any medium, provided that you conspicuously and
134
+ appropriately publish on each copy an appropriate copyright notice; keep
135
+ intact all notices stating that this License and any non-permissive terms
136
+ added in accord with section 7 apply to the code; keep intact all notices
137
+ of the absence of any warranty; and give all recipients a copy of this
138
+ License along with the Program.
139
+
140
+ You may charge any price or no price for each copy that you convey, and
141
+ you may offer support or warranty protection for a fee.
142
+
143
+ 5. Conveying Modified Source Versions.
144
+
145
+ You may convey a work based on the Program, or the modifications to
146
+ produce it from the Program, in the form of source code under the terms of
147
+ section 4, provided that you also meet all of these conditions:
148
+
149
+ a) The work must carry prominent notices stating that you modified it,
150
+ and giving a relevant date.
151
+
152
+ b) The work must carry prominent notices stating that it is released
153
+ under this License and any conditions added under section 7. This
154
+ requirement modifies the requirement in section 4 to "keep intact all
155
+ notices".
156
+
157
+ c) You must license the entire work, as a whole, under this License to
158
+ anyone who comes into possession of a copy. This License will therefore
159
+ apply, along with any applicable section 7 additional terms, to the
160
+ whole of the work, and all its parts, regardless of how they are
161
+ packaged. This License gives no permission to license the work in any
162
+ other way, but it does not invalidate such permission if you have
163
+ separately received it.
164
+
165
+ d) If the work has interactive user interfaces, each must display
166
+ Appropriate Legal Notices; however, if the Program has interactive
167
+ interfaces that do not display Appropriate Legal Notices, your work need
168
+ not make them do so.
169
+
170
+ A compilation of a covered work with other separate and independent works,
171
+ which are not by their nature extensions of the covered work, and which
172
+ are not combined with it such as to form a larger program, in or on a
173
+ volume of a storage or distribution medium, is called an "aggregate" if
174
+ the compilation and its resulting copyright are not used to limit the
175
+ access or legal rights of the compilation's users beyond what the
176
+ individual works permit. Inclusion of a covered work in an aggregate does
177
+ not cause this License to apply to the other parts of the aggregate.
178
+
179
+ 6. Conveying Non-Source Forms.
180
+
181
+ You may convey a covered work in object code form under the terms of
182
+ sections 4 and 5, provided that you also convey the machine-readable
183
+ Corresponding Source under the terms of this License, in one of these
184
+ ways:
185
+
186
+ a) Convey the object code in, or embodied in, a physical product
187
+ (including a physical distribution medium), accompanied by the
188
+ Corresponding Source fixed on a durable physical medium customarily used
189
+ for software interchange.
190
+
191
+ b) Convey the object code in, or embodied in, a physical product
192
+ (including a physical distribution medium), accompanied by a written
193
+ offer, valid for at least three years and valid for as long as you offer
194
+ spare parts or customer support for that product model, to give anyone
195
+ who possesses the object code either (1) a copy of the Corresponding
196
+ Source for all the software in the product that is covered by this
197
+ License, on a durable physical medium customarily used for software
198
+ interchange, for a price no more than your reasonable cost of physically
199
+ performing this conveying of source, or (2) access to copy the
200
+ Corresponding Source from a network server at no charge.
201
+
202
+ c) Convey individual copies of the object code with a copy of the
203
+ written offer to provide the Corresponding Source. This alternative is
204
+ allowed only occasionally and noncommercially, and only if you received
205
+ the object code with such an offer, in accord with subsection 6b.
206
+
207
+ d) Convey the object code by offering access from a designated place
208
+ (gratis or for a charge), and offer equivalent access to the
209
+ Corresponding Source in the same way through the same place at no
210
+ further charge. You need not require recipients to copy the
211
+ Corresponding Source along with the object code. If the place to copy
212
+ the object code is a network server, the Corresponding Source may be on
213
+ a different server (operated by you or a third party) that supports
214
+ equivalent copying facilities, provided you maintain clear directions
215
+ next to the object code saying where to find the Corresponding Source.
216
+ Regardless of what server hosts the Corresponding Source, you remain
217
+ obligated to ensure that it is available for as long as needed to
218
+ satisfy these requirements.
219
+
220
+ e) Convey the object code using peer-to-peer transmission, provided you
221
+ inform other peers where the object code and Corresponding Source of the
222
+ work are being offered to the general public at no charge under
223
+ subsection 6d.
224
+
225
+ A separable portion of the object code, whose source code is excluded
226
+ from the Corresponding Source as a System Library, need not be included in
227
+ conveying the object code work.
228
+
229
+ A "User Product" is either (1) a "consumer product", which means any
230
+ tangible personal property which is normally used for personal, family, or
231
+ household purposes, or (2) anything designed or sold for incorporation
232
+ into a dwelling. In determining whether a product is a consumer product,
233
+ doubtful cases shall be resolved in favor of coverage. For a particular
234
+ product received by a particular user, "normally used" refers to a typical
235
+ or common use of that class of product, regardless of the status of the
236
+ particular user or of the way in which the particular user actually uses,
237
+ or expects or is expected to use, the product. A product is a consumer
238
+ product regardless of whether the product has substantial commercial,
239
+ industrial or non-consumer uses, unless such uses represent the only
240
+ significant mode of use of the product.
241
+
242
+ "Installation Information" for a User Product means any methods,
243
+ procedures, authorization keys, or other information required to install
244
+ and execute modified versions of a covered work in that User Product from
245
+ a modified version of its Corresponding Source. The information must
246
+ suffice to ensure that the continued functioning of the modified object
247
+ code is in no case prevented or interfered with solely because
248
+ modification has been made.
249
+
250
+ If you convey an object code work under this section in, or with, or
251
+ specifically for use in, a User Product, and the conveying occurs as part
252
+ of a transaction in which the right of possession and use of the User
253
+ Product is transferred to the recipient in perpetuity or for a fixed term
254
+ (regardless of how the transaction is characterized), the Corresponding
255
+ Source conveyed under this section must be accompanied by the Installation
256
+ Information. But this requirement does not apply if neither you nor any
257
+ third party retains the ability to install modified object code on the
258
+ User Product (for example, the work has been installed in ROM).
259
+
260
+ The requirement to provide Installation Information does not include a
261
+ requirement to continue to provide support service, warranty, or updates
262
+ for a work that has been modified or installed by the recipient, or for
263
+ the User Product in which it has been modified or installed. Access to a
264
+ network may be denied when the modification itself materially and
265
+ adversely affects the operation of the network or violates the rules and
266
+ protocols for communication across the network.
267
+
268
+ Corresponding Source conveyed, and Installation Information provided, in
269
+ accord with this section must be in a format that is publicly documented
270
+ (and with an implementation available to the public in source code form),
271
+ and must require no special password or key for unpacking, reading or
272
+ copying.
273
+
274
+ 7. Additional Terms.
275
+
276
+ "Additional permissions" are terms that supplement the terms of this
277
+ License by making exceptions from one or more of its conditions.
278
+ Additional permissions that are applicable to the entire Program shall be
279
+ treated as though they were included in this License, to the extent that
280
+ they are valid under applicable law. If additional permissions apply only
281
+ to part of the Program, that part may be used separately under those
282
+ permissions, but the entire Program remains governed by this License
283
+ without regard to the additional permissions.
284
+
285
+ When you convey a copy of a covered work, you may at your option remove
286
+ any additional permissions from that copy, or from any part of it.
287
+ (Additional permissions may be written to require their own removal in
288
+ certain cases when you modify the work.) You may place additional
289
+ permissions on material, added by you to a covered work, for which you
290
+ have or can give appropriate copyright permission.
291
+
292
+ Notwithstanding any other provision of this License, for material you add
293
+ to a covered work, you may (if authorized by the copyright holders of
294
+ that material) supplement the terms of this License with terms:
295
+
296
+ a) Disclaiming warranty or limiting liability differently from the terms
297
+ of sections 15 and 16 of this License; or
298
+
299
+ b) Requiring preservation of specified reasonable legal notices or
300
+ author attributions in that material or in the Appropriate Legal Notices
301
+ displayed by works containing it; or
302
+
303
+ c) Prohibiting misrepresentation of the origin of that material, or
304
+ requiring that modified versions of such material be marked in
305
+ reasonable ways as different from the original version; or
306
+
307
+ d) Limiting the use for publicity purposes of names of licensors or
308
+ authors of the material; or
309
+
310
+ e) Declining to grant rights under trademark law for use of some trade
311
+ names, trademarks, or service marks; or
312
+
313
+ f) Requiring indemnification of licensors and authors of that material
314
+ by anyone who conveys the material (or modified versions of it) with
315
+ contractual assumptions of liability to the recipient, for any liability
316
+ that these contractual assumptions directly impose on those licensors
317
+ and authors.
318
+
319
+ All other non-permissive additional terms are considered "further
320
+ restrictions" within the meaning of section 10. If the Program as you
321
+ received it, or any part of it, contains a notice stating that it is
322
+ governed by this License along with a term that is a further restriction,
323
+ you may remove that term. If a license document contains a further
324
+ restriction but permits relicensing or conveying under this License, you
325
+ may add to a covered work material governed by the terms of that license
326
+ document, provided that the further restriction does not survive such
327
+ relicensing or conveying.
328
+
329
+ If you add terms to a covered work in accord with this section, you must
330
+ place, in the relevant source files, a statement of the additional terms
331
+ that apply to those files, or a notice indicating where to find the
332
+ applicable terms.
333
+
334
+ Additional terms, permissive or non-permissive, may be stated in the form
335
+ of a separately written license, or stated as exceptions; the above
336
+ requirements apply either way.
337
+
338
+ 8. Termination.
339
+
340
+ You may not propagate or modify a covered work except as expressly
341
+ provided under this License. Any attempt otherwise to propagate or modify
342
+ it is void, and will automatically terminate your rights under this
343
+ License (including any patent licenses granted under the third paragraph
344
+ of section 11).
345
+
346
+ However, if you cease all violation of this License, then your license
347
+ from a particular copyright holder is reinstated (a) provisionally, unless
348
+ and until the copyright holder explicitly and finally terminates your
349
+ license, and (b) permanently, if the copyright holder fails to notify you
350
+ of the violation by some reasonable means prior to 60 days after the
351
+ cessation.
352
+
353
+ Moreover, your license from a particular copyright holder is reinstated
354
+ permanently if the copyright holder notifies you of the violation by some
355
+ reasonable means, this is the first time you have received notice of
356
+ violation of this License (for any work) from that copyright holder, and
357
+ you cure the violation prior to 30 days after your receipt of the notice.
358
+
359
+ Termination of your rights under this section does not terminate the
360
+ licenses of parties who have received copies or rights from you under this
361
+ License. If your rights have been terminated and not permanently
362
+ reinstated, you do not qualify to receive new licenses for the same
363
+ material under section 10.
364
+
365
+ 9. Acceptance Not Required for Having Copies.
366
+
367
+ You are not required to accept this License in order to receive or run a
368
+ copy of the Program. Ancillary propagation of a covered work occurring
369
+ solely as a consequence of using peer-to-peer transmission to receive a
370
+ copy likewise does not require acceptance. However, nothing other than
371
+ this License grants you permission to propagate or modify any covered
372
+ work. These actions infringe copyright if you do not accept this License.
373
+ Therefore, by modifying or propagating a covered work, you indicate your
374
+ acceptance of this License to do so.
375
+
376
+ 10. Automatic Licensing of Downstream Recipients.
377
+
378
+ Each time you convey a covered work, the recipient automatically receives
379
+ a license from the original licensors, to run, modify and propagate that
380
+ work, subject to this License. You are not responsible for enforcing
381
+ compliance by third parties with this License.
382
+
383
+ An "entity transaction" is a transaction transferring control of an
384
+ organization, or substantially all assets of one, or subdividing an
385
+ organization, or merging organizations. If propagation of a covered work
386
+ results from an entity transaction, each party to that transaction who
387
+ receives a copy of the work also receives whatever licenses to the work
388
+ the party's predecessor in interest had or could give under the previous
389
+ paragraph, plus a right to possession of the Corresponding Source of the
390
+ work from the predecessor in interest, if the predecessor has it or can
391
+ get it with reasonable efforts.
392
+
393
+ You may not impose any further restrictions on the exercise of the rights
394
+ granted or affirmed under this License. For example, you may not impose a
395
+ license fee, royalty, or other charge for exercise of rights granted under
396
+ this License, and you may not initiate litigation (including a cross-claim
397
+ or counterclaim in a lawsuit) alleging that any patent claim is infringed
398
+ by making, using, selling, offering for sale, or importing the Program or
399
+ any portion of it.
400
+
401
+ 11. Patents.
402
+
403
+ A "contributor" is a copyright holder who authorizes use under this
404
+ License of the Program or a work on which the Program is based. The work
405
+ thus licensed is called the contributor's "contributor version".
406
+
407
+ A contributor's "essential patent claims" are all patent claims owned or
408
+ controlled by the contributor, whether already acquired or hereafter
409
+ acquired, that would be infringed by some manner, permitted by this
410
+ License, of making, using, or selling its contributor version, but do not
411
+ include claims that would be infringed only as a consequence of further
412
+ modification of the contributor version. For purposes of this definition,
413
+ "control" includes the right to grant patent sublicenses in a manner
414
+ consistent with the requirements of this License.
415
+
416
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
417
+ patent license under the contributor's essential patent claims, to make,
418
+ use, sell, offer for sale, import and otherwise run, modify and propagate
419
+ the contents of its contributor version.
420
+
421
+ In the following three paragraphs, a "patent license" is any express
422
+ agreement or commitment, however denominated, not to enforce a patent
423
+ (such as an express permission to practice a patent or covenant not to sue
424
+ for patent infringement). To "grant" such a patent license to a party
425
+ means to make such an agreement or commitment not to enforce a patent
426
+ against the party.
427
+
428
+ If you convey a covered work, knowingly relying on a patent license, and
429
+ the Corresponding Source of the work is not available for anyone to copy,
430
+ free of charge and under the terms of this License, through a publicly
431
+ available network server or other readily accessible means, then you must
432
+ either (1) cause the Corresponding Source to be so available, or (2)
433
+ arrange to deprive yourself of the benefit of the patent license for this
434
+ particular work, or (3) arrange, in a manner consistent with the
435
+ requirements of this License, to extend the patent license to downstream
436
+ recipients. "Knowingly relying" means you have actual knowledge that, but
437
+ for the patent license, your conveying the covered work in a country, or
438
+ your recipient's use of the covered work in a country, would infringe one
439
+ or more identifiable patents in that country that you have reason to
440
+ believe are valid.
441
+
442
+ If, pursuant to or in connection with a single transaction or arrangement,
443
+ you convey, or propagate by procuring conveyance of, a covered work, and
444
+ grant a patent license to some of the parties receiving the covered work
445
+ authorizing them to use, propagate, modify or convey a specific copy of
446
+ the covered work, then the patent license you grant is automatically
447
+ extended to all recipients of the covered work and works based on it.
448
+
449
+ A patent license is "discriminatory" if it does not include within the
450
+ scope of its coverage, prohibits the exercise of, or is conditioned on the
451
+ non-exercise of one or more of the rights that are specifically granted
452
+ under this License. You may not convey a covered work if you are a party
453
+ to an arrangement with a third party that is in the business of
454
+ distributing software, under which you make payment to the third party
455
+ based on the extent of your activity of conveying the work, and under
456
+ which the third party grants, to any of the parties who would receive the
457
+ covered work from you, a discriminatory patent license (a) in connection
458
+ with copies of the covered work conveyed by you (or copies made from
459
+ those copies), or (b) primarily for and in connection with specific
460
+ products or compilations that contain the covered work, unless you entered
461
+ into that arrangement, or that patent license was granted, prior to 28
462
+ March 2007.
463
+
464
+ Nothing in this License shall be construed as excluding or limiting any
465
+ implied license or other defenses to infringement that may otherwise be
466
+ available to you under applicable patent law.
467
+
468
+ 12. No Surrender of Others' Freedom.
469
+
470
+ If conditions are imposed on you (whether by court order, agreement or
471
+ otherwise) that contradict the conditions of this License, they do not
472
+ excuse you from the conditions of this License. If you cannot use,
473
+ propagate or convey a covered work so as to satisfy simultaneously your
474
+ obligations under this License and any other pertinent obligations, then
475
+ as a consequence you may not use, propagate or convey it at all. For
476
+ example, if you agree to terms that obligate you to collect a royalty for
477
+ further conveying from those to whom you convey the Program, the only way
478
+ you could satisfy both those terms and this License would be to refrain
479
+ entirely from conveying the Program.
480
+
481
+ 13. Offering the Program as a Service.
482
+
483
+ If you make the functionality of the Program or a modified version
484
+ available to third parties as a service, you must make the Service Source
485
+ Code available via network download to everyone at no charge, under the
486
+ terms of this License. Making the functionality of the Program or modified
487
+ version available to third parties as a service includes, without
488
+ limitation, enabling third parties to interact with the functionality of
489
+ the Program or modified version remotely through a computer network,
490
+ offering a service the value of which entirely or primarily derives from
491
+ the value of the Program or modified version, or offering a service that
492
+ accomplishes for users the primary purpose of the Program or modified
493
+ version.
494
+
495
+ "Service Source Code" means the Corresponding Source for the Program or
496
+ the modified version, and the Corresponding Source for all programs that
497
+ you use to make the Program or modified version available as a service,
498
+ including, without limitation, management software, user interfaces,
499
+ application program interfaces, automation software, monitoring software,
500
+ backup software, storage software and hosting software, all such that a
501
+ user could run an instance of the service using the Service Source Code
502
+ you make available.
503
+
504
+ 14. Revised Versions of this License.
505
+
506
+ MongoDB, Inc. may publish revised and/or new versions of the Server Side
507
+ Public License from time to time. Such new versions will be similar in
508
+ spirit to the present version, but may differ in detail to address new
509
+ problems or concerns.
510
+
511
+ Each version is given a distinguishing version number. If the Program
512
+ specifies that a certain numbered version of the Server Side Public
513
+ License "or any later version" applies to it, you have the option of
514
+ following the terms and conditions either of that numbered version or of
515
+ any later version published by MongoDB, Inc. If the Program does not
516
+ specify a version number of the Server Side Public License, you may choose
517
+ any version ever published by MongoDB, Inc.
518
+
519
+ If the Program specifies that a proxy can decide which future versions of
520
+ the Server Side Public License can be used, that proxy's public statement
521
+ of acceptance of a version permanently authorizes you to choose that
522
+ version for the Program.
523
+
524
+ Later license versions may give you additional or different permissions.
525
+ However, no additional obligations are imposed on any author or copyright
526
+ holder as a result of your choosing to follow a later version.
527
+
528
+ 15. Disclaimer of Warranty.
529
+
530
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
531
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
532
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
533
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
534
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
535
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
536
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
537
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
538
+
539
+ 16. Limitation of Liability.
540
+
541
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
542
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
543
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING
544
+ ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF
545
+ THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS
546
+ OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
547
+ THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
548
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
549
+ POSSIBILITY OF SUCH DAMAGES.
550
+
551
+ 17. Interpretation of Sections 15 and 16.
552
+
553
+ If the disclaimer of warranty and limitation of liability provided above
554
+ cannot be given local legal effect according to their terms, reviewing
555
+ courts shall apply local law that most closely approximates an absolute
556
+ waiver of all civil liability in connection with the Program, unless a
557
+ warranty or assumption of liability accompanies a copy of the Program in
558
+ return for a fee.
559
+
560
+ END OF TERMS AND CONDITIONS
package/README.md CHANGED
@@ -57,10 +57,10 @@ Fine-tuned MiniLM classifier with sentence-level analysis:
57
57
 
58
58
  | Benchmark | F1 | Samples |
59
59
  |-----------|-----|---------|
60
- | Qualifire (in-distribution) | 0.87 | ~1.5k |
61
- | xxz224 (out-of-distribution) | 0.88 | ~22.5k |
62
-
63
- See [classifier-eval](https://github.com/StackOneHQ/stackone-redteaming/tree/main/guard/classifier-eval) for full evaluation details and alternative models.
60
+ | Qualifire (in-distribution) | 0.8686 | ~1.5k |
61
+ | xxz224 (out-of-distribution) | 0.8834 | ~22.5k |
62
+ | jayavibhav (adversarial) | 0.9717 | ~1k |
63
+ | **Average** | **0.9079** | ~25k |
64
64
 
65
65
  ### Understanding `allowed` vs `riskLevel`
66
66