[KongchangAI]
ConceptCommunicating Sequential Processes / CSP并发模型

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

Timeline (last 90 days)

Nov 24

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).

Unverified50%
Nov 2

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.

Unverified50%
Nov 1

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.

Unverified50%
Oct 28

Markdown lacks native security mechanisms like CSP, making isolation at the parsing layer more difficult.

Unverified50%
Oct 18

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.

Unverified50%
Oct 18

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.

Unverified50%
Oct 18

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.

Unverified50%
Oct 18

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.

Unverified50%
Oct 18

PasteKit enforces local processing through a strict Content Security Policy (CSP) to prevent data leakage.

Unverified50%
Oct 18

In Chromium, a file:// page can use fetch() to read other local files and inherits no CSP.

Unverified50%

27 more timeline events

All Facts (20)

Verified

Go's concurrency model is based on CSP (Communicating Sequential Processes) theory, proposed by computer scientist Tony Hoare in 1978.

80%
Verified

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.

70%
Unverified

CSP最早由Mozilla在2004年前后提出概念,2012年作为W3C候选推荐标准(CSP Level 1)正式发布

80%
Unverified

GitHub和Twitter等大型网站利用CSP的report-uri/report-to机制收集CSP违规数据用于策略调优

75%
Unverified

CSP (Content Security Policy) is an HTTP security header that defends against cross-site scripting (XSS) and data injection attacks through a whitelist mechanism.

60%
Unverified

Go'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%
Unverified

Go adopts the CSP (Communicating Sequential Processes) concurrency model, where goroutines communicate via channel message passing rather than shared memory.

60%
Unverified

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).

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

Markdown lacks native security mechanisms like CSP, making isolation at the parsing layer more difficult.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

PasteKit enforces local processing through a strict Content Security Policy (CSP) to prevent data leakage.

50%
Unverified

The 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%
Unverified

In Chromium, a file:// page can use fetch() to read other local files and inherits no CSP.

50%
Unverified

Sanitizers 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%
Unverified

CSP 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%

Source Articles