FBS-BookWriter

Warn

Audited by Socket on Nov 3, 2026

6 alerts found:

Anomalyx5Security
AnomalyLOW
scripts/wecom/scene-pack-admin.mjs

This CLI manages scene-pack and commercial data through configured WeCom documents and local caches; the fragment shows no clear malware or unauthorized data exfiltration. Severity is moderate because guarded write operations accept an omitted admin token whenever FBS_SCENE_PACK_ADMIN_TOKEN is configured, allowing the intended token gate to be bypassed. Activation-code values are hashed with unsalted SHA-256, and record IDs use Math.random(); no suspicious external domain, IP, or hardcoded credential appears.

Confidence: 99%Severity: 55%
AnomalyLOW
scripts/agents/session-agent.mjs

This code implements local meeting-summary generation and shows no evidence of malware, credential theft, or network exfiltration. Its main security concern is that unvalidated task.payload.sessionType is used in a filesystem path before session-type validation, enabling path traversal and potentially arbitrary file writes relative to or beyond bookRoot. The forcedConvergence setter also recurses indefinitely if called; overall severity is a moderate filesystem security risk dependent on who controls task.payload.

Confidence: 98%Severity: 56%
AnomalyLOW
scripts/agents/deploy-agent.mjs

This module delivers and transforms chapter files, with no evidence of malware, credential theft, or network exfiltration. It has a medium security concern because unvalidated chapterId values can traverse output paths, explicit sourcePath values can read arbitrary files, and raw Markdown HTML is preserved in generated HTML. These risks depend on task and chapter content being attacker-controlled; no suspicious domains, URLs, IP addresses, or targeted credentials are present.

Confidence: 98%Severity: 56%
AnomalyLOW
scripts/releases-registry.mjs

The code implements a local release registry and contains no evident malware or data exfiltration. However, unvalidated releaseId values are used to construct paths, enabling path traversal that can read or overwrite files ending in -release.json and, with forced deletion, delete a targeted file outside the releases directory. This is a security warning requiring release ID validation and containment checks; severity is moderate and depends on whether untrusted callers can supply IDs.

Confidence: 98%Severity: 62%
SecurityMEDIUM
scripts/release-feedback-bridge.mjs

This is a local feedback-management utility with no evident network exfiltration, credential theft, or malware behavior. The apply command accepts an unvalidated feedback ID that is joined into a filesystem path, allowing path traversal and potentially arbitrary JSON-file overwrite wherever the process has write access; severity is medium to high depending on who controls the CLI arguments. User-controlled text is also written unescaped to a Markdown brief, which may be unsafe if later rendered as HTML. No suspicious domains, URLs, IPs, or environment variables are present.

Confidence: 97%Severity: 72%
AnomalyLOW
scripts/check-and-init-artifacts.mjs

This module checks required workspace artifacts and runs a local initialization script when they are missing. The interpolated bookRoot and skillRoot values reach a shell command without robust escaping, creating a command-injection risk when those values are attacker-controlled. No direct data exfiltration, credential access, or other malicious behavior is present in the shown code; review the invoked initialization script separately.

Confidence: 98%Severity: 66%
Audit Metadata
Analyzed At
Nov 3, 2026, 12:25 PM
Package URL
pkg:socket/skills-sh/bighardperson%2Fcomputer-science-skills-collection%2Ffbs-bookwriter%2F@96f899165a25b78f71338d3a54c883a31f7d8fa5922578fb8df9fb1eee7ba3fc