Loading npm security reports…
Loading npm security reports…
papilot@0.11.0: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
22 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 18, 2026, 13:23 UTC · by lpm-firewall-ai The inspected entry points show no install-time collection or unauthorized credential transfer. The flagged shell and persistence behavior is reachable through documented commands, and the reviewed credential adapters route keys to their intended services.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
The CLI starts the workspace when invoked; background persistence requires the explicit `service install` command.
Impact
No malicious or unauthorized impact was identified in the reviewed paths.
Mechanism
Agent credentials are used with the corresponding agent service. The reviewed GLM adapter directs each GLM key to its matching endpoint.
Decision evidencepublic snapshot Evidence for AI clean decision
The manifest defines normal start and build commands; it has no preinstall, install, or postinstall script. The macOS LaunchAgent is written only in the explicit `service install` branch. GLM keys are paired with their corresponding Zhipu or Z.ai Anthropic-compatible endpoint; the source says Papilot does not read or store the Anthropic credential. Evidence against
The CLI and agent adapters can launch processes, install agent dependencies on first use, and run coding-agent tasks; those actions serve Papilot’s documented function. The package can install a persistent macOS service, but only when the user invokes `papilot service install`. Static scanner alerts include bidi characters in the bundled PDF viewer and high-entropy assets; the inspected source did not connect them to concealed behavior. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 212 files · 11.2 MB of source
50 external domains referenced
127.0.0.1 agentclientprotocol.com api.anthropic.com api.crossref.org api.github.com api.openai.com api.z.ai arxiv.org blueoakcouncil.org cgit.ghostscript.com chatgpt.com creativecommons.org ctan.org daringfireball.net dblp.org doi.org example.com export.arxiv.org foo.bar fsf.org generativelanguage.googleapis.com git-scm.com github.com info.arxiv.org js.foundation kael.me mathiasbynens.be mozilla.org nfriedly.com nodejs.org ns.adobe.com open.bigmodel.cn overleaf.com papilot.ai phitex.org pi.dev qoder.com raw.githubusercontent.com react.dev registry.npmjs.org scripts.sil.org sindresorhus.com tug.org www.apache.org www.apple.com www.cloudflare.com www.ctan.org www.gnu.org www.gust.org.pl www.ietf.org Findings1 critical · 9 high · 7 medium · 5 low Source & flagged code15 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Child processCleared
Package source references child process execution.
bin/papilot.mjs View on unpkg · L2 Code excerpt · 3 lines 2 // The papilot command: starts the workspace, or adds the example paper first.
3 import { spawn, spawnSync } from 'node:child_process' ;
4 import { existsSync, readdirSync, readFileSync } from 'node:fs' ;
High Entrypoint build divergenceCleared
Manifest entrypoint contains risky behavior absent from dist/build output.
bin/papilot.mjs View on unpkg · L2 Code excerpt · 11 lines Manifest entrypoint (manifest.bin) carries capability families absent from dist/build output: environment+network, execution+network
2 // The papilot command: starts the workspace, or adds the example paper first.
3 import { spawn, spawnSync } from 'node:child_process' ;
4 import { existsSync, readdirSync, readFileSync } from 'node:fs' ;
⋯
13
14 papilot Start Papilot at http://127.0.0.1:7274
15 papilot doctor Check the environment; use doctor --help for options
⋯
23
24 let pkg = JSON.parse (readFileSync (new URL ('../package.json' , import .meta.url), 'utf8' ));
25 const packageRoot = fileURLToPath ( ( , .meta.url));
bin/agent-paths.mjs#virtual:normalized:round1 View file High ShellCleared
Package source references shell execution.
bin/agent-paths.mjs#virtual:normalized:round1 View on unpkg · L86 Code excerpt · 3 lines 86 // A system program, found without PATH: Papilot tools can run with a minimal
87 // environment that does not include System32, and cmd.exe starts .cmd shims.
88 function systemExecutable(name) {
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
bin/doctor.mjs View on unpkg · L70 Code excerpt · 3 lines 70 function installedModule (name, directory = root) {
71 const require = createRequire (path.join (directory, 'package.json' ));
72 try { return require.resolve (name); } catch {}
Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
src/server/app.ts View on unpkg · L187 Code excerpt · 8 lines 187 if (!options.updates || !/^\/(api|review)\//.test(request.url) || /^\/api\/(?:updates(?:\/|$)|health(?:\?|$)|events(?:\?|$)|state(?:\?|$))/.test(request.url)) return;
188 if (options.updates.restarting) return reply.code (503 ).header ('Retry-After' , '3' ).send ({ error: 'Papilot is restarting after an update. Please wait a moment.' });
189 const release = options.updates.enter (); updateRequests.set (request, release); reply.raw.once ('close' , release);
⋯
322 // get an empty 304 instead of every task again to download and parse.
High Trigger reachable persistenceCleared
A manifest entrypoint or package-local install chain reaches persistence behavior.
scripts/service.ts View on unpkg · L3 Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
scripts/service.ts View on unpkg · L3 Shared code excerpt · 2 findings · 12 lines Trigger-reachable persistence chain: manifest.bin -> bin/papilot.mjs -> scripts/service.ts
3 import os from 'node:os' ;
4 import { execFileSync } from 'node:child_process' ;
5 import { ROOT, DATA } from '../src/server/paths.ts' ;
⋯
7
8 if (process.platform !== 'darwin' ) ( );
High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
src/server/update-install.ts View on unpkg · L2 Code excerpt · 7 lines 2 import path from 'node:path' ;
3 import net from 'node:net' ;
4 import { execFile, spawn } from 'node:child_process' ;
5 import { createHash } from 'node:crypto' ;
⋯
13 export const DEV_REPOSITORY = 'https://github.com/PapilotAI/papilot.git' ;
14 const git = async (args: string[], cwd: string) => ( (execFile)( , args, { cwd, timeout: , maxBuffer: * , env: { ...process.env, GIT_TERMINAL_PROMP...
High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
src/server/agents.ts View on unpkg · L1 Code excerpt · 9 lines 1 import { randomUUID } from 'node:crypto' ;
2 import { execFile, type ChildProcess } from 'node:child_process' ;
3 import { createInterface } from 'node:readline' ;
⋯
64 protected account (): unknown { return { account: null , requiresOpenaiAuth: false }; }
65 protected models (): unknown { return { data: [] }; }
66 protected limits (): unknown { throw ( ); }
Critical Trojan source unicodeCleared
Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
dist/assets/pdf-view-BPz_XTrT.js View on unpkg · L56 Code excerpt · 2 lines 56 contains invisible/control Unicode U+2068 (first strong isolate)
`);[this._pageContents[r],this._pageDiffs[r],this._hasDiacritics[r]]=Qu(i.join(` `))}catch(e){if(n!==this._pdfDocument){a();return}console.error(` Unable to get text content for page ${r+1 }`,e),[this._pageContents[r],this._pageDiffs[r],this._
Medium Ships WASM moduleCleared
Package ships WebAssembly modules.
engine/src/render/synctex.wasm View on unpkg Scanner record · 4 lines path = engine/src/render/synctex.wasm
kind = wasm_module
sizeBytes = 476263
magicHex = [redacted]
examples/papilot-paper/preview/main.synctex.gz View file Medium Ships compressed blobCleared
Package ships compressed or archive-like blobs.
examples/papilot-paper/preview/main.synctex.gz View on unpkg Scanner record · 4 lines path = examples/papilot-paper/preview/main.synctex.gz
kind = compressed_blob
sizeBytes = 257193
magicHex = [redacted]
dist/assets/Adobe-GB1-UCS2-BA083yIo.bcmap View file High Ships high entropy blobCleared
Package ships high-entropy non-source blobs.
dist/assets/Adobe-GB1-UCS2-BA083yIo.bcmap View on unpkg Scanner record · 4 lines path = dist/assets/Adobe-GB1-UCS2-BA083yIo.bcmap
kind = high_entropy_blob
sizeBytes = 33974
magicHex = [redacted]
Package metadata 7 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
new
URL
'..'
import
26 const installedPackage = () => JSON.parse (readFileSync (path.join (activeInstallation (packageRoot, process.env.PAPI
323 const tag = `"${createHash('sha1').update(body).digest('base64url')}"` ;
324 reply.header ('ETag' , tag);
514 const value = await workspace.reviewWrite (current.id, true , async () => {
515 const response = await fetch (client.url + route, { method
throw
new
Error
'This service installer is for macOS. On other systems run npm start with your process manager.'
9 const label = 'local.papilot' ;
10 const domain = `gui/${process.getuid!()}` ;
11 const file = path.join (os.homedir (), 'Library/LaunchAgents' , label + '.plist' );
12 if (process.argv[2 ] === 'stop' ) {
13 execFileSync ('launchctl' , ['bootout' , `${domain}/${label}` ], { stdio: 'inherit' });
14 } else if (process.argv[2 ] === 'install' ) {
await
promisify
'git'
120000
1024
1024
15 export const loaderFor = (root: string) => createRequire (path.join (root, 'package.json' )).resolve ('tsx/esm' );
new
Error
'This agent does not report usage.'
131 const CLAUDE_KEY = 'Claude needs an Anthropic API key: Anthropic does not allow a Claude subscription login through the Claude Agent SDK. Start Papilot with ANTHROPIC_API_KEY set t...
132 export function claudeConfigured (env: NodeJS.ProcessEnv = process.env) {
133 return Boolean (env.ANTHROPIC_API_KEY || env.ANTHROPIC_AUTH_TOKEN || env.CLAUDE_CODE_USE_BEDROCK || env.CLAUD
High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
src/server/agents.ts View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_trace_path_limit_exceeded; limitedFiles = 1
High Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
src/server/agents.ts View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = papilot@0.10.3
matchedIdentity = npm:cGFwaWxvdA:0.10.3
similarity = 0.425
summary = stored previous version shares package body but lacks this dangerous source file