user-ask-for-report — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited user-ask-for-report (Agent Skill) and scored it 96/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Create a single index.html report page from user-provided content, style it with Tailwind CDN (white background, subtle animations), then publish it to Originless for instant hosting.
At the start, ask whether the user wants a single-file page (index.html only) or a multi-file site (separate CSS/JS/images/assets). If they want multiple files, use skills/static-assets-hosting/SKILL.md and upload a .zip that contains index.html plus all assets.
index.html only)Before generating the final HTML, pre-upload any images or other assets you plan to include and use the returned hosted URLs in index.html. If the report content appears sensitive (PII, credentials, private business data, internal docs), explicitly ask the user whether they want password protection enabled. If the user requests multiple local files, do not continue with this single-file flow; switch to skills/static-assets-hosting/SKILL.md.
http://localhost:3232/upload (self-hosted)https://filedrop.besoeasy.com/upload (public instance)No build tooling is required for the basic flow.
Generate an index.html with Tailwind CDN and subtle animations.
Design constraints:
bg-white, dark text)Starter template (`index.html`):
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Report</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-up {
animation: fadeUp 0.45s ease-out both;
}
</style>
</head>
<body class="bg-white text-slate-900 antialiased">
<main class="max-w-4xl mx-auto px-6 py-10">
<header class="mb-8 fade-up">
<h1 class="text-3xl sm:text-4xl font-semibold tracking-tight">User Report</h1>
<p class="mt-2 text-slate-600">Generated static report page</p>
</header>
<section class="grid gap-4">
<article class="fade-up rounded-2xl border border-slate-200 bg-white p-5 shadow-sm transition hover:-translate-y-0.5 hover:shadow-md">
<h2 class="text-lg font-medium">Summary</h2>
<p class="mt-2 text-slate-700 leading-relaxed">Replace with user-requested content.</p>
</article>
</section>
</main>
</body>
</html>Upload generated index.html and return hosted URL.
If the report includes images/files, upload those assets first, collect their hosted URLs/CIDs, and reference those URLs inside index.html before uploading the page.
Prefer curl for uploads, since it handles multipart/form-data reliably out of the box. If another tool/runtime is used, it must be a full curl -F replacement: send a real multipart body, include the file part named exactly file, and preserve filename/content-type behavior.
Bash:
# Self-hosted Originless
curl -fsS -X POST -F "[email protected]" http://localhost:3232/upload
# Public Originless
curl -fsS -X POST -F "[email protected]" https://filedrop.besoeasy.com/uploadNode.js:
import fs from "node:fs";
const file = new Blob([fs.readFileSync("index.html")], { type: "text/html" });
const form = new FormData();
form.append("file", file, "index.html");
const endpoint = "https://filedrop.besoeasy.com/upload";
const res = await fetch(endpoint, { method: "POST", body: form });
if (!res.ok) throw new Error(`Upload failed: ${res.status}`);
const out = await res.json();
console.log(out.url || out.cid || out);If user requests a password, keep content encrypted in the HTML and only render when the correct password is entered.
Important: this is client-side access gating, not strong secret storage. Anyone with the file can still inspect code/assets.
Client-side unlock block (drop into `index.html`):
<div id="lock" class="max-w-md mx-auto mt-16 p-6 border rounded-2xl">
<h2 class="text-xl font-semibold">Protected Report</h2>
<p class="text-slate-600 mt-2">Enter password to unlock.</p>
<input id="pw" type="password" class="mt-4 w-full border rounded-lg px-3 py-2" placeholder="Password" />
<button id="unlock" class="mt-3 px-4 py-2 rounded-lg bg-slate-900 text-white">Unlock</button>
<p id="err" class="mt-2 text-sm text-red-600 hidden">Wrong password.</p>
</div>
<div id="app" class="hidden"></div>
<script id="enc" type="application/json">
{
"salt": "BASE64_SALT",
"iv": "BASE64_IV",
"ciphertext": "BASE64_CIPHERTEXT"
}
</script>
<script>
const enc = JSON.parse(document.getElementById("enc").textContent);
const b64ToBytes = (b64) => Uint8Array.from(atob(b64), (c) => c.charCodeAt(0));
async function deriveKey(password, saltBytes) {
const keyMaterial = await crypto.subtle.importKey("raw", new TextEncoder().encode(password), "PBKDF2", false, ["deriveKey"]);
return crypto.subtle.deriveKey(
{ name: "PBKDF2", salt: saltBytes, iterations: 100000, hash: "SHA-256" },
keyMaterial,
{ name: "AES-GCM", length: 256 },
false,
["decrypt"],
);
}
async function decryptHtml(password) {
const key = await deriveKey(password, b64ToBytes(enc.salt));
const plain = await crypto.subtle.decrypt({ name: "AES-GCM", iv: b64ToBytes(enc.iv) }, key, b64ToBytes(enc.ciphertext));
return new TextDecoder().decode(plain);
}
document.getElementById("unlock").addEventListener("click", async () => {
const pw = document.getElementById("pw").value;
const err = document.getElementById("err");
try {
const html = await decryptHtml(pw);
document.getElementById("app").innerHTML = html;
document.getElementById("app").classList.remove("hidden");
document.getElementById("lock").classList.add("hidden");
err.classList.add("hidden");
} catch {
err.classList.remove("hidden");
}
});
</script>Generate encrypted payload (Node.js helper):
import { randomBytes, pbkdf2Sync, createCipheriv } from "node:crypto";
const password = process.argv[2];
const reportHtml = "<section><h1>Secret report</h1><p>Private content</p></section>";
if (!password) throw new Error("Usage: node encrypt.js <password>");
const salt = randomBytes(16);
const iv = randomBytes(12);
const key = pbkdf2Sync(password, salt, 100000, 32, "sha256");
const cipher = createCipheriv("aes-256-gcm", key, iv);
const ciphertext = Buffer.concat([cipher.update(reportHtml, "utf8"), cipher.final()]);
const tag = cipher.getAuthTag();
const packed = Buffer.concat([ciphertext, tag]);
console.log(
JSON.stringify(
{
salt: salt.toString("base64"),
iv: iv.toString("base64"),
ciphertext: packed.toString("base64"),
},
null,
2,
),
);Note: Web Crypto AES-GCM expects ciphertext with auth tag appended. The helper above packs ciphertext || tag to match browser decryption.
You are generating a single static report website as index.html.
Requirements:
0) First ask if the deliverable must be a single `index.html` or a multi-file website.
- If multi-file: use `skills/static-assets-hosting/SKILL.md` and package `index.html` + all assets into a `.zip` for upload.
- If single-file: continue below.
1) Use Tailwind via CDN only (no build step).
2) Keep design white-background, clean typography, subtle card hover and fade-up animations.
3) Render exactly the user-requested report content in semantic sections.
4) Pre-upload any images or other assets you include, then reference their hosted URLs in the HTML.
5) If content appears sensitive/private, ask the user if they want password protection before publishing.
6) Save as index.html.
7) Prefer uploading index.html with curl `-F` multipart/form-data to Originless using:
- http://localhost:3232/upload (if local instance exists), else
- https://filedrop.besoeasy.com/upload.
8) If curl is unavailable and another tool is used, implement a full multipart/form-data equivalent of curl `-F "[email protected]"` (same field name `file`, filename, and content-type handling).
9) Return upload response with URL/CID.
10) If user asks for password protection, embed encrypted payload + browser-side unlock form; only render content after successful password decryption.
11) Clearly state that password mode is client-side gating and not equivalent to server-side access control.4xx/5xx): retry with the available Originless endpoint (localhost or filedrop)100000, SHA-256, 32-byte key)This skill uses Originless for decentralized, anonymous file hosting via IPFS.
Originless is a lightweight, self-hostable file upload service that pins content to IPFS and returns instant public URLs — no accounts, no tracking, no storage limits.
🔗 GitHub: https://github.com/besoeasy/originless
Features:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.