
Product
Socket Threat Intel Now Shows Which Malware Campaigns Were Blocked or Detected
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.
Automagic form validation and submission.
npm install form.js
Or drop it inside a <form> and let it wire itself to the surrounding fields:
<form>
<script src="https://unpkg.com/form.js" data-key="pk_live_…"></script>
<input name="email">
<button type="submit">Sign up</button>
</form>
Without a key, form.js is a thin controller around the surrounding form: it emits lifecycle events and hands control back to your page. Set a Hanzo publishable key on the script tag and it POSTs the serialized form to the Hanzo forms ingest instead:
POST https://api.hanzo.ai/v1/forms
Authorization: Bearer pk_live_…
Content-Type: application/json
{ "email": "ada@example.com", "metadata": { "name": "Ada" } }
Script-tag options (all data-*):
| attribute | purpose |
|---|---|
data-key | publishable key (pk_live_… / pk_test_…) |
data-token | @hanzo/iam access token (takes precedence over key) |
data-endpoint | override the full submission URL |
data-host | override the API host (default https://api.hanzo.ai) |
window.Inform is an event emitter — listen with Inform.on / Inform.once:
| event | Inform.Events | arguments |
|---|---|---|
init-inform-script | InitScript | the <script> element |
init-inform-form | InitForm | the <form> element |
init-inform-inputs | InitInputs | array of input/select nodes |
init-inform-submits | InitSubmits | array of submit buttons |
inform-submit | OnSubmit | unmanaged: (done, event); managed: (payload, event) |
inform-done | OnDone | the submit event, or the API response (managed) |
inform-error | OnError | submission error (managed) |
In unmanaged mode, call done() from your OnSubmit listener to let the native
form submit proceed.
FAQs
Automagic form validation and submission library.
We found that form.js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.