@helios-lang/contract-utils
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "@helios-lang/contract-utils", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Convenience and type-safety utilities for using Helios validators from within Typescript", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
#!/usr/bin/env node | ||
import { loadLibrary } from "./lib/index.js" | ||
async function main() { | ||
console.log("hl2ts") | ||
console.log(eval(`import("@hyperionbt/helios")`)) | ||
const lib = await loadLibrary() | ||
console.log(lib.version) | ||
} | ||
main() |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
4272
10
67