CSP
Communicating Sequential Processes (CSP) is a formal model of concurrent programming proposed by computer scientist Tony Hoare in 1978. Its core idea is to describe concurrent systems as multiple independent sequential processes that communicate and synchronize through message passing via channels, rather than shared memory. CSP has had a profound influence on both concurrency theory research and the design of practical programming languages such as Go and Erlang.
Core Facts
Go's concurrency model is based on CSP (Communicating Sequential Processes) theory, proposed by computer scientist Tony Hoare in 1978.
CSP (Content Security Policy) is a set of browser security rules delivered by the server via HTTP response headers (such as Content-Security-Policy), used to declare which sources of resources a page is allowed to load, with typical directives including script-src, img-src, connect-src, and frame-ancestors.
Timeline (last 90 days)
CLASP is a decide-then-decode pathology report generator comprising four components: Exemplar Structure Prior (ESP), Calibrated Claim Decision (CCD), Claim-to-Sentence Placement (CSP), and Plan-Conditioned Decoder (PCD).
CSRF is when an attacker induces a logged-in user to unknowingly initiate a request, essentially 'borrowing' the credentials in the user's browser; XSS is injecting malicious scripts into a page, which can directly steal tokens; the two are often exploited in combination, and defense requires multiple measures such as output encoding, CSP, SameSite cookies and CSRF tokens.
A CSP allowlist only validates the source domain of a script, not its content, so an endpoint in the allowlist that can reflect user input can be used to load attacker-controlled JavaScript.
Markdown lacks native security mechanisms like CSP, making isolation at the parsing layer more difficult.
The /api/csp-violation-replay endpoint fetches the target page, extracts the CSP header, meta CSP, Reporting-Endpoints header and report-uri/report-to configuration, and replays four violation scenarios—script_violation, style_violation, connect_violation and img_violation—against each declared endpoint.
There are two CSP reporting mechanisms: the legacy method sends application/csp-report format JSON via the report-uri directive in the CSP header; the new standard declares endpoints via the Reporting-Endpoints header and uses the report-to directive, with reports in application/reports+json format.
Each POST request in the CSP replay probe carries a real application/csp-report payload containing fields such as blockedURL, disposition and effectiveDirective; result classifications include accepted, queued, auth_required, rejected_bad_request, endpoint_missing, rate_limited or fetch_error.
CSP itself is not an absolute guarantee against data leakage; it constrains the page's own resource-loading behavior, not browser extensions or OS-level monitoring.
PasteKit enforces local processing through a strict Content Security Policy (CSP) to prevent data leakage.
In Chromium, a file:// page can use fetch() to read other local files and inherits no CSP.
27 more timeline events
All Facts (20)
Go's concurrency model is based on CSP (Communicating Sequential Processes) theory, proposed by computer scientist Tony Hoare in 1978.
80%VerifiedCSP (Content Security Policy) is a set of browser security rules delivered by the server via HTTP response headers (such as Content-Security-Policy), used to declare which sources of resources a page is allowed to load, with typical directives including script-src, img-src, connect-src, and frame-ancestors.
70%UnverifiedCSP最早由Mozilla在2004年前后提出概念,2012年作为W3C候选推荐标准(CSP Level 1)正式发布
80%UnverifiedGitHub和Twitter等大型网站利用CSP的report-uri/report-to机制收集CSP违规数据用于策略调优
75%UnverifiedCSP (Content Security Policy) is an HTTP security header that defends against cross-site scripting (XSS) and data injection attacks through a whitelist mechanism.
60%UnverifiedGo's concurrency model is based on CSP theory, proposed by Tony Hoare in 1978, with the core idea of coordinating concurrent processes through message passing rather than shared memory.
60%UnverifiedGo adopts the CSP (Communicating Sequential Processes) concurrency model, where goroutines communicate via channel message passing rather than shared memory.
60%UnverifiedCLASP is a decide-then-decode pathology report generator comprising four components: Exemplar Structure Prior (ESP), Calibrated Claim Decision (CCD), Claim-to-Sentence Placement (CSP), and Plan-Conditioned Decoder (PCD).
50%UnverifiedCSRF is when an attacker induces a logged-in user to unknowingly initiate a request, essentially 'borrowing' the credentials in the user's browser; XSS is injecting malicious scripts into a page, which can directly steal tokens; the two are often exploited in combination, and defense requires multiple measures such as output encoding, CSP, SameSite cookies and CSRF tokens.
50%UnverifiedA CSP allowlist only validates the source domain of a script, not its content, so an endpoint in the allowlist that can reflect user input can be used to load attacker-controlled JavaScript.
50%UnverifiedMarkdown lacks native security mechanisms like CSP, making isolation at the parsing layer more difficult.
50%UnverifiedThe /api/csp-violation-replay endpoint fetches the target page, extracts the CSP header, meta CSP, Reporting-Endpoints header and report-uri/report-to configuration, and replays four violation scenarios—script_violation, style_violation, connect_violation and img_violation—against each declared endpoint.
50%UnverifiedEach POST request in the CSP replay probe carries a real application/csp-report payload containing fields such as blockedURL, disposition and effectiveDirective; result classifications include accepted, queued, auth_required, rejected_bad_request, endpoint_missing, rate_limited or fetch_error.
50%UnverifiedThere are two CSP reporting mechanisms: the legacy method sends application/csp-report format JSON via the report-uri directive in the CSP header; the new standard declares endpoints via the Reporting-Endpoints header and uses the report-to directive, with reports in application/reports+json format.
50%UnverifiedCSP itself is not an absolute guarantee against data leakage; it constrains the page's own resource-loading behavior, not browser extensions or OS-level monitoring.
50%UnverifiedPasteKit enforces local processing through a strict Content Security Policy (CSP) to prevent data leakage.
50%UnverifiedThe Reado app defends against similar attacks in the following ways: HTML files open as source code by default, Markdown and notebook output is sanitized via rehype-sanitize, the app's own CSP allows only script-src 'self' and covers Workers, file size does not change the loading method, and local image access is restricted to the opened project.
50%UnverifiedIn Chromium, a file:// page can use fetch() to read other local files and inherits no CSP.
50%UnverifiedSanitizers are not a panacea and still need to be paired with the app's own strict CSP as defense in depth, because sanitizer rule libraries may have gaps while CSP is enforced by the browser, making the two complementary.
50%UnverifiedCSP only takes effect on documents loaded via HTTP(S) or data: URLs, and local files loaded via the file:// protocol inherit no CSP by default.
50%