1.1.1 • Published 5 months ago

cowac_web v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

COWAC WEB

Cowac's logo

Description

COWAC (Climbing Over WebAssembly Arithmetic Capabilities) is a JavaScript library, powered by Wail and inspired by Cojac, that instrument WebAssembly modules in order to add a numerical sniffer. This sniffer is able to track and signal arithmetic anomalies.

Currently, COWAC is able to detect the following anomalies:

  • Overflow of integers addition and subtraction
  • Overflow of floating point numbers addition and subtraction

Disponibility

Cowac is available as a npm package, and can be install with the following command:

npm i cowac_web

The tools is also available from the JSDeliver CDN:

<script src=" https://cdn.jsdelivr.net/npm/cowac_web@1.0.40/index.min.js "></script>

Use

To use the library, no need to install it ! The script can be used via the plugin Tampermonkey.

First, install the plugin. Then, you can use the userscript available in the project's userscript folder or directly from the npm repositorry. Just add the script to Tampermonkey. The script is configured to target every website. If you want to target only specific websites, you can modify the @match directive script header. You can as well change the Cowac version by modifying the import URL. Don't forget to activate the script.

// ==UserScript==
// @name         Cowac Web
// @namespace    Cowac
// @version      2025-01-26
// @description  Instrument WebAssembly (add a numerical sniffer, find and signal overflow in running time)
// @author       Dimitri Julmy
// @match        ==> CHANGE HERE <==
// @grant        none
// @run-at       document-start
// ==/UserScript==

...
var module
try {
    // ==> CHANGE HERE <==
    module = await import('https://cdn.jsdelivr.net/npm/cowac_web@x.x.x/index.js')
} catch (error) {
    console.error("Failed to load Cowac Web module:", error)
    return
}
1.1.1

5 months ago

1.1.0

5 months ago

1.0.40

5 months ago

1.0.19

5 months ago

1.0.2

5 months ago

1.0.18

5 months ago

1.0.39

5 months ago

1.0.17

5 months ago

1.0.38

5 months ago

1.0.16

5 months ago

1.0.9

5 months ago

1.0.8

5 months ago

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.22

5 months ago

1.0.21

5 months ago

1.0.20

5 months ago

1.0.26

5 months ago

1.0.25

5 months ago

1.0.24

5 months ago

1.0.23

5 months ago

1.0.29

5 months ago

1.0.28

5 months ago

1.0.27

5 months ago

1.0.33

5 months ago

1.0.11

5 months ago

1.0.32

5 months ago

1.0.10

5 months ago

1.0.31

5 months ago

1.0.30

5 months ago

1.0.37

5 months ago

1.0.15

5 months ago

1.0.36

5 months ago

1.0.14

5 months ago

1.0.13

5 months ago

1.0.34

5 months ago

1.0.12

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago