
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@publicodes/forms
Advanced tools
This library exports utilities to create interactive forms and simulators from publicodes rules.
This library is framework-agnostic and can be used with any state management system:
// Create a form builder
const engine = new Engine(rules)
const formBuilder = new FormBuilder({ engine })
// Initialize form state
let state = FormBuilder.newState()
state = formBuilder.start(state, 'target . rule')
// Get current page UI elements
const formElements = formBuilder.currentPage(state)
// Handle user input
state = formBuilder.handleInputChange(state, 'rule . name', 'new value')
// Navigate pages
state = formBuilder.goToNextPage(state)
state = formBuilder.goToPreviousPage(state)
// Get pagination information
const { current, pageCount, hasNextPage, hasPreviousPage } =
formBuilder.pagination(state)
npm install publicodes publicodes-form
Then follow the guide to create a simple page.
FAQs
Utilities to convert publicodes rules in interactive forms
We found that @publicodes/forms demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.