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 { AUcheckbox, AUradio } from './control-input.js';
<AUradio label="Yes" name="has_email" value="yes" />
<AUradio label="No" name="has_email" value="no" />
<AUradio label="Maybe" name="has_email" value="maybe" />
<AUcheckbox label="Has email?" name="has_email" />
All props:
<AUradio
label="The label" {/* The label of the radio button */}
alt={ false } {/* An alternate variation of the component */}
small={ false } {/* The small variation of the component */}
dark={ false } {/* The dark variation of the component */}
/>
<AUcheckbox
label="The label" {/* The label of the checkbox */}
alt={ false } {/* An alternate variation of the component */}
small={ false } {/* The small variation of the component */}
dark={ false } {/* The dark variation of the component */}
/>
(💡 additional props are spread onto the component)
For more details have a look at the usage example.
control-input
└─ core
The visual test: https://uikit.apps.b.cld.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.
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.