
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@comparaonline/cico-quote
Advanced tools

This library contains car insurance quote form split in three (3) steps.
You can install it using:
npm
npm install @comparaonline/cico-quote
yarn
yarn add @comparaonline/cico-quote
or the package manager of your choice
Simple example, providing a token
and refreshToken
to persist session and fully enable functionality:
import { useEffect, useRef } from 'react';
import CICOQuote from '@comparaonline/cico-quote/react';
import '@comparaonline/cico-quote/css';
import './App.css';
const ENVIRONMENT = 'set-your-environment';
export function App() {
const containerRef = useRef(null);
const environment = ENVIRONMENT === 'staging' ? 'staging' : 'production';
const baseUrl =
environment === 'staging'
? 'https://cotizador-staging.comparaonline.com'
: 'https://cotizador.comparaonline.com';
useEffect(() => {
(async () => {
const res = await fetch(baseUrl + '/octopus-prime/auth/login', {
method: 'POST',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
username: 'not-a-valid-user',
password: 'not-a-valid-password',
}),
});
const data = await res.json();
const brick = new CICOQuote({
...data,
stepsDisplay: true,
styles: { primaryColor: 'orange', mode: 'light' },
environment: environment,
});
if (containerRef.current) brick.init(containerRef.current);
})();
}, []);
return <div className="App" id="App" ref={containerRef}></div>;
}
CICOQuote instance accepts a configuration
object that has this structure:
export interface CICOQuoteConfiguration {
stepsDisplay?: boolean;
theme?: {
container?: HTMLElement;
darkContainer?: HTMLElement;
mode?: 'dark' | 'light';
primaryColor?: string;
};
lang?: 'es' | 'pt';
token: string;
environment?: 'staging' | 'production';
refreshToken?: string;
}
Prop | Description |
---|---|
stepsDisplay | Allows you to define the form display, it can be 3 steps form or single form. |
theme | See theme config details |
lang | Let you pick between spanish (es) and portuguese (pt). |
environment | Let you pick between developing enviroments overwriting react env variable |
can be staging for testing purposes and the default is production . |
Prop | Description |
---|---|
container | By default all css variables and the id this component needs are loaded to a div element within this component, that act like the parent element for the rest of elements. You can pass any html element to load this properties ex: document.documentElement. |
darkContainer | By default the dark class and the color scheme this component needs to work with the dark mode are loaded to a div element within this component. Important this element must be a child of the container, preferably a direct child |
mode | Let you pick between dark or light mode. The default value is light |
primaryColor | Let you override the primary color value. Warning: This changes the css variable value, Since this package utilize TailwindCSS also change the value of the primary color. Possible affected class: primary-100, primary-200. |
FAQs

The npm package @comparaonline/cico-quote receives a total of 4 weekly downloads. As such, @comparaonline/cico-quote popularity was classified as not popular.
We found that @comparaonline/cico-quote demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.