Repository navigation
sync fork - #4
Open
TaxMachine wants to merge 343 commits into
Open
TaxMachine wants to merge 343 commits into
TaxMachine wants to merge 343 commits into
Conversation
fix(notify): dial notification targets directly
# Conflicts: # CHANGELOG.md
fix(traffic): keep spilled capture blobs owner-only
# Conflicts: # CHANGELOG.md
fix(db): drop userinfo from an asset URL that cannot be parsed
# Conflicts: # CHANGELOG.md
fix(hookvm): charge range iterations against the memory budget
# Conflicts: # CHANGELOG.md
fix(server): stop the chat upload name search when the path cannot be created
# Conflicts: # CHANGELOG.md # server/chatupload.go
fix(server): refuse to upload through a symlink
Tighten existing spill blob permissions on startup, charge 32 bytes per hook range pair, and open uploads with O_NOFOLLOW on Unix. Tests cover the startup walk, the 32-byte charge and the no-follow open.
…64-465 security: follow-up hardening for the upload and capture fixes
Add opt-in intercept rules (action ask, timeout -> deny) that pause the agent before it downloads from code/exploit hosts, runs git clone, installs packages, or pipes remote content into a shell, plus a third-party-code-review skill (hash, blocklist-check, read and summarize the code before running it). Nothing is seeded: the rules change no behavior until hardening/apply-intercept-rules.sh is run, and code the agent writes itself is not gated -- only the point where untrusted code enters. Regex patterns are RE2 (verified to compile); the apply script is idempotent.
- Priority 95-96 -> 70-72, below the built-in destructive denies (80/90/100), so 'pip install x && curl -X DELETE ...' still hits the DELETE deny instead of being downgraded to an approval (intercept.Match is priority-DESC). - apply-intercept-rules.sh no longer sources .env as shell (code execution / $ expansion). It reads POSTGRES_USER/DB from the postgres container's own env. - Add a 'deny' rule for reading /app/keys, /proc/<pid>/environ and the DSN, so the key/DSN prohibition is enforced, not prose. - Close named regex bypasses (pip3.12, git -c, bash -c "$(curl)", curl | tar); document the remaining open bypasses, the false positive, and the target-only limitation in the skill. - Add hardening/rulecheck: compiles the patterns from the SQL (RE2) and asserts positives, closed bypasses, and documented open cases (18 cases, 0 failures).
…check_test into go test (#417)
The panel had no way to scope it to one target. Companies exist as the ownership layer, but only the task form offered one, so a second engagement mixed into every list. Sidebar header, under the logo: a company picker that defaults to "All companies" and persists per browser. Every asset-backed view follows it — findings (all three views plus the asset tree and export), the dashboard's finding panels, the task list, the traffic list and the assets tabs. Server side the switch rides on the existing ownership column: findings and traffic take a company, and the assets list takes company_id on both the plain and the DSL path. Findings with no live asset anchor stay visible under their company, because they belong to no other one; the strict subtree filter would hide them from every view. Tests: TestFindingCompanyScopeFilter (own assets, another company, a company with none, a nonexistent id) and TestPageHostsAllowlist. Full ./db/ ./traffic/ ./server/ pass. Co-Authored-By: Claude Code <[email protected]> Claude-Session: https://claude.ai/code/session_01BWbhPDnkSEFNzBXG4wDvTj
Co-Authored-By: Claude Code <[email protected]> Claude-Session: https://claude.ai/code/session_01BWbhPDnkSEFNzBXG4wDvTj
- Findings with no live asset belong to a company only through their task's company scope; unknown or non-numeric ids match nothing. - Filter tasks by company on the server (GET /api/tasks?company=). - Scope the grouped findings view, the asset tree and the stat cards. - AND company_id outside the compiled asset DSL so OR cannot escape it. - Add the 7 company switcher keys to tr.json and zh-CN.json. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01BWbhPFZifkVU75uaD5NYj5
test(rewrite): bring coverage to 100%
test(enrich): add coverage tests (0% to 90.2%)
…rompt agent: list available skills in the system prompt
docs(readme): add External PostgreSQL section and Compose example (#475)
feat(hardening): opt-in operator approval for acquiring third-party code
The skill told the agent to append to /app/data/third-party-blocklist.txt, but under agent isolation the data directory is not writable by the executor uid. HOME points at the executor home in both modes and is writable there. Follow-up to #417.
fix(skill): write the third-party blocklist in the executor home
fix: custom-tool injection, SOCKS5 open proxy, multipart body cap, example IP
fix(server): cap insert_assets request bodies
# Conflicts: # CHANGELOG.md
…tokens fix(llm): honor max_tokens_field in the connection test
fix(server): do not return database errors from the skill endpoints
chore: migrate log.Printf to log/slog in server management and control
fix(hookvm): charge a ReplaceAll result before building it
build(docker): preinstall pinned python dependencies for agent scripts
fix(agent): cap list tool page sizes
fix(mcp): cap legacy SSE line length
feat(agent): add versioned knowledge pack and knowledge_lookup tool
ListLogs, ListLogsBefore and the two task_relations reads in the task archive code never checked rows.Err(). When a result set fails partway (connection drop, statement timeout), Next returns false and closes the rows, so the later Close returns nil and the caller got a silently truncated list: missing log lines, or an archive whose source tasks are incomplete. Claude-Session: https://claude.ai/code/session_01JNRiKGwr3P1LP1njD8FbR4 Co-authored-by: Claude <[email protected]> Co-authored-by: BaaRai <[email protected]>
…mpty planner context (#585)
…lementing LLM triage (#473)
…vidence-hint fix(compaction,tools): stop forcing thinking=disabled and degrade stale evidence_hint_id
fix(agent): reject tool-call replies in the LLM connection test
feat(agent): deterministic finding fingerprint dedup
fix(goals,planner): enforce structured set_goals and refuse empty planning context
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.