mirror of
https://github.com/lux-apps/papers.git
synced 2026-10-30 18:15:21 +00:00
Every rendered "T-Chain" / "ThresholdVM" / "teleportvm" reference across the paper corpus is rewritten to the correct canonical chain by concern: threshold signing / MPC / bridge custody / key recovery -> M-Chain (MVM); FHE / encrypted compute / threshold decryption -> F-Chain (FVM); teleport / cross-chain messaging -> B-Chain (bridgevm); consensus Pulsar stays Q-Chain. Section lux-trust-kernel/03-t-chain-threshold-governance.tex renamed -> 03-f-chain-encrypted-policy.tex (with \input + xref fixes). Braided "T-Chain" sections split by concern (M vs F). Only lp-020's chain-separation rationale and the shared lux/chains/thresholdvm library path retain the name, to record the removal. All changed papers rebuilt (pdflatex, rc=0, no undefined refs). ยง09 of lux-dao-governance-framework reframed: fabricated "production deployment" metrics ($50M/$240k/$12M, survey %s, "as of Oct 2024") relabeled as illustrative design configurations with no invented replacements; reality noted (DAO treasury is a 1/1 Safe); conclusion echo + one "first production" overclaim softened. This commit also captures concurrent corpus workstreams on the same tree. Co-authored-by: Hanzo Dev <[email protected]>
82 lines
2.3 KiB
TeX
82 lines
2.3 KiB
TeX
\section{Security and Attack Prevention}
|
|
|
|
|
|
\subsection{Governance Attack Vectors}
|
|
|
|
\textbf{Common Attacks}:
|
|
\begin{enumerate}
|
|
\item \textbf{51\% Attack}: Attacker acquires majority voting power
|
|
\item \textbf{Sybil Attack}: Creating multiple fake identities to inflate voting power
|
|
\item \textbf{Bribery Attack}: Paying voters to vote particular way
|
|
\item \textbf{Flash Loan Attack}: Borrowing tokens temporarily to vote
|
|
\item \textbf{Front-Running}: Observing vote outcomes and acting before execution
|
|
\end{enumerate}
|
|
|
|
\subsection{Mitigation Strategies}
|
|
|
|
\textbf{1. Time-Locked Staking}:
|
|
\begin{itemize}
|
|
\item Tokens must be staked for $\geq$ 7 days before gaining voting power
|
|
\item Prevents flash loan attacks
|
|
\item Snapshot voting power at proposal creation block
|
|
\end{itemize}
|
|
|
|
\textbf{2. Quadratic Voting}:
|
|
\begin{itemize}
|
|
\item Cost of $n$ votes: $n^2$ tokens
|
|
\item Reduces whale dominance
|
|
\item Makes vote buying less economically viable
|
|
\end{itemize}
|
|
|
|
\textbf{3. Validator Verification}:
|
|
\begin{itemize}
|
|
\item Validators must prove stake and identity
|
|
\item Enhanced security through validator consensus
|
|
\item Slashing for malicious voting behavior
|
|
\end{itemize}
|
|
|
|
\textbf{4. Proposal Deposits}:
|
|
\begin{itemize}
|
|
\item Proposers stake 100-1000 LUX (refunded if approved)
|
|
\item Prevents spam proposals
|
|
\item Slashed if proposal determined malicious
|
|
\end{itemize}
|
|
|
|
\textbf{5. Emergency Pause}:
|
|
\begin{itemize}
|
|
\item 5-of-7 multisig can pause governance in emergency
|
|
\item Multisig controlled by trusted community members
|
|
\item Transparent 48-hour timelock on pause activation
|
|
\end{itemize}
|
|
|
|
\subsection{Post-Quantum Security}
|
|
|
|
Governance signatures use Quasar dual-certificate system:
|
|
|
|
\begin{lstlisting}[language=Solidity,caption=Quantum-secure governance signature]
|
|
struct GovernanceSignature {
|
|
// Classical security (BLS aggregate)
|
|
bytes48 blsSignature;
|
|
|
|
// Quantum security (Pulsar lattice-based)
|
|
bytes pulsarSignature; // ~2.5KB
|
|
|
|
// Validator index in committee
|
|
uint16 validatorIndex;
|
|
|
|
// Proposal being signed
|
|
uint256 proposalId;
|
|
}
|
|
|
|
function verifyGovernanceVote(
|
|
GovernanceSignature calldata sig
|
|
) external view returns (bool) {
|
|
// Both signatures must verify
|
|
bool classicalValid = verifyBLS(sig);
|
|
bool quantumValid = verifyPulsar(sig);
|
|
|
|
return classicalValid && quantumValid;
|
|
}
|
|
\end{lstlisting}
|
|
|