Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@gov.au/control-input
Advanced tools
Control inputs include radio buttons and checkboxes. They allow users to select one or more options.
Control inputs include radio buttons and checkboxes. They allow users to select one or more options.
yarn add @gov.au/control-input
npm install @gov.au/control-input --save-dev
Usage:
import { Checkbox, Radio } from './control-input.js';
<Radio label="Yes" name="has_email" value="yes" />
<Radio label="No" name="has_email" value="no" />
<Radio label="Maybe" name="has_email" value="maybe" />
<Checkbox label="Has email?" name="has_email" />
All props:
<Radio
label="The label" {/* The label of the radio button */}
name="the_name" {/* The name attribute */}
full={ false } {/* An option for the radio button theme */}
value="value" {/* The value attribute */}
disabled={ false } {/* The disabled attribute */}
checked={ false } {/* The state of the radio button */}
onChange={ () => {} } {/* A function to be executed onChange */}
/>
<Checkbox
label="The label" {/* The label of the checkbox */}
name="the_name" {/* The name attribute */}
full={ false } {/* An option for the checkbox theme */}
disabled={ false } {/* The disabled attribute */}
checked={ false } {/* The state of the checkbox */}
onChange={ () => {} } {/* A function to be executed onChange */}
/>
For more details have a look at the usage example.
control-input
└─ core
The visual test: http://uikit.apps.staging.digital.gov.au/packages/control-input/tests/site/
Copyright (c) Commonwealth of Australia. Licensed under MIT.
FAQs
Control inputs include radio buttons and checkboxes. They allow users to select one or more options.
The npm package @gov.au/control-input receives a total of 62 weekly downloads. As such, @gov.au/control-input popularity was classified as not popular.
We found that @gov.au/control-input demonstrated a not healthy version release cadence and project activity because the last version was released 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.