
Security News
Risky Biz Podcast: AI Agents Are Raising the Stakes for Software Supply Chain Security
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.
@br-validators/cli
Advanced tools
Terminal CLI for Brazilian document validation — CPF, CNPJ, CEP, IE, PIX, boleto, and more
Terminal CLI for all Brazilian document validators in @br-validators/core.
npm install -g @br-validators/cli
Or run without install:
npx @br-validators/cli --help
br-validators list
br-validators --version
br-validators cnpj validate 12ABC34501DE35 --json --source
br-validators cpf validate 12345678909
br-validators cep format 01310100
br-validators placa validate ABC1D23
br-validators pis-pasep validate 10027230888
br-validators pix validate pix@bcb.gov.br
br-validators boleto validate <linha-ou-barcode>
br-validators cartao validate 4111111111111111
br-validators ie validate 110042490114 --uf SP --json
| Action | Description |
|---|---|
validate | Check format + check digits |
format | Apply official mask |
strip | Normalize to canonical digits/chars |
| Flag | Description |
|---|---|
--json | JSON output (ValidationResult) |
--quiet / -q | Exit code only (CI) |
--file / -f | Read value from file |
--source | Print official source URL |
--uf | Required for IE (27 UFs) |
br-validators cnpj validate "$CNPJ" --quiet || exit 1
MIT
FAQs
CLI for @br-validators/core — CPF, CNPJ, NF-e, IE, PIX, boleto + detect/sanitize/generate
The npm package @br-validators/cli receives a total of 1,846 weekly downloads. As such, @br-validators/cli popularity was classified as popular.
We found that @br-validators/cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.