@flydocs/cli@1.3.24
FlyDocs AI CLI — install, setup, and manage FlyDocs projects
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThis is first-party agent-extension setup performed by an explicit CLI command, with a consent prompt when a foreign agent layout already exists, so it is a guarded capability rather than an install-time hijack. The installed hook can still auto-allow FlyDocs workflow scripts in later Claude sessions.
Decision evidence
public snapshot- package.json exposes the flydocs bin and only build, test, and typecheck scripts, with no preinstall, install, or postinstall hook.
- ensureDirectories, used by init and update, creates .claude and .cursor project directories.
- runLocalInit copies template/.claude/hooks into the target project unless that path is skipped.
- The packaged Claude settings allow mcp__flydocs__* and Bash(flydocs run:*) and register a PreToolUse hook that runs auto-approve.py.
- auto-approve.py returns permissionDecision allow for Bash commands that match FlyDocs workflow scripts.
- When an existing .claude, .cursor, or AGENTS.md setup is found, init warns and asks before adoption replaces hooks.
- template/.claude/hooks/repo_context.py only resolves local workspace and repo paths for those hooks.
- Agent files are written only after an explicit flydocs init or update, and hook paths can be skipped.
- The auto-approve pattern is limited to python invocations of .claude/skills/flydocs-workflow/scripts and rejects shell metacharacters.
- No lifecycle script, self-dependency, or hidden credential export was found.
Source & flagged code
12 flaggedA package entrypoint or install-reachable source explicitly loads and activates an executable-looking payload from a test, fixture, or hidden path.
dist/cli.jsView on unpkgFindings
Affected versions and remediation
This report applies to @flydocs/cli@1.3.24.
See all versions of @flydocs/cli for other recorded verdicts.
- Review the evidence and your use of @flydocs/cli@1.3.24 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.