New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

seval

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seval

Just safe(?) eval function

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

SafeEval

Just safe(?) eval function

Install

npm install seval or yarn add seval

Usage

const seval = require('seval')
const { basic: dangerlist } = require('seval/presets')
// preset list: basic, infLoop, this, blockAll

seval('console.log("Hello, world!")', { dangerlist })

How it works (it's simple!)

  • Make a separated box
  • Insert some codes
  • Remove some danger things
  • Run the codes in the box
  • Wow, super safe

FAQs

Package last updated on 24 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts