
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Query Brazilian doctors through the CFM (Conselho Federal de Medicina) portal API.
bun install
import crmq from "crmq";
const result = await crmq
.state("RS") // Required - Brazilian state (UF)
.crm("43327") // Optional - CRM number
.name("João") // Optional - Doctor name
.search();
console.log(result.doctors);
import { search } from "crmq";
const result = await search({
state: "RS",
crm: "43327",
});
interface Doctor {
name: string;
socialName: string | null;
crm: string;
state: string;
status: "regular" | "irregular" | "suspended" | "canceled";
registrationType: "principal" | "secondary" | "temporary";
registrationDate: DateTime; // Luxon DateTime
specialty: string | null;
rqe: string | null; // Specialty registration number
graduationInstitution: string | null;
graduationYear: number | null;
}
import { search, CRMQError } from "crmq";
try {
const result = await search({ state: "XX" });
} catch (error) {
if (error instanceof CRMQError) {
console.log(error.code); // "INVALID_STATE"
console.log(error.message); // "Invalid state: XX..."
}
}
# Search by CRM number
crmq -s RS -c 43327
# Search by name
crmq --state SP --name "João Silva"
# JSON output
crmq -s RS -c 43327 --json
# Pipe to jq
crmq -s RS -c 43327 --json | jq '.doctors[0].specialty'
| Flag | Description |
|---|---|
-s, --state <UF> | Brazilian state code (required) |
-c, --crm <number> | CRM registration number |
-n, --name <name> | Doctor's name (partial match) |
--json | Output as JSON |
-h, --help | Show help |
# Run tests
bun test
# Run CLI locally
bun bin/cli.ts -s RS -c 43327
FAQs
Query Brazilian doctors through the CFM portal API
We found that crmq 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.