Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tainting Uint8Array #215

Open
leeN opened this issue Jun 18, 2024 · 0 comments
Open

Tainting Uint8Array #215

leeN opened this issue Jun 18, 2024 · 0 comments
Labels
bug Something isn't working primitaint Tainting of primitive types (numbers, bool, etc.)

Comments

@leeN
Copy link
Collaborator

leeN commented Jun 18, 2024

When using Foxhound with data coming from WebAssembly, one data type we have to deal with is Uint8(Array). Currently, we are losing taints here, e.g., like this:

const x = new Uint8Array([Number.tainted(1), Number.tainted(2)]);
console.assert(x[0].taint, "noooooo")
// Assertion failed: ...

This was originally reported by @0drai.

@leeN leeN added the bug Something isn't working label Jun 18, 2024
@leeN leeN added the primitaint Tainting of primitive types (numbers, bool, etc.) label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working primitaint Tainting of primitive types (numbers, bool, etc.)
Projects
None yet
Development

No branches or pull requests

1 participant