
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.
node-annonfiles
Advanced tools
(NOT_CLEAN_YET) Annonfiles unofficial API for uploading and downloading files.
Install the package globally for use it anywhere easier
npm install -g node-annonfiles
const { upload, getInfo, download } = require("node-annonfiles");
(async () => {
try {
// If you have not keyAcess let it empty
const uploadFile = await upload("./file.txt", { token: "PUT_KEYACCESS" });
console.log(uploadFile); // you will get same result on the top
// functions download,getInfo = (id: string) => result json
} catch (e) {
console.log(e);
}
})();
node-annonfiles --upload file.txt
with keyaccess original of Annonfiles website
node-annonfiles --upload file.txt@{keyaccess}
Output
Wait for uploading file.txt
{
"status": true,
"data": {
"file": {
"url": {
"full": "https://anonfiles.com/D9KbB411u2/file_txt",
"short": "https://anonfiles.com/D9KbB411u2"
},
"metadata": {
"id": "D9KbB411u2",
"name": "file.txt",
"size": {
"bytes": 5,
"readable": "5 B"
}
}
}
}
}
You should use ID of the file you already uploaded it, I used D9KbB411u2 just for an example.
node-annonfiles --download D9KbB411u2
Output
Fetching direct link...
https://cdn-140.anonfiles.com/D9KbB411u2/d0db8fb0-1623874914/file.txt
Use ID for get the info of files.
node-annonfiles --get D9KbB411u2
Output
Fetching File Metadata...
{
"url": {
"short": "https://anonfiles.com/D9KbB411u2",
"full": "https://anonfiles.com/D9KbB411u2/file_txt"
},
"metadata": {
"size": { "bytes": 5, "readable": "5 B" },
"name": "file_txt",
"id": "D9KbB411u2"
}
}
Copyright (c) 2021 CA1R71 Licensed under the Apcahe 2.0 license.
FAQs
Annonfiles is an unofficial API for uploading files also downloading.
The npm package node-annonfiles receives a total of 5 weekly downloads. As such, node-annonfiles popularity was classified as not popular.
We found that node-annonfiles demonstrated a not healthy version release cadence and project activity because the last version was released 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.

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.