penthera@2.4.0
CAUTION· install onlyPublisher claims: "Offline cyber security agent for your apps and AI coding tools. Open R&D: measured in public, improved every release." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-10 and scored it 68/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: URL to the cloud instance metadata address; URL to the cloud instance metadata address; URL to the cloud instance metadata address. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
{ url: "http://169.254.169.254/latest/meta-data/", name: "AWS metadata" },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.{ url: "http://169.254.169.254/metadata/instance?api-version=2021-02-01", name: "Azure metadata" },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."https://169.254.169.254/latest/meta-data/", // SSRFFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return "npx penthera --card";Fix: Pin versions and sources; vendor anything fetched at install time.const IGNORABLE = /[----]/g;Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.* (`pkg@https://user:pw@host/pkg.tgz?token=x`, `file:/Users/me/x.tgz`), so:Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Code points HFS+ ignores in names, so ".git" is ".git" on macOS (CVE-2014-9390).Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent./** Add `NAME=value` to .env.example (creating it) unless NAME is already listed. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// .env: lib/rules/core/templates.json.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."file:///etc/passwd", // file URLFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.info: { name: ".env.local file exposed", severity: "critical", tags: ["exposure", "config"] },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// A kill leaves no second chance: put back the fix in flight, then go.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.export const safeEnv = (env = process.env) => ({ ...env, GIT_NO_LAZY_FETCH: "1", GIT_TERMINAL_PROMPT: "0" });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./root:.*:0:0/, // /etc/passwdFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.{ path: "/.env.production", severity: "critical", desc: "Production environment secrets" },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* the repo, and through the installing Node. npx runs from /, with every npm_config_*Fix: Pin versions and sources; vendor anything fetched at install time."/.env", "/.env.local", "/.env.production",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.husky: echo "npx --no-install penthera hook run" >> .husky/pre-commitFix: Pin versions and sources; vendor anything fetched at install time.if command -v npx >/dev/null 2>&1; thenFix: Pin versions and sources; vendor anything fetched at install time.const SETTING = /^(\s*(?:export\s+)?[\w.-]+\s*[=:]\s*)\S.*$/; // .env, shell and YAMLFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (modes.size === 1 && modes.has("agents")) return "npx penthera agents --card";Fix: Pin versions and sources; vendor anything fetched at install time.if HOME="$account_home" npx --registry=https://registry.npmjs.org/ --cache="$account_home/.npm" -y ${pkg} --version >/dev/null 2>&1; thenFix: Pin versions and sources; vendor anything fetched at install time.const IGNORABLE = /[----]/g;Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls."https://raw.githubusercontent.com/RetireJS/retire.js/master/repository/jsrepository.json",Fix: Pin versions and sources; vendor anything fetched at install time.const UNSAFE_TEXT = /[\u0000-\u001f\u007f-\u009f--]/;Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.method: "GET", path: "/.env.local",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const out = run("sudo rkhunter --check --sk --rwo 2>/dev/null", { timeout: 120_000 });Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.return { file: ".env.example", before, after };Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* .env file), and likely noise and info are not problems. It never fails aFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.run("sudo rkhunter --propupd 2>/dev/null", { timeout: 60_000 });Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.* is gone (an npx cache cleaned, a version change), a global `penthera`, thenFix: Pin versions and sources; vendor anything fetched at install time."../../../etc/passwd", // path traversalFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."../../../etc/passwd", "..%2f..%2f..%2f",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* 2. File content pattern matching (/*! jQuery v3.5.1 */)Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.const before = readText(repoPath, ".env.example");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const CONTROL = /[\u0000-\u001f\u007f-\u009f--]/g;Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.HOME="$account_home" exec npx --registry=https://registry.npmjs.org/ --cache="$account_home/.npm" -y ${pkg} hook run --repo "$top"Fix: Pin versions and sources; vendor anything fetched at install time.else w(` ${c.dim("Next:")} npx penthera ui --open, then Check my app ${c.dim("to go through every problem")}`);Fix: Pin versions and sources; vendor anything fetched at install time.claude mcp add penthera -- npx -y penthera@<version> mcpFix: Pin versions and sources; vendor anything fetched at install time.lefthook: pre-commit: { commands: { penthera: { run: npx --no-install penthera hook run } } }Fix: Pin versions and sources; vendor anything fetched at install time.// terminal or a process-group kill delivered it. Keep listening and ignoreFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.// and kill the process before it stops. The caller exits as soon as thisFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if (r.chained) console.log(` ${dim("▸")} Your existing hook moved to ${rel(r.chained)} and runs first; \`penthera hook uninstall\` puts it back.`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.const p = process.env.npm_command === "exec" ? "npx penthera" : "penthera";Fix: Pin versions and sources; vendor anything fetched at install time.// arrives between the two would otherwise get the default action and killFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
No advisories in OSV for penthera@2.4.0 as of 4d ago. This is the package itself, not its dependencies.
What would make this Verified
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- URL to the cloud instance metadata address≈ +9 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Unclaimed publisher≈ +8 on the totalClaim danoszz: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Hidden zero-width characters detected≈ +4 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
- URL with embedded credentials≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Bidirectional text override characters detected≈ +4 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.