
Security News
arXiv Is Rate Limiting Authors Following a Flood of AI Slop Submissions
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.
fair-tools
Advanced tools
Tools for the FAIR protocol. Create keys, create and manage DIDs, and build signed metadata for WordPress plugins.
npm install fair-tools
Creates a new FAIR DID and publishes it.
npm run create-did -- --directory ./dids
This generates rotation and verification keypairs, creates a DID, publishes it to plc.directory, and writes the keys to <directory>/<did>.json with secure permissions (0600).
[!WARNING]
Back up this file immediately!
This file contains the private keys needed to manage your DID.
If you lose this file, you will lose control of your DID permanently.
Builds signed FAIR metadata for a WordPress plugin release.
# Local usage with key file
npm run build-metadata -- \
--did did:plc:xxx \
--signing-file ./dids/did:plc:xxx.json \
--plugin-file ./my-plugin/my-plugin.php \
--zip-file ./my-plugin.zip \
--url https://example.com/releases/my-plugin-1.0.0.zip \
--metadata-file ./metadata.json \
--output-file ./metadata.json
# CI usage with environment variable (set FAIR_PRIVATE_KEY)
npm run build-metadata -- \
--did did:plc:xxx \
--plugin-file ./my-plugin/my-plugin.php \
--zip-file ./my-plugin.zip \
--url https://example.com/releases/my-plugin-1.0.0.zip \
--metadata-file ./metadata.json \
--output-file ./metadata.json
Use --signing-key to specify which verification key to use from the key file (defaults to first key). If --signing-file is not provided, the FAIR_PRIVATE_KEY environment variable is used.
Updates an existing DID to add your FAIR service URL.
npm run update-did -- \
--did did:plc:xxx \
--signing-file ./dids/did:plc:xxx.json \
--url https://example.com/did:plc:xxx/metadata.json
Use --signing-key to specify which rotation key to use from the key file (defaults to first key). If --signing-file is not provided, the FAIR_ROTATION_KEY environment variable is used.
Over time you may need to manage the keys for your DID.
Generates a new verification key, adds it to an existing DID, and saves it to the key file.
npm run add-verification-key -- \
--did did:plc:xxx \
--signing-file ./dids/did:plc:xxx.json
Use --signing-key to specify which rotation key to use from the key file (defaults to first key). If --signing-file is not provided, the FAIR_ROTATION_KEY environment variable is used.
Use --output-file to save the new key to a different file instead of the signing file.
Generates a new rotation key, adds it to an existing DID, and saves it to the key file.
npm run add-rotation-key -- \
--did did:plc:xxx \
--signing-file ./dids/did:plc:xxx.json
Use --signing-key to specify which rotation key to use from the key file (defaults to first key). If --signing-file is not provided, the FAIR_ROTATION_KEY environment variable is used.
Use --output-file to save the new key to a different file instead of the signing file.
Revokes a verification key from an existing DID.
npm run revoke-verification-key -- \
--did did:plc:xxx \
--revoke did:key:z6Mk... \
--signing-file ./dids/did:plc:xxx.json
Use --signing-key to specify which rotation key to use for signing. Use --cleanup to delete the revoked key from the key file after success.
Revokes a rotation key from an existing DID. You cannot revoke the key used to sign the operation, and at least one rotation key must remain.
npm run revoke-rotation-key -- \
--did did:plc:xxx \
--revoke did:key:zQ3sh... \
--signing-file ./dids/did:plc:xxx.json
Use --signing-key to specify which rotation key to use for signing (defaults to first available that isn't being revoked). Use --cleanup to delete the revoked key from the key file after success.
MIT
FAQs
Tools for the FAIR protocol
The npm package fair-tools receives a total of 4 weekly downloads. As such, fair-tools popularity was classified as not popular.
We found that fair-tools 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.

Security News
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.

Research
/Security News
A new GhostAction wave hits hundreds of GitHub repos, expanding CI/CD secret theft to cloud and AI credentials in source code and git history.

Research
/Security News
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.