{"uid":"cap_ymI0YIoGuZp7O7rHbpYOw","slug":"code-snippets-invisible-character-flags-50dc0e7f","name":"Code Snippets — Invisible Character Flags","description":"Code snippets — Invisible character flags: Invisible character flags for Code snippets. One public HTTPS page or supplied HTML; static parsing, no JavaScript rendering, login or access bypass. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded invisible character flags result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-code-unicode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","default":"","maxLength":2048},"html":{"type":"string","default":"<!doctype html><html><head></head><body><code id=\"sample\" data-kind=\"example\">Example product guide</code></body></html>","maxLength":100000},"term":{"type":"string","default":"product","maxLength":100,"minLength":1},"attribute":{"type":"string","default":"id","pattern":"^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$","maxLength":50},"previous_texts":{"type":"array","items":{"type":"string","default":"","maxLength":1000},"default":["Older example"],"maxItems":200,"minItems":0},"attribute_value":{"type":"string","default":"sample","maxLength":200}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ANF_LtdOYYmscfF1D4Z4l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans a webpage or HTML snippet containing code elements and detects invisible/hidden Unicode characters within them","exampleAgentPrompt":"Can you scan the code snippets on https://docs.example.com/api-guide and flag any invisible or hidden Unicode characters in the code block with id 'main-example' — I want to know if there's anything non-printable lurking in those examples?","exampleUseCases":[{"title":"Security audit of documentation code blocks","prompt":"Check the code examples on https://lib.myframework.io/docs/quickstart for any invisible Unicode characters in the code block with attribute 'data-kind' set to 'snippet' — I'm worried someone may have injected hidden characters that could break copy-pasted code."},{"title":"Copy-paste integrity check for developer guides","prompt":"Scan this HTML for invisible character issues in the code element with id 'sample': <!doctype html><html><body><code id=\"sample\">npm install mypackage --save</code></body></html> — I want to make sure that install command doesn't have any hidden Unicode that would cause it to fail when users copy it."},{"title":"Detecting Unicode obfuscation in open-source code snippets","prompt":"Analyze the code blocks on https://github.com/someorg/somerepo/blob/main/README.md for any invisible or non-printing Unicode characters in elements related to the term 'example' — I need to verify nothing suspicious was injected in the displayed code."}],"resultDescription":"Returns a bounded result indicating whether invisible or non-printable Unicode characters were detected within code snippet elements matching the specified attribute and term on the provided page or HTML. Includes flagged character positions or types found within the matched code block.","failureModes":["URL is unreachable or returns a non-200 status — endpoint cannot fetch or parse the page","HTML does not contain a code element matching the specified attribute and attribute value — no result returned","Page requires JavaScript rendering to display code blocks — static parser will miss dynamically injected content","Invisible characters are encoded in a way not covered by the 50-profile engine — may produce false negatives","HTML input exceeds 100,000 character limit — request rejected","term parameter is empty or missing — validation error"],"whenToPreferThis":"Choose this endpoint when you need to specifically detect invisible or hidden Unicode characters embedded within code snippet elements on a static HTML page or supplied HTML fragment. It is ideal for security audits of developer documentation, verifying copy-paste safety of code examples, or detecting Unicode-based obfuscation attacks targeting code blocks. It is not suited for full JavaScript-rendered pages, general text content outside of code elements, or broad Unicode normalization tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:37.168Z","isFirstParty":false,"canonicalSlug":"code-snippets-invisible-character-flags-50dc0e7f"}