record_js_asset
Record a JS asset (script, source map, worker, chunk) found on a target, for the knowledge base.
This record as markdown: /tools/intellirecon-console/record-js-asset.md
What record_js_asset does on Intellirecon Console
AI agents use record_js_asset to create or update resources in Intellirecon Console, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Intellirecon Console environment.
Why record_js_asset is rated Medium
The tool writes/stores data (JS asset metadata) into a knowledge base. It creates or updates a record reversibly. No code is executed, no data is deleted, and no financial transaction occurs. The security context (recon console) raises the severity slightly since the recorded data feeds into attack/vulnerability workflows, but the action itself is a data write.
From the tool's definition Record a JS asset (script, source map, worker, chunk) found on a target, for the knowledge base.
Attacks that exploit this kind of access
The rule that runs record_js_asset safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Intellirecon Console, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For record_js_asset, this is the rule to start with:
record_js_asset stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Intellirecon Console, apply this rule, and every record_js_asset call is checked against it from then on.
Questions about record_js_asset
Record a JS asset (script, source map, worker, chunk) found on a target, for the knowledge base. It is categorised as a Write tool in the Intellirecon Console MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Intellirecon Console MCP server in PolicyLayer and add a rule for record_js_asset: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Intellirecon Console. Nothing to install.
record_js_asset is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the record_js_asset rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for record_js_asset. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
record_js_asset is provided by the Intellirecon Console MCP server (dokotela021/intellirecon-console). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Intellirecon Console, and thousands of servers like it.
This server
Across the catalogue