
Research
/Security News
npm Package Uses Prompt Injection and Token Flooding to Disrupt AI Malware Scanners
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.
@tricoteuses/annuaire
Advanced tools
Library, web API & site to browse "Service-public.fr - Annuaire de l'administration" open data from French Direction de l'information légale et administrative (Dila)
Tricoteuses Annuaire is free and open source software.
"Service-public.fr - Référentiel de l'organisation administrative de l'État" data sources:
"Service-public.fr - Annuaire de l'administration - Base de données locales" data sources:
Using Debian GNU/Linux, install PostgreSQL, then:
sudo su - postgres
createuser annuaire -P # and enter the password
createdb -O annuaire annuaire
psql annuaire
CREATE EXTENSION IF NOT EXISTS pg_trgm;
\q
exit
npm install
Create a .env file to set configuration variables (you can use example.env as a template). Then:
npm run configure
mkdir -p ../dila-data/annuaire/organisation_administrative_etat
cd ../dila-data/annuaire/organisation_administrative_etat
git init
git branch -m main
cd -
mkdir -p ../dila-data/annuaire/donnees_locales
cd ../dila-data/annuaire/donnees_locales
git init
git branch -m main
cd -
# Download annuaire & clean it up.
npx tsx src/scripts/download_organisation_administrative_etat.ts --push
npx tsx src/scripts/clean_organisation_administrative_etat_json.ts --push
npx tsx src/scripts/download_donnees_locales.ts --push
npx tsx src/scripts/clean_donnees_locales_json.ts --push
npx tsx src/scripts/import_annuaire.ts
In development mode:
npm run dev
In production mode:
npm run build
npm run preview
npx tsx src/scripts/generate_annuaire_json_schemas.ts
# Prettify generated JSON file.
npm run format
FAQs
Library, web API & site to browse "Service-public.fr - Annuaire de l'administration" open data from French Direction de l'information légale et administrative (Dila)
We found that @tricoteuses/annuaire demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.

Product
Socket now detects supply chain risks in project manifests, starting with missing lockfiles that can make dependency installs non-reproducible.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.