Blacklight Illuminating AI Agent Artifacts for Attackers and... - #2887
Open
carlospolop wants to merge 1 commit into
Open
carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://specterops.io/blog/2026/08/12/blacklight-ai-agent-endpoint-artifacts Content Categories: Based on the analysis, this content was categorized under "AI > AI Security > AI MCP Security, with cross-references from Generic Methodologies & Resources > Phishing Methodology > AI Agent Abuse Local AI CLI Tools and MCP; proposed subsection: AI Agent Artifact Discovery and Post-Exploitation". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
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.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Classification and impact: Blacklight is an open-source, cross-platform security research toolkit for discovering and analyzing local artifacts created by Codex, Claude Code, Cursor, and Antigravity/Gemini CLI. The project is intended for authorized assessments and is available from GitHub. It is post-compromise discovery and collection tradecraft rather than a CVE disclosure: the article does not identify vulnerable applica...
🔧 Technical Details
Known-root agent discovery: On an already accessed endpoint, enumerate a static catalog of per-user paths for installed AI agents and test only filesystem existence and type. Using platform-specific loaders such as a BOF, dylib, or shared object allows low-noise discovery of active agent roots without reading file contents.
Metadata-first post-exploitation triage: Inspect configuration, rules, authentication-file metadata, indexes, timestamps, sizes, and activity counts before collecting transcripts. Rank credential-related paths first and return a small number of newest, largest, or most recent session candidates. Keep token values, identities, endpoints, and chat text off the wire during initial triage, then require human review before downloading selected files.
Selective offline session mining: Transfer only selected agent files through the C2 channel and recursively parse them offline. A schema-aware parser can reco...
🤖 Agent Actions
Plan:
The repository already has an AI/MCP page and a closely related local-agent-abuse page. I’ll compare those with adjacent AI, phishing, and post-exploitation pages before choosing a single edit location, as required by the non-duplication rule.
The existing
ai-agent-abuse-local-ai-cli-tools-and-mcp.mdpage is the strongest fit: it already documents local agent logs, credential discovery, and MCP trust boundaries. The new value is a post-compromise, metadata-first collection workflow—not another MCP vulnerability—so I’ll place it there rather than creating a CVE/tool-specific page or duplicating it across AI pages. Before editing, I’m finishing the required adjacent-page review and verifying Blacklight’s primary repository.Verification confirms a useful gap: the page only lists two log paths, while Blacklight adds a reproducible four-agent artifact catalog, low-noise metadata triage, schema-aware offline parsing, and OS-specific read-detection boundaries. I’ll add one concise section to that existing page and append the primary GitHub repository before the research blog in its references.
The edit is in place in one file, with the existing references preserved and new sources appended as [14] and [15]. Next I’m checking citation integrity, forbidden-source absence, markdown whitespace, and whether the book build accepts the page.
Updated:
src/generic-methodologies-and-resources/phishing-methodology/ai-agent-abuse-local-ai-cli-tools-and-mcp.mdAdded:
Validation passed for diff formatting, citation integrity, balanced code fences, forbidden sources, and source availability.
mdbook buildcould not run becausemdbookis not installed.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.