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.
@granite-elements/granite-alert
Advanced tools
A set of Bootstrap-like alert elements
Built on lit-element
The old Polymer 2.x-1.x version is available on the
polymer-hybrid
branch.
<granite-alert level="warning">Be careful, my friend...</granite-alert>
<granite-alert>Information is key</granite-alert>
Install the component using npm:
$ npm i @granite-elements/granite-alert
Once installed, import it in your application:
import '@granite-elements/granite-alert/granite-alert.js';
Fork the granite-alert
repository and clone it locally.
Make sure you have npm and the Polymer CLI installed.
When in the granite-alert
directory, run npm install
to install dependencies.
Serve the project using Polyumer CLI:
polymer serve --npm
Open the demo in the browser
Attribute | Type | Default | Description |
---|---|---|---|
level | String | "info" | The level of the alert |
Alowed values for level
: info
, warning
, danger
and success
git checkout -b my-new-feature
git commit -m 'Add some feature'
git push origin my-new-feature
FAQs
Bootstrap-like alerts
The npm package @granite-elements/granite-alert receives a total of 0 weekly downloads. As such, @granite-elements/granite-alert popularity was classified as not popular.
We found that @granite-elements/granite-alert demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.